[Mapserver-users] Projection problem

Jason M. Nielsen jnielsen at aero-graphics.com
Fri Mar 5 09:21:15 PST 2004


> -----Original Message-----
> From: mapserver-users-admin at lists.gis.umn.edu
> [mailto:mapserver-users-admin at lists.gis.umn.edu] On Behalf Of snow 77
> Sent: Thursday, March 04, 2004 3:05 AM
> To: mapserver-users at lists.gis.umn.edu
> Subject: [Mapserver-users] Projection problem
> 
> Hi,
> I am new to the MapServer and i have a typical newbie question.
> I try to get am map on the web with only one shapefile as a layer. The
> shapefile is from the given extent and i think i define the right
> projection
> parameters. But the output map is quite distorted. Where ist the mistake?
> Here my mapfile:
> MAP
>   NAME "test"
>   STATUS ON
>   EXTENT 13.563817 46.2695106622074 16.166907714098 48.1749556
>   #EXTENT 389334.69 5124995.01 586750.69 5336404.45
>   SIZE 530 350
>   SHAPEPATH "../../../Inetpub/wwwroot/imdas/data"
>   FONTSET "../../../Inetpub/wwwroot/imdas/fonts/fonts.list"
>   IMAGECOLOR 255 255 255
>   UNITS DD
>   RESOLUTION 72
> 
>   PROJECTION
>     "proj=utm"
>     "zone=1"
>     "ellps=WGS84"
>     "datum=WGS84"
>     "units=m"
>     "no_defs "
>     "north"
>     "init=epsg:32601"
>   END

Looks like based on the projection you have listed (32601) your .map file  UNITS
setting should be METERS.  DD I think would only be used with for instance
epsg:4326.

-------------------------------------------------
This mail sent through IMP: http://horde.org/imp/



More information about the MapServer-users mailing list