[Mapserver-users] EXTENT and PROJECTION
Tyler Mitchell
TMitchell at lignum.com
Mon Apr 26 14:30:07 PDT 2004
Thanks for being what I call a best-practices guinea pig. We've all given
you our opinions on how to best setup your map file, even though you
tricked us ;) Perhaps we should regularly post working map files and get
critiques just for practice! :) I'm glad you figured out it. I see the
moral of the story as: whenever you can copy/paste a filename, do it
instead of typing.
"Ethan Alpert" <ealpert at digitalglobe.com> wrote on 04/26/2004 01:43:02 PM:
> 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