[Mapserver-users] EXTENT and PROJECTION

Ethan Alpert ealpert at digitalglobe.com
Mon Apr 26 16:43:02 EDT 2004


Oh man...I am so grateful for everyones and of course most of my problem
was my fault.

The actual tiff file was: landcvi020l.tif

I had: landcvi0201.tif

D'oh!

Several of the stuggestions did not work btw. For example if I set the
EXTENT to -180 -90 180 90 and put the PROJECTION line in the layer I get
nothing. This image only works with the extents with the units I got
from listgeo. I can change those but I can't use -180 -90 180 90 for
example. Also compiling with --without-tiff doesn't appear to have had
any affect one way or the other.
The following map file works:

MAP
  IMAGETYPE PNG
  SIZE 600 600
  EXTENT -5760628.000 -2784239.130 4279823.260 4488331.000

  IMAGECOLOR 0 0 0

  WEB
    LOG "/var/www/ms.log"
  END



  LAYER
    NAME land
    DATA /var/www/projects/mytest/data/landcvi020l.tif
    STATUS DEFAULT
    TYPE RASTER
  END
END 








More information about the mapserver-users mailing list