colorrange and point?
John Smith
jayzee.smith at GMAIL.COM
Fri Sep 7 07:43:30 PDT 2007
greg,
there's some discussion on this in our archives
http://www.nabble.com/-UMN_MAPSERVER-USERS--Wishing-we-had-COLORRAMPs-or-something-tf108736.html#a299945
http://www.nabble.com/Re%3A--UMN_MAPSERVER-DEV--Proposed-RFC-on-COLORRAMP-Support-(Bug-13-05)-tf351032.html#a975705
jzs
> Gregor Mosheh-3 Sep 07, 2007; 10:19am
Hey, neat colorrange. I see this in the source for 4.10 and 5.0, but
don't see it in the documentation. Has Mapserver secretly supported
automagically pulling colors from a range based on data?
If so,
a) Is a linear equal-interval method used for picking the color? Just a
linear interpolation of the value versus range to pick the color from
colorrange?
b) Does it support quantile selection as well, weighting the color based
on the frequency of the values in the dataset?
c) Should I open a documentation bug, since this isn't mentioned?
--
Gregor Mosheh / Greg Allensworth
System Administrator, HostGIS cartographic development & hosting services
http://www.HostGIS.com/
"Remember that no one cares if you can back up,
only if you can restore." - AMANDA
On 9/7/07, John Smith <jayzee.smith at gmail.com> wrote:
> using
>
> MapServer version 4.8.3 OUTPUT=GIF OUTPUT=PNG OUTPUT=JPEG OUTPUT=WBMP
> OUTPUT=PDF OUTPUT=SWF OUTPUT=SVG SUPPORTS=PROJ SUPPORTS=FREETYPE
> SUPPORTS
> =WMS_SERVER SUPPORTS=WMS_CLIENT SUPPORTS=WFS_SERVER
> SUPPORTS=WFS_CLIENT SUPPORTS=WCS_SERVER SUPPORTS=THREADS SUPPORTS=GEOS
> INPUT=JPEG INPUT=POS
> TGIS INPUT=OGR INPUT=GDAL INPUT=SHAPEFILE DEBUG=MSDEBUG
>
> On 9/6/07, John Smith <jayzee.smith at gmail.com> wrote:
> > guys,
> > does colorrange not work with point layers?
> >
> > LAYER
> > NAME "US"
> > STATUS default
> > TYPE point
> > ...
> > CLASS
> > NAME "US"
> > COLOR 255 255 255
> > OUTLINECOLOR 0 0 0
> > STYLE
> > COLORRANGE 255 0 0 0 0 255
> > OUTLINECOLOR 0 0 0
> > DATARANGE 100 1000
> > RANGEITEM "COUNT"
> > SYMBOL "circle"
> > SIZE 5
> > END
> > END
> > ...
> > END
> >
> > cheers, jzs
More information about the MapServer-users
mailing list