[mapserver-users] Display GeoTIFF raster data

Hankley, Chip Chip.Hankley at GASAI.Com
Wed Jul 31 11:04:55 EDT 2002


Is that you're entire mapfile? If so, you seem to be missing some critical
pieces:

First off, you need a WEB segment that tells Mapserver where to put the
images... so something like:

WEB
  TEMPLATE my_template.html
  IMAGEPATH "C:\Inetpub\wwwroot\tmp\"
  IMAGEURL "/tmp/"
END

I don't think this is necessary, but it's a good idea to specify the
mapunits in your header section:

UNITS meters

Once this is in place, you should see *something* appear in your /tmp (or
whatever name you set up) directory when MapServer executes. Your image may
not render for some other reason... but at least you should be seeing a
blank PNG or GIF or JPEG or whatever flavor of image you specify show up in
that directory. My hunch is that is NOT happening now.

Chip



More information about the mapserver-users mailing list