<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
</head>
<body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; color: rgb(0, 0, 0); font-size: 14px; font-family: Calibri, sans-serif; ">
<div>John,</div>
<div><br>
</div>
<div>I got a larger color range by using multiple classes</div>
<div><br>
</div>
<div>
<div>LAYER</div>
<div>&nbsp; NAME &quot;hillshade&quot;</div>
<div>&nbsp;&nbsp;TYPE raster</div>
<div>&nbsp; TILEINDEX &quot;/benchmarking/wms/2011/data/raster/DEM/bil_16int/dem_bil16int.shp&quot;</div>
<div>&nbsp; PROCESSING &quot;CLOSE_CONNECTION=DEFER&quot;</div>
<div>&nbsp; PROJECTION</div>
<div>&nbsp; &nbsp; &nbsp; &nbsp;&quot;&#43;init=epsg:4326&quot;</div>
<div>&nbsp; END</div>
<div>&nbsp; CLASS</div>
<div>&nbsp; &nbsp; STYLE</div>
<div>&nbsp; &nbsp; &nbsp; COLORRANGE &nbsp;46 154 88 251 255 128&nbsp;</div>
<div>&nbsp; &nbsp; &nbsp; DATARANGE &nbsp; 1003 1800</div>
<div>&nbsp; &nbsp; END</div>
<div>&nbsp; END</div>
<div>&nbsp; CLASS</div>
<div>&nbsp; &nbsp; STYLE</div>
<div>&nbsp; &nbsp; &nbsp; COLORRANGE &nbsp;251 255 128 224 108 31</div>
<div>&nbsp; &nbsp; &nbsp; DATARANGE &nbsp; 1800 2800</div>
<div>&nbsp; &nbsp; END</div>
<div>&nbsp; END</div>
<div>&nbsp;CLASS</div>
<div>&nbsp; &nbsp; STYLE</div>
<div>&nbsp; &nbsp; &nbsp; COLORRANGE &nbsp; 224 108 31 &nbsp;200 55 55</div>
<div>&nbsp; &nbsp; &nbsp; DATARANGE &nbsp; &nbsp;2800 3500</div>
<div>&nbsp; &nbsp; END</div>
<div>&nbsp; END</div>
<div>&nbsp; CLASS</div>
<div>&nbsp; &nbsp; STYLE</div>
<div>&nbsp; &nbsp; &nbsp; COLORRANGE &nbsp;200 55 55 &nbsp;215 244 244</div>
<div>&nbsp; &nbsp; &nbsp; DATARANGE &nbsp; 3500 4397</div>
<div>&nbsp; &nbsp; END</div>
<div>&nbsp; END</div>
<div>END</div>
</div>
<div><br>
</div>
<div><br>
</div>
<span id="OLK_SRC_BODY_SECTION">
<div style="font-family:Calibri; font-size:11pt; text-align:left; color:black; BORDER-BOTTOM: medium none; BORDER-LEFT: medium none; PADDING-BOTTOM: 0in; PADDING-LEFT: 0in; PADDING-RIGHT: 0in; BORDER-TOP: #b5c4df 1pt solid; BORDER-RIGHT: medium none; PADDING-TOP: 3pt">
<span style="font-weight:bold">From: </span>John Callahan &lt;<a href="mailto:john.callahan@udel.edu">john.callahan@udel.edu</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Mon, 17 Oct 2011 14:54:13 -0400<br>
<span style="font-weight:bold">To: </span>&quot;<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&quot; &lt;<a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>Re: [mapserver-users] gradient display of raster DEM data<br>
</div>
<div><br>
</div>
Thanks for all your responses. &nbsp;I have COLORRANGE / DATARANGE working fine in my map file. Works very well. &nbsp;I'm also looking at using gdaldem for a more custom color scale. &nbsp;Thanks again.
<div><br clear="all">
<div>- John</div>
<div><br>
</div>
***********************************************<br>
John Callahan, Research Scientist<br>
Delaware Geological Survey, University of Delaware<br>
URL: <a href="http://www.dgs.udel.edu" target="_blank">http://www.dgs.udel.edu</a><br>
*************************************************<br>
<br>
<br>
<br>
<div class="gmail_quote">On Fri, Oct 14, 2011 at 5:49 PM, Smith, Michael ERDC-CRREL-NH
<span dir="ltr">&lt;<a href="mailto:Michael.Smith@usace.army.mil">Michael.Smith@usace.army.mil</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div style="word-wrap:break-word;color:rgb(0, 0, 0);font-size:14px;font-family:Calibri, sans-serif">
<div>John</div>
<div><br>
</div>
<div>The DATARANGE / COLORRANGE keywords will be fully documented by 6.2 but they have been present in MapServer for years (since 4.6 or so).&nbsp;</div>
<div><br>
</div>
<div>We used DATARANGE / COLORRANGE for dem display in this years FOSS4G WMS Benchmarking effort.</div>
<div><br>
</div>
<div>Mike</div>
<div><br>
</div>
<div>
<div>
<div>
<div>--&nbsp;</div>
<div>Michael Smith</div>
</div>
<div>US Army Corps</div>
<div>Remote Sensing GIS/Center</div>
</div>
</div>
<div><br>
</div>
<span>
<div style="font-family:Calibri;font-size:11pt;text-align:left;color:black;border-bottom:medium none;border-left:medium none;padding-bottom:0in;padding-left:0in;padding-right:0in;border-top:#b5c4df 1pt solid;border-right:medium none;padding-top:3pt">
<span style="font-weight:bold">From: </span>John Callahan &lt;<a href="mailto:john.callahan@udel.edu" target="_blank">john.callahan@udel.edu</a>&gt;<br>
<span style="font-weight:bold">Date: </span>Fri, 14 Oct 2011 16:55:59 -0400
<div class="im"><br>
<span style="font-weight:bold">To: </span>&lt;<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>&gt;<br>
<span style="font-weight:bold">Subject: </span>[mapserver-users] gradient display of raster DEM data<br>
</div>
</div>
<div>
<div></div>
<div class="h5">
<div><br>
</div>
I know this has been asked before but I thought I'd ask to see if anything changed.
<div><br>
</div>
<div>I'm looking to display a raster digital elevation model in mapserver. &nbsp;My data is in flat files, img and tiff. &nbsp;I'd like to display this data as a continuous gradient color range, rather than using CLASS categories/bins for specific colors. &nbsp;Is it still
 tru ethat this is not possible, easily?</div>
