Default fill parameters use Color object instead of hex string
--------------------------------------------------------------

                 Key: GEOT-3036
                 URL: http://jira.codehaus.org/browse/GEOT-3036
             Project: GeoTools
          Issue Type: Bug
          Components: core styling
    Affects Versions: 2.6.3
            Reporter: David Winslow
            Priority: Minor
         Attachments: color.patch

GeoTools seems to be creating SLD objects using Color values in literals 
instead of hex strings.  As far as I can tell, the rendering pipeline doesn't 
mind this, but it shows up when serializing a fill with the default color 
(something easy to do in the GeoServer CSS module).

This issue is much less prominent since Andrea's patch to omit default values 
from serialized colors, but it still shows up in that a Fill whose color is 
properly set to the string "#000000" will NOT be omitted from the SLD output.

A patch is attached.

-- 
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

        

------------------------------------------------------------------------------
Download Intel® Parallel Studio Eval
Try the new software tools for yourself. Speed compiling, find bugs
proactively, and fine-tune applications for parallel performance.
See why Intel Parallel Studio got high marks during beta.
http://p.sf.net/sfu/intel-sw-dev
_______________________________________________
Geotools-devel mailing list
Geotools-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to