Opened 18 years ago
Closed 18 years ago
#1909 closed enhancement (duplicate)
Allow ColorScale to use float values as well as integer
Reported by: | Owned by: | mapserverbugs | |
---|---|---|---|
Priority: | high | Milestone: | |
Component: | OGR Support | Version: | 4.8 |
Severity: | minor | Keywords: | |
Cc: |
Description
This is a simplistic hack to extend the SLD ColorScale rendering from integer(atoi) to integer and float (atof) by detecting a period in the string value. This may need to be reworked to better support the programming style or expanded to other sections of the SLD. The standard suggests that it supports doubles for input, but when you use Mapserver or Mapscript/PHP and dump the rendered MAPFILE, floats are rounded to integers. URL to patch against 4.8.3 is there. I checked CVS for version 4.10 to see if it was caught and that section still remains the same.
Note:
See TracTickets
for help on using tickets.