<div><br>
</div>
<div>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. &nbsp;This seems like the best option but is non-trivial to someone who hasn't done this before. &nbsp;(though
 not terribly difficult.)</div>
<div><br>
</div>
<div>I also read about the use of DATARANGE and COLORRANGE in mapserver. &nbsp;However, these are not in the documentation. &nbsp;Are these available in trunk only? &nbsp;A ticket was generated that seems to say this will be included with MS 6.2. &nbsp;(<a href="http://trac.osgeo.org/mapserver/ticket/1305" target="_blank">http://trac.osgeo.org/mapserver/ticket/1305</a>)
 &nbsp;Any insight on whether this is still the plan?</div>
<div><br>
</div>
<div><br>
</div>
<div>Thanks for your help and advice.<br>
<div><br clear="all">
<div>- John</div>
<div><br>
</div>
***********************************************<br>
John Callahan, Research Scientist<br>
Delaware Geological Survey, University of Delaware<br>
URL: <a href="http://www.dgs.udel.edu" target="_blank">http://www.dgs.udel.edu</a><br>
*************************************************<br>
<br>
</div>
</div>
</div>
</div>
<div class="im">_______________________________________________ mapserver-users mailing list
<a href="mailto:mapserver-users@lists.osgeo.org" target="_blank">mapserver-users@lists.osgeo.org</a>
<a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users" target="_blank">
http://lists.osgeo.org/mailman/listinfo/mapserver-users</a> </div>
</span></div>
</blockquote>
</div>
<br>
</div>
_______________________________________________ mapserver-users mailing list <a href="mailto:mapserver-users@lists.osgeo.org">
mapserver-users@lists.osgeo.org</a> <a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">
http://lists.osgeo.org/mailman/listinfo/mapserver-users</a> </span>
</body>
</html>