[mapserver-users] New EPSG added but Projection Error

stretch andrew.deklerk at gmail.com
Mon Jun 22 01:12:11 PDT 2009


Hi All

I have a requirement to create a map with a non-standard projection. I have
added the new projection to the  /proj/nad/epsg file with the appropriate
parameters - i.e:
# Hartebeesthoek94 / Lo31
<2054>+proj=tmerc +lon_0=31 +datum=WGS84 <>

If I then try and reference that projection in my map file like below it
throws an error - msProcessProjection(): Projection library error.
projection not named:
    PROJECTION
        "init=epsg:2054"
    END

On the other hand, if I reference the proj4 format directly - it works - i.e
    PROJECTION
	"+proj=tmerc +lon_0=31 +datum=WGS84"
    END

Any ideas what I need to do, or is it not as simple as adding it directly to
the epsg file?

Thanks in advance
Andrew

-- 
View this message in context: http://n2.nabble.com/New-EPSG-added-but-Projection-Error-tp3131630p3131630.html
Sent from the Mapserver - User mailing list archive at Nabble.com.




More information about the MapServer-users mailing list