[Proj] Custom projection wildly inaccurate

Thy, Kristian Kristian.Thy at atkinsglobal.com
Fri Nov 17 19:17:16 EST 2006


Hi list,
 
(Apologies for sending HTML email - I'm stuck on OWA ...)
 
I'm trying to reproject data in an obsolete Danish orthogonal projection called System34 in MapServer. To this end, I've found a .prj file for ArcMap distributed by the Danish National Survey & Cadastre, which defines the following parameters:
 
PROJCS["Approximation of non-projective System 34 Sjælland",
   GEOGCS["GCS_WGS_1984",
      DATUM["D_WGS_1984", SPHEROID["WGS_1984",6378137.0,298.257223563]],
      PRIMEM["Greenwich",0.0],
      UNIT["Degree",0.0174532925199433]
   ],
   PROJECTION["Orthographic"],
   PARAMETER["False_Easting",-100000.0],
   PARAMETER["False_Northing",100000.0],
   PARAMETER["Longitude_Of_Center",12.105661],
   PARAMETER["Latitude_Of_Center",55.29235],
   UNIT["Meter",1.0]
]
 
To get MapServer to reproject my data, I added the following code to ms4w\proj\nad\epsg:
 
<34005> +proj=ortho +lat_0=55.29235 +lon_0=12.105661 +x_0=-100000.0 +y_0=100000.0
 
Problem is that this transposes the data many kilometres north and slightly west (and perhaps also distorts it slightly, I'm not sure). The effect can be seen in these three maps:
 
http://quovadis.dk/img/proj/ 
 
All three maps are drawn in EPSG:32632. The green line data is natively EPSG:32632. The blue points are fetched from a WMS service in EPSG:4326, EPSG:32632 and my custom transformation respectively. The difference between lat/lon and UTM is noticeable but acceptable, but my own projection is way off. I have confirmed the distortion with different data sources in System 34 - this WMS and an orthophoto from another source - so I'm certain the error is on my end. Can anybody tell me which rookie mistake I've commited? ;-)
 
 
 
best regards,
Kristian Thy


This email and any attached files are confidential and copyright protected. If you are not the addressee, any dissemination of this communication is strictly prohibited. Unless otherwise expressly agreed in writing, nothing stated in this communication shall be legally binding.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.maptools.org/pipermail/proj/attachments/20061118/f2ab1ba0/attachment.html


More information about the Proj mailing list