Francesco Izzi created GEOT-4109:
------------------------------------

             Summary: SLDTransformer generate an invalid exended colorMap 
attribute
                 Key: GEOT-4109
                 URL: https://jira.codehaus.org/browse/GEOT-4109
             Project: GeoTools
          Issue Type: Bug
          Components: main
    Affects Versions: 8.0-M4
            Reporter: Francesco Izzi
            Assignee: Jody Garnett
         Attachments: patch-gt-main.txt

In find this in SLDTransformer at line 528

if(colorMap.getExtendedColors()) {
 atts.addAttribute("", "extended", "extended", "", typeString);
}

That generate an invalid exended colorMap attribute returning a String instead 
of a boolean value.

<sld:ColorMap extended="ramp"> (this is an issue example) 

the code fix:

boolean extended = colorMap.getExtendedColors();
if(extended) {
   atts.addAttribute("", "extended", "extended", "", ""+extended);
}




--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators: 
https://jira.codehaus.org/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second 
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
GeoTools-Devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to