[mapserver-users] gradient display of raster DEM data

Fawcett, David (MPCA) David.Fawcett at state.mn.us
Fri Oct 14 17:01:40 EDT 2011


John,

Take a look at the gdaldem utility.  http://www.gdal.org/gdaldem.html

You likely already have it on your machine already.

Aside from being able to generate data products like slope grids, it can produce hillshade images or color relief maps.

David.

From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of John Callahan
Sent: Friday, October 14, 2011 3:56 PM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] gradient display of raster DEM data

I know this has been asked before but I thought I'd ask to see if anything changed.

I'm looking to display a raster digital elevation model in mapserver.  My data is in flat files, img and tiff.  I'd like to display this data as a continuous gradient color range, rather than using CLASS categories/bins for specific colors.  Is it still tru ethat this is not possible, easily?

One method (passed to me on this list) was too generate the colored image I want in another program, using GMT or similar tool, then use that in mapserver.  This seems like the best option but is non-trivial to someone who hasn't done this before.  (though not terribly difficult.)

I also read about the use of DATARANGE and COLORRANGE in mapserver.  However, these are not in the documentation.  Are these available in trunk only?  A ticket was generated that seems to say this will be included with MS 6.2.  (http://trac.osgeo.org/mapserver/ticket/1305)  Any insight on whether this is still the plan?


Thanks for your help and advice.

- John

***********************************************
John Callahan, Research Scientist
Delaware Geological Survey, University of Delaware
URL: http://www.dgs.udel.edu
*************************************************
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20111014/0a3cafb4/attachment-0001.html


More information about the mapserver-users mailing list