<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt">That's brilliant Mikael ... Thanks for your support all the way.<br><br>As per your advice, after communicating with<i><span class="yui_3_2_0_25_1337076501392677" style="font-family:"Calibri","sans-serif";
mso-ascii-theme-font:minor-latin;mso-hansi-theme-font:minor-latin;mso-bidi-font-family:
Arial;mso-bidi-theme-font:minor-bidi;mso-ansi-language:DE;font-style:normal" lang="DE"> Geobasisinformation
und Vermessung Sachsen</span></i><span class="st"><i><span style="mso-ansi-language:DE" lang="DE"> (</span></i></span><i><span class="yui_3_2_0_25_1337076501392801" style="font-family:"Calibri","sans-serif";mso-ascii-theme-font:minor-latin;
mso-hansi-theme-font:minor-latin;mso-bidi-font-family:Arial;mso-bidi-theme-font:
minor-bidi;mso-ansi-language:DE;font-style:normal" lang="DE">GeoSN</span></i><span class="st"><i><span style="mso-ansi-language:DE" lang="DE">)</span></i></span><i><span style="mso-ansi-language:DE" lang="DE"></span></i>, they informed me that "The TRANS_SN_Light-Tool only converts coordinates from RD83_3GK (projected Gauss Krüger-coordinates) to ETRS89_UTM (projected UTM-coordinates)". As you thought :)<br><br>They guided me to an easy Java based online tool at http://gdz.bkg.bund.de/web_koordtrans/start.html. <br><br>This service is provided by Bundesamt für Kartographie und Geodäsie <a href="http://www.bkg.bund.de/DE/Home/homepage__node.html__nnn=true">(http://www.bkg.bund.de/DE/Home/homepage__node.html__nnn=true)</a>.<br><br>This tool gave same results as Proj.4 and run online. A data file can be processed too.<br><br>Best regards,<br>Mohammad<br><span style="font-size:10.0pt;color:navy;" lang="EN-GB"></span><span></span><font style="color: rgb(0,
0, 0);" size="1"><span style="font-size: 7.5pt; font-family: arial,helvetica,sans-serif;"></span></font><span></span><font style="color: rgb(0, 0, 0);" size="1"><span style="font-size: 7.5pt; font-family: arial,helvetica,sans-serif;"></span></font> <div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"> <div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"> <div dir="ltr"> <font face="Arial" size="2"> <hr size="1"> <b><span style="font-weight:bold;">Von:</span></b> Mikael Rittri <Mikael.Rittri@carmenta.com><br> <b><span style="font-weight: bold;">An:</span></b> Mohammad Amro <ec_eng01@yahoo.com>; </font><font face="Arial" size="2">PROJ.4 and general Projections Discussions <proj@lists.maptools.org> </font><br><font face="Arial" size="2"> <b><span style="font-weight: bold;">Gesendet:</span></b> 12:18 Dienstag, 15.Mai 2012<br> <b><span style="font-weight: bold;">Betreff:</span></b> RE:
[Proj] Using EPSG codes with cs2cs (the one who asked: Amro_rt_rps)<br> </font> </div> <br><div id="yiv1283949509">
<style>
<!--
#yiv1283949509
_filtered #yiv1283949509 {font-family:Tahoma;panose-1:2 11 6 4 3 5 4 4 2 4;}
#yiv1283949509
#yiv1283949509 p.yiv1283949509MsoNormal, #yiv1283949509 li.yiv1283949509MsoNormal, #yiv1283949509 div.yiv1283949509MsoNormal
        {margin:0cm;margin-bottom:.0001pt;font-size:12.0pt;font-family:"Times New Roman";}
#yiv1283949509 a:link, #yiv1283949509 span.yiv1283949509MsoHyperlink
        {color:blue;text-decoration:underline;}
#yiv1283949509 a:visited, #yiv1283949509 span.yiv1283949509MsoHyperlinkFollowed
        {color:blue;text-decoration:underline;}
#yiv1283949509 p
        {margin-right:0cm;margin-left:0cm;font-size:10.0pt;font-family:Arial;}
#yiv1283949509 span.yiv1283949509EmailStyle20
        {font-family:Arial;color:navy;}
_filtered #yiv1283949509 {margin:70.85pt 70.85pt 70.85pt 70.85pt;}
#yiv1283949509 div.yiv1283949509Section1
        {}
