Trying to display a geotiff DEM within MapServer

Gregor Mosheh gregor at HOSTGIS.COM
Thu Apr 26 12:27:37 EDT 2007


The first thing that comes to mind is the extent. I may be off, but this
is the first thing I'd check.

>   # minx miny maxx maxy
>  EXTENT -180 -90 180 90 # World

> Upper Left  (  168297.500,  761002.500) ( 72d 0'3.71"W,  6d52'31.02"N)
> Lower Left  (  168297.500,  747032.500) ( 72d 0'0.88"W,  6d44'56.70"N)
> Upper Right (  182257.500,  761002.500) ( 71d52'29.42"W,  6d52'33.81"N)
> Lower Right (  182257.500,  747032.500) ( 71d52'26.72"W,  6d44'59.44"N)
> Center      (  175277.500,  754017.500) ( 71d56'15.18"W,  6d48'45.26"N)

At a size that small, compared to the rest of the map, I'd expect the
image to be entirely white, with your TIFF represented by a single pixel.
I'd try setting the map's extent to be zoomed in a little tighter, e.g.
   EXTENT -72 6.75 -71.9 6.9


-- 
HostGIS
Cartographic development and hosting services
707-822-9355
http://www.HostGIS.com/

"Remember that no one cares if you can back up, only if you can restore."
- AMANDA



More information about the mapserver-users mailing list