<pre>Hi,<br><br>I am trying to display a DEM which is in geotiff format (gdalinfo listing below) within MapServer (mapfile layer <br>listing below) and the image is all white. <br>When trying to display this same image within the desktop application called "global mapper" it first asks
<br>whether you want to display this data as an image or as a DEM. If select as an image then is displays an image <br>that is all the same color similar to mapserver and if select as a DEM then it displays a color coded elevated image.
<br>Is their a way to display a DEM within mapserver that displays the elevated image instead of the all white image <br>that I am currently displaying? <br><br>Thanks,<br><br>John J. Mitchell<br><br>-----------------------------------------------------------------------
<br>MAP<br><br> # all temp files get prefixed with this string<br> NAME All_Raster_Layers_ignore<br><br> # always returns a map<br> STATUS ON<br><br> # image format options<br> OUTPUTFORMAT<br> NAME png<br> DRIVER "GD/PNG"
<br> MIMETYPE "image/png"<br> IMAGEMODE RGB<br> EXTENSION "png"<br> END<br><br> # projection of the INTERFACE that this mapfile supports<br> PROJECTION<br> "init=epsg:4326"<br> END<br>
<br> # minx miny maxx maxy<br> EXTENT -180 -90 180 90 # World<br><br> # units of map/app<br> UNITS DD<br><br> WEB<br> # this is set in the form which initializes the page, but can be set here if you want<br> IMAGEPATH "/ms4w/tmp/ms_tmp/"
<br><br> # this is set in the form which initializes the page, but can be set here if you want<br> IMAGEURL "/ms_tmp/"<br> END<br><br> # start of layer definitions<br><br> LAYER<br> # name of layer<br> NAME Columbia_1000000012_utm_19_fullResolution_ignore
<br> GROUP "Columbia_1000000012_utm_19"<br><br> PROJECTION<br> "init=epsg:32619"<br> END<br><br> TYPE RASTER<br> STATUS ON <br> TILEINDEX "Z:\GlobalView\NGA\Columbia\1000000012\utm_19\fullResolution.shp"
<br> TILEITEM "Location"<br># OFFSITE 0 0 0<br> MAXSCALE 10000<br> END<br><br> <br>-----------------------------------------------------------------------
<br>Driver: GTiff/GeoTIFF<br>Size is 2792, 2794<br>Coordinate System is:<br>PROJCS["WGS 84 / UTM zone 19N",<br> GEOGCS["WGS 84",<br> DATUM["WGS_1984",<br> SPHEROID["WGS 84",6378137,
298.2572235630016,<br> AUTHORITY["EPSG","7030"]],<br> AUTHORITY["EPSG","6326"]],<br> PRIMEM["Greenwich",0],<br> UNIT["degree",
0.0174532925199433],<br> AUTHORITY["EPSG","4326"]],<br> PROJECTION["Transverse_Mercator"],<br> PARAMETER["latitude_of_origin",0],<br> PARAMETER["central_meridian",-69],
<br> PARAMETER["scale_factor",0.9996],<br> PARAMETER["false_easting",500000],<br> PARAMETER["false_northing",0],<br> UNIT["metre",1,<br> AUTHORITY["EPSG","9001"]],
<br> AUTHORITY["EPSG","32619"]]<br>Origin = (168297.500000000000000,761002.500000000000000)<br>Pixel Size = (5.000000000000000,-5.000000000000000)<br>Metadata:<br> AREA_OR_POINT=Area<br>Corner Coordinates:
<br>Upper Left ( 168297.500, 761002.500) ( 72d 0'3.71"W, 6d52'31.02"N)<br>Lower Left ( 168297.500, 747032.500) ( 72d 0'0.88"W, 6d44'56.70"N)<br>Upper Right ( 182257.500, 761002.500
) ( 71d52'29.42"W, 6d52'33.81"N)<br>Lower Right ( 182257.500, 747032.500) ( 71d52'26.72"W, 6d44'59.44"N)<br>Center ( 175277.500, 754017.500) ( 71d56'15.18"W, 6d48'
45.26"N)<br>Band 1 Block=256x256 Type=Float32, ColorInterp=Gray<br> Minimum=238.364, Maximum=1652.747, Mean=684.315, StdDev=268.118<br> Metadata:<br> STATISTICS_MINIMUM=238.36408996582<br> STATISTICS_MAXIMUM=
1652.7473144531<br> STATISTICS_MEAN=684.31510635898<br> STATISTICS_MEDIAN=628.00527274609<br> STATISTICS_MODE=506.19808101654<br> STATISTICS_STDDEV=268.11784359311<br> STATISTICS_HISTONUMBINS=256<br> STATISTICS_HISTOMIN=
240.4369354248<br> STATISTICS_HISTOMAX=1657.8297119141<br> LAYER_TYPE=athematic<br> STATISTICS_HISTOBINVALUES=5200|20332|20380|24760|23240|16028|7444|4828|4632|7912|18480|38392|44548|44292|52980|55312|53024|60224|56604|51976|49164|50864|45892|47932|47932|48004|45888|46656|49592|50648|49180|51948|53668|53692|51920|54680|59528|65148|73368|85132|88648|79764|73992|73216|72108|74412|76488|99608|103600|95308|78448|73684|68140|70020|72932|75032|79512|82636|83640|77584|75844|77228|66504|59480|58160|55356|55064|54572|53656|52912|51696|51936|52816|52924|53996|52560|52192|51984|51144|50164|48892|48960|49412|49352|48220|49576|50632|49420|48748|48368|46484|47664|46132|47004|46636|45124|43416|41900|40692|40824|39976|40188|41860|40652|40368|39692|39740|40220|38624|37064|37240|37096|37844|39032|39880|40800|40172|38876|37964|39788|38152|37716|37064|34944|34712|33448|33896|33800|33420|33012|32080|30868|30976|29740|30700|29972|29664|29712|29248|29088|27892|27036|26092|24756|24736|25132|24360|24300|23608|22616|21032|20160|19760|18748|18616|18964|18400|17624|16692|16348|15628|15376|14644|14520|14064|13992|14160|15048|16600|15976|14892|13428|12740|12360|11868|11520|10672|9772|9344|9000|8672|8732|8520|9020|8604|8052|8136|8240|8036|7824|7844|8280|7816|7624|7180|7308|6744|7024|6880|6800|6904|6336|6056|6120|5968|6008|5936|5388|5176|4996|5020|4520|4232|4288|4184|3856|3820|3752|3420|3632|3472|3316|3448|3316|3120|2924|2816|2652|2512|2296|1940|1624|1336|1260|1252|936|668|568|576|548|484|512|456|412|376|360|264|288|168|112|104|76|72|12|16|4|
<br></pre><br clear="all"><br>-- <br>John J. Mitchell