[Mapserver-users] Projection Systems question

Amit S BEHERE abehere at cs.ucsd.edu
Wed Jan 28 19:42:26 PST 2004


Hi all,

I am having the following problem. I have a shapefile with the data in
projection system 1983_UTM_Zone_11N. I am trying to set up a layer in
mapserver using this shape file. I took the example1.map file in the
tutorial and made changes to it. The salient ones being

changing the extent to the correct coordinates (found via ArcView)
changing the projection to init epsg: 26911 (for UTM Zone 11 N) and
changing the name and data setting for layer.
I also changed the type to point and set minsize to be 20.

I am also appending the mapfile. Can some
one tell me what I am doing wrong ? Thanks in advance

MAP
  IMAGETYPE      PNG
  EXTENT         385538 3761010 391329 3764477
  SIZE           400 300
  SHAPEPATH      "data"
  IMAGECOLOR     255 255 255


PROJECTION
 #   "proj=laea"
  #  "ellps=clrk66"
   # "lat_0=45"
    #"lon_0=-100"
  #
  # Alternatively, you can specify an EPSG code.
  "init=epsg:26911"
  #
  END

  # Start of LAYER DEFINITIONS
---------------------------------------------
  LAYER # States polygon layer begins here
    NAME         vernon_trees
    DATA         vernon_trees
    STATUS       DEFAULT
    TYPE         POINT

    PROJECTION
      "init=epsg:26911"
    END

    CLASS
      COLOR        232 232 232
	MINSIZE      20
    END
  END # States polygon layer ends here
  # End of LAYER DEFINITIONS -------------------------------

END # end of map file/object

Amit Behere.
UCSD.
"Technology doesn't make your life more difficult or easy, it just changes
the rules"......Vishwanathan Anand




More information about the MapServer-users mailing list