[mapserver-users] New EPSG added but Projection Error

Rahkonen Jukka Jukka.Rahkonen at mmmtike.fi
Mon Jun 22 02:38:13 PDT 2009


Hi,

Try adding some white space between <2054> and +proj

-Jukka Rahkonen-


stretch wrote:
 

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.

_______________________________________________
mapserver-users mailing list
mapserver-users at lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users





More information about the MapServer-users mailing list