Add an extra parameter to allow using minimal palettes when there is translucent symbolizers and the user can guarantee features do not overlap
-----------------------------------------------------------------------------------------------------------------------------------------------
Key: GEOS-1316
URL: http://jira.codehaus.org/browse/GEOS-1316
Project: GeoServer
Issue Type: Bug
Components: WMS
Affects Versions: 1.6.0-beta2
Reporter: Andrea Aime
Assignee: Andrea Aime
Priority: Minor
Fix For: 1.6.x
Currently adding "format_options=antialias:none" allows GeoServer to inspect the SLD and try to figure out an optimal palette from it. This algorithm is both fast, accurate and ensures minimal palette size (thus the eventual use of png with 1, 2 or 4 bits per pixel), but also gives up if there is a single symbolizer using translucency (opaque < 1).
This is because if features do overlap translucency generates new colors that weren't declared in the SLD.
If the user can guarantee, by providing an extra parameter, that no overlap occurs in features, then we could keep fast and small pngs even with translucent colors. The request could look like "http://…&request=GetMap&...&format_options=antialias:none,overlap:none"
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira