Thanks for your help.

I've try this, but I still get white pixel (RGB=FFFFFF, Alpha=FF) instead of 
transparent pixels (RGB=xxxxxx, Alpha = 0)

Do you know how to get RGBA transparent pixels ?

De : [email protected] [mailto:[email protected]] De la part de Andrea 
Aime
Envoyé : jeudi 23 juin 2011 16:34
À : ALBERT Aurélien
Cc : [email protected]
Objet : Re: [Geoserver-users] Use transparent color where there is no data

On Thu, Jun 23, 2011 at 4:05 PM, ALBERT Aurélien 
<[email protected]<mailto:[email protected]>> wrote:
Hi,

I use GeoServer with some GeoTiff data files.

My set of GeoTiff data files covers a limited area (for example a BBox(-2, -2, 
+2, +2))

Is it possible to get PNG files from WMS GeoServer service with transparent 
color where there is no data available (ie outside my BBox) ?

For example :

- if I request for a PNG file with BBox(+5, +5, +8, +8) => I want to get a 
fully transparent PNG file
- if I request for a PNG file with BBox(0, 0, +4, +4) => I want to get a PNG 
file with data in the area (0, 0, +2, +2) and transparent anywhere else

At the moment that functionality is available only in the image mosaic plugin.
You can put your geotiff in a folder and point the mosaic plugin at that 
folder... it's overkill but it
should give you the functionality you need.

Cheers
Andrea

--
-------------------------------------------------------
Ing. Andrea Aime
GeoSolutions S.A.S.
Tech lead

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584 962313
fax:      +39 0584 962313

http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.youtube.com/user/GeoSolutionsIT
http://www.linkedin.com/in/andreaaime
http://twitter.com/geowolf

-------------------------------------------------------
------------------------------------------------------------------------------
Simplify data backup and recovery for your virtual environment with vRanger.
Installation's a snap, and flexible recovery options mean your data is safe,
secure and there when you need it. Data protection magic?
Nope - It's vRanger. Get your free trial download today.
http://p.sf.net/sfu/quest-sfdev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to