Thanks, it worked!
Now I'm trying to solve the same problem on png output,
if a request is outside the extent it will return a trasparent png, and
that is ok,
when I request a tile that is half-in and half-out the extent, the
half-out part
should be transparent instead of white.
Any suggestion on how to solve this?
Daniele
On 27. 12. 12 12:03, thomas bonfort wrote:
imageio_jpeg.c, around line 200: also extract alpha along with
red,green,blue. if alpha=0, set pixptrs to 255 instead of *r,*g,*b.
--
thomas
On Thu, Dec 27, 2012 at 11:36 AM, Daniele Debernardi
<[email protected] <mailto:[email protected]>> wrote:
Hi,
I tried with your suggestion to use a mixed image format but with
unsuccessful results.
For my case I just need to force that black background color to
white, is there anyplace in
mapcache code where I can change it?
Any suggestion on which part of the code I have to look would be
enough.
Thanks,
Daniele
On 19. 12. 12 12:47, thomas bonfort wrote:
Daniele,
The background color isn't configurable, although that could
become a configurable option with a bit of funding. Your other
option might be to use a "mixed" image format, which will use
JPEG compression for complete tiles, and png with a transparent
background for tiles that are half-in/half-out.
regards,
thomas
On Wed, Dec 19, 2012 at 12:26 PM, Daniele Debernardi
<[email protected] <mailto:[email protected]>> wrote:
Hi,
there is a possibility to change the background color of the
area outside of the extent of the cache
when the tile is merged toghether?
example:
when i request a tile with an extent that is half outsite the
map extent and half inside, mapcache generates
a tile with the half outsite of the map with black background
and i would like to change it to white.
Thanks in advance
_______________________________________________
mapserver-users mailing list
[email protected]
<mailto:[email protected]>
http://lists.osgeo.org/mailman/listinfo/mapserver-users
_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users