<!doctype html public "-//W3C//DTD W3 HTML//EN">
<html><head><style type="text/css"><!--
blockquote, dl, ul, ol, li { padding-top: 0 ; padding-bottom: 0 }
 --></style><title>Re: phpmapscript projection
problem(?)</title></head><body>
<div>Take Mapserver and PHPMapscript out of the loop.&nbsp; Generate
some test cases and pipe them through the proj standalone
executable.</div>
<div><br></div>
<div>I also don't quite understand why you are using a=6378137
rf=298.25722101.&nbsp; I would think they would be 6377397.155 and
299.1528128 respectively.&nbsp; But I haven't looked closely.</div>
<div><br></div>
<div>How were the towgs84 parameters derived?</div>
<div><br></div>
<div>Is there a standard set of test points for this projection?&nbsp;
What sort of systematic error are you seeing?</div>
<div><br></div>
<div>At 11:52 PM +0200 12/4/06, Andreas T wrote:</div>
<blockquote type="cite" cite>The original projection of the point that
I am trying to reproject is a greek projection system called
&quot;TM3&quot;. It has the following attributes:<br>
</blockquote>
<blockquote type="cite" cite>
<ul>
<li>projection =<i><b> T</b>ranvserse<b> M</b>ercator 3o</i>
<li>ellpisoid = bessel
<li>lon0 = 23ÉÕ42' 58''.815
<li>lat0 = 34
<li>towgs84 = DX=456.39, DY=372.62, DZ=496,82, DangleX=0, DangleY=0,
DangleZ=0.000363, ppm=0.0000159
<li>False E = 200000
<li>False N = 0
<li>Ellipse big axis = 6377397.155m
<li>1/f = 1/299.1528128
<li>k0 = 0.9999
<li>units = m</ul>
</blockquote>
<blockquote type="cite" cite>[CODE]<br>
$projInObj = ms_newprojectionobj(&quot;proj</blockquote>
<blockquote type="cite"
cite
>=tmerc,ellps=bessel,towgs84=456.39,372.62,496,82,0,0d00m00363s,0.000<span
></span>0159,&quot;.<br>
&quot;lat_0=34d0m0s,lon_0=23d42m58815s,x_0=200000,units=m,k=0.9999,a=<span
></span>6378137,rf=298.25722101&quot;);</blockquote>
<div><br></div>
</body>
</html>