-->
</style>
<div>
<div class="yiv1283949509Section1">
<div class="yiv1283949509MsoNormal"><font face="Arial" size="3"><span style="
font-size:12.0pt;font-family:Arial;" lang="EN-GB">Mohammad, </span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Arial" size="3"><span style="
font-size:12.0pt;font-family:Arial;" lang="EN-GB"> </span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Arial" size="3"><span style="
font-size:12.0pt;font-family:Arial;" lang="EN-GB">I’m starting to think that the long/lat of your
black-box tool is not WGS84 long/lat, but DHDN long/lat. </span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Arial" size="3"><span style="
font-size:12.0pt;font-family:Arial;" lang="EN-GB"> </span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Arial" size="3"><span style="
font-size:12.0pt;font-family:Arial;" lang="EN-GB">The DHDN long/lat has EPSG code 4314, and DHDN /
3-degree Gauss-Kruger zone 4 </span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Arial" size="3"><span style="
font-size:12.0pt;font-family:Arial;" lang="EN-GB">has EPSG code 31468, and I get:</span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Arial" size="3"><span style="
font-size:12.0pt;font-family:Arial;" lang="EN-GB"> </span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Courier New" size="3"><span style="font-size:12.0pt;font-family:"Courier New";" lang="EN-GB">> cs2cs +init=epsg:4314
+to +init=epsg:31468</span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Courier New" size="3"><span style="font-size:12.0pt;font-family:"Courier New";" lang="EN-GB"> </span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Courier New" size="3"><span style="font-size:12.0pt;font-family:"Courier New";" lang="EN-GB">13.755944 51.0545555</span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Courier New" size="3"><span style="font-size:12.0pt;font-family:"Courier New";" lang="EN-GB"> </span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Courier New" size="3"><span style="font-size:12.0pt;font-family:"Courier New";" lang="EN-GB">4623099.53 5659041.38
0.00</span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Arial" size="3"><span style="
font-size:12.0pt;font-family:Arial;" lang="EN-GB"> </span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Arial" size="3"><span style="
font-size:12.0pt;font-family:Arial;" lang="EN-GB">Here, the default datum shift that Proj.4 uses for
DHDN is not important, since both<br>
the source and target uses the DHDN datum. The result is only 1.46 m from your<br>
tool result. Close, but no cigar. At least you can use a smaller Finagle’s
constant ;-) </span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Arial" size="3"><span style="
font-size:12.0pt;font-family:Arial;" lang="EN-GB">(“That quantity which, when multiplied by,
divided by, added to, or subtracted from the </span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Arial" size="3"><span style="
font-size:12.0pt;font-family:Arial;" lang="EN-GB">answer which you got, yields the answer you should
have gotten.”) </span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Arial" size="3"><span style="
font-size:12.0pt;font-family:Arial;" lang="EN-GB"> </span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Arial" size="3"><span style="
font-size:12.0pt;font-family:Arial;" lang="EN-GB">I don’t know if DHDN long/lat is often used for
German GIS data. The analogous thing<br>
in Sweden
would be RT90 long/lat, a format that you never see for GIS data, at least not<br>
from the Swedish
Land Survey. But the practice in
Germany may be
different, of course.</span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Arial" size="3"><span style="
font-size:12.0pt;font-family:Arial;" lang="EN-GB"> </span></font></div>
<div class="yiv1283949509MsoNormal"><span class="yiv1283949509st"><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:black;" lang="EN-GB">> … until as you said the 2012 new modifications come to
Proj.4.</span></font></span></div>
<div class="yiv1283949509MsoNormal"><span class="yiv1283949509st"><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:black;" lang="EN-GB"> </span></font></span></div>
<div class="yiv1283949509MsoNormal"><span class="yiv1283949509st"><font color="black" face="Arial" size="3"><span style="font-size:12.0pt;font-family:Arial;color:black;" lang="EN-GB">I don’t think they will help you. I think they are identical
to the current definitions, except<br>
in the axis order and axis abbreviations. This is important in certain GIS
standards from<br>
OGC for transmitting coordinates on the web, but not for you. (Since your
problem is not<br>
that you have confused northing with easting.) </span></font></span><font color="black" face="Arial"><span style="font-family:Arial;color:black;" lang="EN-GB"></span></font></div>
<div class="yiv1283949509MsoNormal"><font face="Arial" size="3"><span style="
font-size:12.0pt;font-family:Arial;" lang="EN-GB"> </span></font></div>
<div class="yiv1283949509MsoNormal"><span class="yiv1283949509st"><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:black;" lang="EN-GB">> One last question to all, how do I revers the conversion from
X/Y Cartesian to Long/Lat Geographical?</span></font></span></div>
<div class="yiv1283949509MsoNormal"><span class="yiv1283949509st"><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:black;" lang="EN-GB"> </span></font></span></div>
<div class="yiv1283949509MsoNormal"><span class="yiv1283949509st"><font color="black" face="Arial" size="3"><span style="font-size:12.0pt;font-family:Arial;color:black;" lang="EN-GB">When you use cs2cs on the command line, the “left hand side”
is everything<br>
between cs2cs and +to, while the “right hand side” is everything
after +to. </span></font></span></div>
<div class="yiv1283949509MsoNormal"><span class="yiv1283949509st"><font color="black" face="Arial" size="3"><span style="font-size:12.0pt;font-family:Arial;color:black;" lang="EN-GB">Just exchange the left and right hand sides to reverse the
direction. </span></font></span></div>
<div class="yiv1283949509MsoNormal"><span class="yiv1283949509st"><font color="black" face="Arial" size="3"><span style="font-size:12.0pt;font-family:Arial;color:black;" lang="EN-GB"> </span></font></span></div>
<div class="yiv1283949509MsoNormal"><span class="yiv1283949509st"><font color="black" face="Arial" size="3"><span style="font-size:12.0pt;font-family:Arial;color:black;" lang="EN-GB">Best regards,</span></font></span></div>
<div class="yiv1283949509MsoNormal"><span class="yiv1283949509st"><font color="black" face="Arial" size="3"><span style="font-size:12.0pt;font-family:Arial;color:black;" lang="EN-GB"> </span></font></span></div>
<div class="yiv1283949509MsoNormal"><span class="yiv1283949509st"><font color="black" face="Arial" size="3"><span style="font-size:12.0pt;font-family:Arial;color:black;" lang="EN-GB">Mikael Rittri</span></font></span></div>
<div class="yiv1283949509MsoNormal"><span class="yiv1283949509st"><font color="black" face="Arial" size="3"><span style="font-size:12.0pt;font-family:Arial;color:black;" lang="EN-GB">Carmenta</span></font></span></div>
<div class="yiv1283949509MsoNormal"><span class="yiv1283949509st"><font color="black" face="Arial" size="3"><span style="font-size:12.0pt;font-family:Arial;color:black;" lang="EN-GB">Sweden</span></font></span><span class="yiv1283949509st"><font color="black" face="Arial"><span style="font-family:Arial;color:black;" lang="EN-GB"></span></font></span></div>
<div class="yiv1283949509MsoNormal"><span class="yiv1283949509st"><font color="black" face="Arial" size="3"><span style="font-size:12.0pt;font-family:Arial;color:black;" lang="EN-GB">http://www.carmenta.com</span></font></span><font face="Arial"><span style="font-family:Arial;" lang="EN-GB"></span></font></div>
<div class="yiv1283949509MsoNormal"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;" lang="EN-GB"> </span></font></div>
<div>
<div class="yiv1283949509MsoNormal" style="text-align:center;" align="center"><font face="Times New Roman" size="3"><span style="font-size:12.0pt;" lang="EN-US">
<hr tabindex="-1" align="center" size="2" width="100%">
</span></font></div>
<div class="yiv1283949509MsoNormal"><b><font face="Tahoma" size="2"><span style="font-size:10.0pt;font-family:Tahoma;font-weight:bold;" lang="EN-US">From:</span></font></b><font face="Tahoma" size="2"><span style="font-size:10.0pt;font-family:Tahoma;" lang="EN-US">
proj-bounces@lists.maptools.org [mailto:proj-bounces@lists.maptools.org] <b><span style="font-weight:bold;">On Behalf Of </span></b>Mohammad Amro<br>
<b><span style="font-weight:bold;">Sent:</span></b> Wednesday, May 09, 2012 2:06
PM<br>
<b><span style="font-weight:bold;">To:</span></b> proj@lists.maptools.org<br>
<b><span style="font-weight:bold;">Subject:</span></b> Re: [Proj] Using EPSG
codes with cs2cs (the one who asked: Amro_rt_rps)</span></font><span lang="EN-US"></span></div>
</div>
<div class="yiv1283949509MsoNormal"><font face="Times New Roman" size="3"><span style="
font-size:12.0pt;"> </span></font></div>
<div>
<div>
<div class="yiv1283949509MsoNormal" style="background:white;"><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:black;">Hi all,</span></font><font color="black" face="Arial"><span style="font-family:Arial;color:black;"></span></font></div>
</div>
<div>
<div class="yiv1283949509MsoNormal" style="background:white;"><font color="black" face="Arial" size="3"><span style="font-size:12.0pt;font-family:Arial;color:black;"> </span></font></div>
</div>
<div>
<div class="yiv1283949509MsoNormal" style="background:white;"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;" lang="EN-GB">[ - text
deleted - ]</span></font></div>
<div class="yiv1283949509MsoNormal" style="background:white;"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;" lang="EN-GB"> </span></font></div>
<div class="yiv1283949509MsoNormal" style="background:white;"><font color="navy" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:navy;" lang="EN-GB">… </span></font><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:black;" lang="EN-GB">may be there is no better way to do it than
offsetting the different and be happy with that. May be the tool I am using
(closed box) is following different methods for conversion?!<span class="yiv1283949509tab">
</span></span></font><font color="black" face="Arial"><span style="font-family:Arial;color:black;" lang="EN-GB"></span></font></div>
</div>
<div>
<div class="yiv1283949509MsoNormal" style="background:white;"><font color="black" face="Arial" size="3"><span style="font-size:12.0pt;font-family:Arial;color:black;" lang="EN-GB"> </span></font></div>
</div>
<div>
<div class="yiv1283949509MsoNormal" style="background:white;"><span class="yiv1283949509tab"><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial;color:black;" lang="EN-GB">e.g., Long: </span></font></span><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;
font-family:Arial;color:black;" lang="EN-GB"> <span class="yiv1283949509tab">13.755944, Lat: 51.0</span></span></font><span class="yiv1283949509tab"><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:black;">545555</span></font></span><font color="black" face="Arial"><span style="font-family:Arial;color:black;"></span></font></div>
</div>
<div>
<div class="yiv1283949509MsoNormal" style="background:white;"><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:black;"> </span></font></div>
</div>
<div>
<div class="yiv1283949509MsoNormal" style="background:white;"><span class="yiv1283949509tab"><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:black;">Tools coordinates:</span></font></span><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:black;"></span></font></div>
</div>
<div>
<div class="yiv1283949509MsoNormal" style="background:white;"><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:black;">4623100
5659040</span></font></div>
</div>
<div>
<div class="yiv1283949509MsoNormal" style="background:white;"><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:black;"> </span></font></div>
</div>
<div>
<div class="yiv1283949509MsoNormal" style="background:white;"><span class="yiv1283949509tab"><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:black;">7-parameters (X is shifted: 118 m, and Y is shifted 140 m)::</span></font></span><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:black;"></span></font></div>
</div>
<div>
<div class="yiv1283949509MsoNormal" style="background:white;"><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:black;">4623218.84
5659181.12</span></font></div>
</div>
<div>
<div class="yiv1283949509MsoNormal" style="background:white;"><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:black;"> </span></font></div>
</div>
<div class="yiv1283949509MsoNormal" style="background:white;"><font color="black" face="Arial" size="2"><span style="font-size:10.0pt;font-family:Arial;color:black;">BETA2007
<span class="yiv1283949509tab">Datum shifts (X is shifted: 120 m, and Y is shifted 140 m):</span><br>
4623220.44 5659181.52<br>
<br>
Anyway, I think, as I am doing this conversion on a small scale area, then a
linear offset (-118m, -140m) would result in <<span class="yiv1283949509st">±2
meters which is the best I can go with until as you said the 2012 new
modifications come to Proj.4.</span><br>
<br>
<span class="yiv1283949509st">One last question to all, how do I revers the
conversion from X/Y Cartesian to Long/Lat Geographical?</span><br>
<br>
<span class="yiv1283949509st">A huge thanks you,</span><br>
<span class="yiv1283949509st">Mohammad Amro</span></span></font><font color="black" face="Arial"><span style="font-family:Arial;color:black;"></span></font></div>
<div>
<div class="yiv1283949509MsoNormal" style="background:white;"><font color="black" face="Arial" size="3"><span style="font-size:12.0pt;font-family:Arial;color:black;"> </span></font></div>
</div>
</div>
</div>
</div>
</div><br><br> </div> </div> </div></body></html>