I have created a set of image mosaics in GeoServer 1.7.7 (using the GDAL method). The resulting layers are superimposed for viweing at different scales. In the WMS call, the layers are ordered with the most general at the bottom and the most detailed on top.
Generally this works OK after I have set OutputTransparentColor and InputTransparentColor for the "upper" layers (since these do not cover the entire map extent, in general each layer covers less area than the next below). But, I run into problems with an intermediate layer where there is no data. If the GetMap request is for an extent where the intermediate layer GEM:SjokortSkar has data for at least a part, everything works fine. As soon as I issue a GetMap for and area where this layer has no data, I get a black image for GEM:SjokortSkar. Using Format=application/openlayers I can click the map and get some feature info. When there is partial cover for this layer I get PALETTE_INDEX 0.0 for the area where there is data and GRAY_INDEX 0.0 UNDEFINED 255.0 where there is no data. On a map image where there is no data for this layer I get GRAY_INDEX 0.0 UNDEFINED 255.0 So, I guess the question is, how do I make GRAY_INDEX 0 transparent alongside PALETTE_INDEX 0? -- mogul | nils weinander | hudiksvallsgatan 4 113 30 stockholm sweden | +46 8 4100 6456 | +46 709 78 28 37 | [email protected] | skype: nils.weinander | www.mogul.com ------------------------------------------------------------------------------ Nokia and AT&T present the 2010 Calling All Innovators-North America contest Create new apps & games for the Nokia N8 for consumers in U.S. and Canada $10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store http://p.sf.net/sfu/nokia-dev2dev _______________________________________________ Geoserver-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/geoserver-users
