[mapserver-users] question on Request For Comment #6

Mark Volz MarkVolz at co.lyon.mn.us
Tue Jul 2 11:18:58 PDT 2013


Steve,

Thanks for your help.  I was quite surprised at how quickly MapServer can draw the color ramps from a DEM.


For others,

Here is a MapServer code snippet for using color ramps:

  CLASS
    EXPRESSION ([pixel] >= 1621 AND [pixel] < 1670)
    STYLE
      COLORRANGE 0 0 0 255 255 0
      DATARANGE 1621 1670
      RANGEITEM "pixel"
    END #end style
  END #end class
  CLASS
    EXPRESSION ([pixel] >= 1670 AND [pixel] < 1713)
    STYLE
      COLORRANGE 255 255 0 0 0 255
      DATARANGE 1670 1713
      RANGEITEM "pixel"
    END #end style
  END #end class


Mark Volz, GISP
GIS Specialist


> -----Original Message-----
> From: Lime, Steve D (MNIT) [mailto:Steve.Lime at state.mn.us]
> Sent: Monday, July 01, 2013 3:52 PM
> To: Mark Volz; mapserver-users at lists.osgeo.org
> Subject: RE: question on Request For Comment #6
> 
> The support (I believe) as described initially in the RFC does exist within
> MapServer. It's not been formally documented/acknowledged because I
> think there are some improvements that could be made to this initial
> implementation. You might have some success with that in the interim. I do
> hope a more complete (and documented) implementation could be available
> as part of MapServer 7.0.
> 
> Steve
> 
> -----Original Message-----
> From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-
> bounces at lists.osgeo.org] On Behalf Of Mark Volz
> Sent: Monday, July 01, 2013 12:51 PM
> To: mapserver-users at lists.osgeo.org
> Subject: [mapserver-users] question on Request For Comment #6
> 
> Hello,
> 
> Has anything ever happened with RFC #6, or did this one stall out?  The color
> range mapping could be useful in a couple of my applications.
> 
> Thanks
> 
> Mark Volz, GISP
> GIS Specialist
> 
> 
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
> 



More information about the mapserver-users mailing list