phpmapscript projection problem(?)

Hal Mueller hal at MOBILEGEOGRAPHICS.COM
Mon Dec 4 18:52:08 EST 2006


Take Mapserver and PHPMapscript out of the loop. 
Generate some test cases and pipe them through 
the proj standalone executable.

I also don't quite understand why you are using 
a=6378137 rf=298.25722101.  I would think they 
would be 6377397.155 and 299.1528128 
respectively.  But I haven't looked closely.

How were the towgs84 parameters derived?

Is there a standard set of test points for this 
projection?  What sort of systematic error are 
you seeing?

At 11:52 PM +0200 12/4/06, Andreas T wrote:
>The original projection of the point that I am 
>trying to reproject is a greek projection system 
>called "TM3". It has the following attributes:
>
>projection = Tranvserse Mercator 3o
>ellpisoid = bessel
>lon0 = 23ÉÕ42' 58''.815
>lat0 = 34
>towgs84 = DX=456.39, DY=372.62, DZ=496,82, 
>DangleX=0, DangleY=0, DangleZ=0.000363, 
>ppm=0.0000159
>False E = 200000
>False N = 0
>Ellipse big axis = 6377397.155m
>1/f = 1/299.1528128
>k0 = 0.9999
>units = m
>[CODE]
>$projInObj = ms_newprojectionobj("proj
>=tmerc,ellps=bessel,towgs84=456.39,372.62,496,82,0,0d00m00363s,0.0000159,".
>"lat_0=34d0m0s,lon_0=23d42m58815s,x_0=200000,units=m,k=0.9999,a=6378137,rf=298.25722101");
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20061204/611704e1/attachment.html


More information about the mapserver-users mailing list