[Mapserver-users] EXTENT and PROJECTION
Pericles S. Nacionales
nacional at cbs.umn.edu
Mon Apr 26 15:09:33 PDT 2004
Good one! I think I made the same mistake using the shaded relief image
from the National Atlas. By the way, it's important to have recompiled
MapServer with "--without-tiff" option or you would have had more
problems.
-Perry
On Mon, 2004-04-26 at 15:43, Ethan Alpert wrote:
> 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
>
>
>
>
>
> _______________________________________________
> Mapserver-users mailing list
> Mapserver-users at lists.gis.umn.edu
> http://lists.gis.umn.edu/mailman/listinfo/mapserver-users
More information about the MapServer-users
mailing list