[Mapserver-users] Projection problem

Michael Smith msmith at sanangelompo.org
Fri Mar 5 09:53:21 EST 2004


 I'm no expert on mapserver either, but you may need to change your UNITS
from DD to METERS or FEET. 

-----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

  WEB
    HEADER demo_header.html
    TEMPLATE demo.html
    FOOTER demo_footer.html
    MINSCALE 1000
    MAXSCALE 1550000
    IMAGEPATH "set in demo_init.html"
    IMAGEURL "set in demo_init.html"
  END

  #order7
  LAYER
    NAME "aut6__________a7"
    STATUS ON
    DATA "../../../../Inetpub/wwwroot/demo/data/aut6__________a7"
    LABELITEM "NAME"
    CLASS
	TEMPLATE void
	COLOR 255 255 204
	OUTLINECOLOR 200 200 200
	LABEL
	        COLOR 132 31 31
	        COLOR 16 125 65
	        TYPE TRUETYPE
	        FONT arial-bold
	        SIZE 10
	        ANTIALIAS TRUE
	        POSITION AUTO
	        PARTIALS FALSE
	        MINDISTANCE 300
	        BUFFER 4
        END # end of label
    END
    TYPE POLYGON
    UNITS DD
  END
END

Can anyone help me? Thanks a lot!
Sonja

_________________________________________________________________
Die MSN Suche - Kategorien helfen Ihnen dabei, präzise Ergebnisse zu
erhalten. http://search.msn.at/

_______________________________________________
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