[Mapserver-users] proj.4 stuff

Bob Basques bob.basques at ci.stpaul.mn.us
Thu Apr 22 14:29:34 EDT 2004


Ok, I can't get it to work:

HELP!!

How do I translate this (From the MNDOT website)

PROJCS<br> <br> ["Ramsey - county coordinates - english",GEOGCS
    ["Ramsey - county coordinates - english",DATUM
    ["&lt;custom&gt;",SPHEROID
    ["&lt;custom&gt;",6378418.941,298.2572242549207]<br> ],PRIMEM
    ["Greenwich",0.0],UNIT
["Degree",0.0174532925199433]],PROJECTION
["Lambert_Conformal_Conic"],PARAMETER
["False_Easting",499999.999998],PARAMETER
["False_Northing",99999.9999996],PARAMETER
["Central_Meridian",-93.38333333333334],PARAMETER
["Standard_Parallel_1",44.88333333333333],PARAMETER
["Standard_Parallel_2",45.13333333333333],PARAMETER
["Latitude_Of_Origin",44.79111111111111],UNIT
["Foot_US",0.3048006096012192]

  ]

To an output projection in a MAP file.<br>  <br> <br> Here is what
doesn't work ( i did get this to work once upon a time, but it was a
while ago.), also, once it works, can I add to the proj file with an
arbitrary number so I don't have to worry about it anymore, what numbers
are available for use?:


MAP
   NAME 'test'
   SIZE 800 650
   STATUS ON
   ##IMAGECOLOR 254 254 254
   EXTENT 332000 -18000 678000 328000
   UNITS FEET

   PROJECTION
     "init=epsg:26915"
   END

   TRANSPARENT TRUE

   ##SYMBOL
     ##NAME 'circle'
     ##TYPE ELLIPSE
     ##POINTS 1 1 END
     ##FILLED TRUE
   ##END

   LAYER
     NAME 'tlg01'
     DATA './data/tlg01/tlg_roads_l'
     STATUS DEFAULT
     TYPE LINE
     ##CLASS
       ##NAME 'TLG'
       ##SYMBOL 'circle'
       ##SIZE 5
       ##OUTLINECOLOR 0 0 0
       ##COLOR 255 101 101
     ##END

     PROJECTION
       ##"init=epsg:26992"
       "proj=utm"
       "ellps=GRS80"
       ##"datum=nad83"
       "zone=15"
       "lat_0=44.88333333333333"
       "lon_0=-93.38333333333334"
       ##"unit=foot_us"
     END
   END


END ## end Map

Thanks

bobb







More information about the mapserver-users mailing list