Wow.. That's *really* surprising.. I thought this was the most common use case of all - aren't virtually ALL satellite images a little rotated? Ah, this SLD spec.....
But let's talk about the workarounds then. Is it fairly easy to build a single-image mosaic out of a GridCoverageReader or something of the like? Could you point me to the best reference around for image mosaics? Thanks for all Milton Andrea Aime wrote: > Milton Jonathan ha scritto: >> Hello >> >> This is probably a stupid question but.. how does one set a >> "transparency color" for a RasterSymbolizer? What I mean is to define >> a specific color to be transparent (as we do in everyday image editing >> tools), so that the background of rotated satellite images doesn't >> show on the map. >> >> The important thing here is that the raster may have more than 1 band >> or channel (e.g., 3 RGB bands, or n bands with a ChannelSelection to >> choose which ones will be represented as RGB). For images with a >> single gray channel, it looks as if I could achieve this result by >> setting an opacity value for a specific entry in a ColorMap. However, >> how do I specify a ColorMapEntry whose quantity is a combination of >> the 3 bands? (e.g., yellow should be transparent) > > As far as I know the SLD spec simply forgot to cover this use case > (among others). So... right now there is no way. > > An existing workaround is to setup an output transparent color for > mosaics, that work, but it's a mosaic construction time parameter. > Of course you can always make a singe tile mosaic. > Would be nice to have the same parameter in other coverage stores > as well, thought having a way in SLD would be more general and > more flexible I guess. > > In any case, work needs to be done to get there > > Cheers > Andrea > > -- Milton Jonathan Grupo GIS e Meio Ambiente Tecgraf/PUC-Rio Tel: +55-21-3527-2502 ------------------------------------------------------------------------------ Join us December 9, 2009 for the Red Hat Virtual Experience, a free event focused on virtualization and cloud computing. Attend in-depth sessions from your desk. Your couch. Anywhere. http://p.sf.net/sfu/redhat-sfdev2dev _______________________________________________ Geotools-gt2-users mailing list Geotools-gt2-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users