Hi all <br><br>Im developer and this is the first time I touch PROJ.4 . And I have following problem , please anyone can give me an advice:<br><br>In my project I need to do <b>transformation from datums (US, North America, UK, South Africa, New Zealand) to WGS84. </b><br>
<br>After having a look at defintion of pj_transform (function to do datums transformation on PROJ.4). I have seen that there are so many input parameters.<br> <br>For example : following code that I found in internet : <br>
------------------------------------------------------------------------------------------------------<br> projPJ src= pj_init_plus("+proj=tmerc +lat_0=38N +lon_0=128E +ellps=bessel +x_0=400000 +y_0=600000 +k=0.9999 +towgs84=-146.43,507.89,681.46");<br>
projPJ dst= pj_init_plus("+proj=latlong +datum=WGS84 +ellps=WGS84");<br> double x,y,z;<br> x=100;<br> y=100;<br> z=100;<br> pj_transform(src,dst,1,1,&x,&y,NULL);<br>------------------------------------------------------------------------------------------------------<br>
<style>
<!--table
        {mso-displayed-decimal-separator:"\.";
        mso-displayed-thousand-separator:"\,";}
@page
        {margin:1.0in .75in 1.0in .75in;
        mso-header-margin:.5in;
        mso-footer-margin:.5in;}
td
        {padding-top:1px;
        padding-right:1px;
        padding-left:1px;
        mso-ignore:padding;
        color:black;
        font-size:12.0pt;
        font-weight:400;
        font-style:normal;
        text-decoration:none;
        font-family:Calibri, sans-serif;
        mso-font-charset:0;
        mso-number-format:General;
        text-align:general;
        vertical-align:bottom;
        border:none;
        mso-background-source:auto;
        mso-pattern:auto;
        mso-protection:locked visible;
        white-space:nowrap;
        mso-rotate:0;}
.xl64
        {font-size:10.0pt;
        font-family:Courier;
        mso-generic-font-family:auto;
        mso-font-charset:0;
        vertical-align:middle;}
-->
</style>
<table style="border-collapse:collapse;width:640pt" border="0" cellpadding="0" cellspacing="0" width="640">
<colgroup><col style="width:640pt" width="640">
</colgroup><tbody><tr style="height:15.0pt" height="15">
<td class="xl64" style="height:15.0pt;width:640pt" height="15" width="640">params for initionlization of datums<br>+proj=merc
+ellps=clrk66 +lat_ts=33</td>
</tr>
<tr style="height:15.0pt" height="15">
<td class="xl64" style="height:15.0pt" height="15">+proj=latlong +ellps=clrk66</td>
</tr>
</tbody></table>
------------------------------------------------------------------------------------------------------<br>There are so many geospatial knowledge neccessary to understand these parameter. <br>Im developer and I know just only the simple name of datums(WGS84, NAD27, NAD83, etc,..) and coordinates of points, <br>
<br>With them how I can make transformation between different datums ? <b>Where I can get input parameters and define correct geospatial input parameters.</b><br><br>I very need your help. Thanks a lot. <br><br>Hoang Doanh<br>
<br>