[Mapserver-users] Projection problem

snow 77 snow77899 at hotmail.com
Thu Mar 4 01:04:30 PST 2004


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/




More information about the MapServer-users mailing list