raster not showing

Ethan Alpert ealpert at DIGITALGLOBE.COM
Tue Dec 7 10:16:36 PST 2004


> Yes. I tried but couldn't find a simple CGI URL for just display the
TIFF. I'll try to look deeper.

This is very simple and something I use over and over to find my errors.
Here's an example I just did. In my home directory I wrote a mapfile
with just one raster layer:

MAP
  EXTENT 92.6165416666667 21.3363833333333 92.7901305555555
21.6384555555556
  IMAGETYPE png
  SIZE 800 800
  STATUS ON
  UNITS DD



  LAYER
    DATA "/home/ealpert/10100100036C4D00.tif"
    STATUS DEFAULT
    TYPE RASTER
  END
END

Then I called mapserv with the following URL:

http://localhost/cgi-bin/mapserv?map=/home/ealpert/test.map&mode=map

That's it and this confirms that my  RASTER layer works.

-e



More information about the MapServer-users mailing list