<div>
<div>Hi Charles,</div>
<div>&nbsp;</div>
<div>you are right, the errors are somehow like that.</div>
<div>&nbsp;</div>
<div>acturally, the transformation process can be done a little bit simple:</div>
<div>&nbsp;</div>
<div>Swiss National System -&gt; WGS84 -&gt; ETRS89 / UTM 32N</div>
<div>&nbsp;</div>
<div>talking about WGS84 and ETRS89, they are almost the same, so there is no need to make any transformtion between them.</div>
<div>&nbsp;</div>
<div>BTW, this info may be useful for you, it's&nbsp;a official document:</div>
<div>&nbsp;</div>
<div><a title="http://www.swisstopo.ch/en/online/calculation/index" onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.swisstopo.ch/en/online/calculation/index" target="_blank">http://www.swisstopo.ch/en/online/calculation/index
</a></div>
<div><a title="http://www.swisstopo.ch/pub/down/basics/geo/system/ch1903_wgs84_en.pdf" onclick="return top.js.OpenExtLink(window,event,this)" href="http://www.swisstopo.ch/pub/down/basics/geo/system/ch1903_wgs84_en.pdf" target="_blank">
http://www.swisstopo.ch/pub/down/basics/geo/system/ch1903_wgs84_en.pdf</a></div>
<div>&nbsp;</div>
<div>&nbsp;</div>
<div>kind regards</div></div>
<div><span class="sg">
<div>&nbsp;</div>
<div>zhonghai</div></span></div><br><br>
<div><span class="gmail_quote">On 7/14/06, <b class="gmail_sendername">Charles Wivell</b> &lt;<a href="mailto:Charles.Wivell@dnr.state.mn.us">Charles.Wivell@dnr.state.mn.us</a>&gt; wrote:</span>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">Hi Zhonghai;<br><br>Doing some quick calculations, the Latitude error is about 200 meters and the longitude error is about 100 meters. These errors look like the type and magnitude of errors you'd get if you didn't correctly convert from one datum to another.
<br><br>So, make sure when you go from the Swiss National System to Geographic (lat, lon in Bessel 1841), you must then convert (transform) those lat, lons to ETRS89 lat, lons then project those lat, lons to UTM Zone 32N projection 
coord.s<br><br><br>Chuck Wivell<br><br><br><br>&gt;&gt;&gt; &quot;Zhonghai Wang&quot; &lt;<a href="mailto:zhonghaiw@gmail.com">zhonghaiw@gmail.com</a>&gt; 7/14/2006 8:12 AM &gt;&gt;&gt;<br>Hi Petteri,<br><br>unfortunately not, the reprojected tif image has always the same
<br>displacement. I think the problem occurs between the transformation from<br>Swiss National System (CH1903) to WGS84 system.<br><br>thanks you for your advice<br><br>Best Regards<br><br>zhonghai<br><br><br>On 7/14/06, Zhonghai Wang &lt;
<a href="mailto:zhonghaiw@gmail.com">zhonghaiw@gmail.com</a>&gt; wrote:<br>&gt;<br>&gt;&nbsp;&nbsp;Hi Petteri,<br>&gt;<br>&gt; I hope the old version will work fine for the reprojection. I am going to<br>&gt; try it now. Thanks for this important info.
<br>&gt;<br>&gt; kind regards<br>&gt;<br>&gt; zhonghai<br>&gt;<br>&gt;<br>&gt; On 7/14/06, Petteri Packalen &lt;<a href="mailto:packalen@cs.joensuu.fi">packalen@cs.joensuu.fi</a>&gt; wrote:<br>&gt; &gt;<br>&gt; &gt; Hi,<br>
&gt; &gt;<br>&gt; &gt; <a href="http://iweb.gdal.org/dl/fwtools/">http://iweb.gdal.org/dl/fwtools/</a><br>&gt; &gt;<br>&gt; &gt; and then download a6 version according your OS. I used Windows version.<br>&gt; &gt;<br>&gt; &gt; Best regards,
<br>&gt; &gt; Petteri<br>&gt; &gt;<br>&gt; &gt; On Fri, 14 Jul 2006, Zhonghai Wang wrote:<br>&gt; &gt;<br>&gt; &gt; &gt; Hi Petteri,<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; I am using the latest version FWTools1.0.5, which version do you mean?
<br>&gt; &gt; &gt; FWTools a6? never heard.<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; if possible, can you give me a link for the version you mentioned?<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; thanks a lot<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; zhonghai
<br>&gt; &gt; &gt;<br>&gt; &gt; &gt; On 7/14/06, Petteri Packalen &lt; <a href="mailto:packalen@cs.joensuu.fi">packalen@cs.joensuu.fi</a>&gt; wrote:<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; Hi,<br>&gt; &gt; &gt;&gt;<br>
&gt; &gt; &gt;&gt; This just a guess: what version of GDAL are you using? I had similar<br>&gt; &gt; kind<br>&gt; &gt; &gt;&gt; of problem about one month ago before I left to summer holiday. I<br>&gt; &gt; &gt;&gt; downloaded the newest FWTools version and when I tried to transform
<br>&gt; &gt; some<br>&gt; &gt; &gt;&gt; images from Finnish kkj to EUREF FIN coordinate system datum shift<br>&gt; &gt; was not<br>&gt; &gt; &gt;&gt; applied. EUREF FIN is basically ETRS89 / UTM 35N. When I revert back<br>
&gt; &gt; to<br>&gt; &gt; &gt;&gt; FTTools alpha 6 everything worked propely. I don't remember what was<br>&gt; &gt; &gt;&gt; actual gdal versions in these FWTools releases. Please try FWTools a6<br>&gt; &gt; if<br>&gt; &gt; &gt;&gt; possible.
<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; I didn't remember to fill a bug report. I will look at it later when<br>&gt; &gt; I<br>&gt; &gt; &gt;&gt; come back to office.<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; Best regards,
<br>&gt; &gt; &gt;&gt; Petteri<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; On Fri, 14 Jul 2006, Zhonghai Wang wrote:<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; &gt; Hi Andrew,<br>&gt; &gt; &gt;&gt; &gt;<br>&gt; &gt; &gt;&gt; &gt; you are right, in the most cases the GDAL utilities work well, and
<br>&gt; &gt; I've<br>&gt; &gt; &gt;&gt; also<br>&gt; &gt; &gt;&gt; &gt; use the GDAL utilities for a long time, especially the FWTools made<br>&gt; &gt; by<br>&gt; &gt; &gt;&gt; &gt; Frank, we should all thank Frank for such a wonderful GIS toolkit.
<br>&gt; &gt; &gt;&gt; &gt;<br>&gt; &gt; &gt;&gt; &gt; I've check again and again with the GDALWARP, but things are not<br>&gt; &gt; going<br>&gt; &gt; &gt;&gt; in<br>&gt; &gt; &gt;&gt; &gt; the right way. I am trying to translate the TIF images from the
<br>&gt; &gt; &gt;&gt; coordinate<br>&gt; &gt; &gt;&gt; &gt; system CH1903 (Swiss National System) to ETRS89 / UTM ZONE 32N, and<br>&gt; &gt; &gt;&gt; there<br>&gt; &gt; &gt;&gt; &gt; are always&nbsp;&nbsp;some displacement with the base maps, I am sure that
<br>&gt; &gt; the<br>&gt; &gt; &gt;&gt; base<br>&gt; &gt; &gt;&gt; &gt; map and the original coordinate info for the TIF is correct. and<br>&gt; &gt; here is<br>&gt; &gt; &gt;&gt; an<br>&gt; &gt; &gt;&gt; &gt; example:<br>
&gt; &gt; &gt;&gt; &gt;<br>&gt; &gt; &gt;&gt; &gt; (the transforming process is : CH1903 -&gt; WGS84 -&gt; ETRS89 / UTM ZONE<br>&gt; &gt; 32N)<br>&gt; &gt; &gt;&gt; &gt;<br>&gt; &gt; &gt;&gt; &gt; the TIF image coordinate Info (*.tif): (Swiss National System)
<br>&gt; &gt; &gt;&gt; &gt; 0.500000<br>&gt; &gt; &gt;&gt; &gt; 0.000000<br>&gt; &gt; &gt;&gt; &gt; 0.000000<br>&gt; &gt; &gt;&gt; &gt; -0.500000<br>&gt; &gt; &gt;&gt; &gt; 598125.250000<br>&gt; &gt; &gt;&gt; &gt; 199999.750000
<br>&gt; &gt; &gt;&gt; &gt;<br>&gt; &gt; &gt;&gt; &gt; If I transform the coordinate to WGS84 with GDAL, the value is:<br>&gt; &gt; &gt;&gt; &gt;<br>&gt; &gt; &gt;&gt; &gt; 0.0000059839<br>&gt; &gt; &gt;&gt; &gt; 0.0000000000
<br>&gt; &gt; &gt;&gt; &gt; 0.0000000000<br>&gt; &gt; &gt;&gt; &gt; -0.0000059839<br>&gt; &gt; &gt;&gt; &gt; 7.4149523128<br>&gt; &gt; &gt;&gt; &gt; 46.9529994915<br>&gt; &gt; &gt;&gt; &gt;<br>&gt; &gt; &gt;&gt; &gt; but the lon/lat of the upper left corner should be:
<br>&gt; &gt; &gt;&gt; &gt;<br>&gt; &gt; &gt;&gt; &gt; 7.41401039348263<br>&gt; &gt; &gt;&gt; &gt; 46.9510762167473<br>&gt; &gt; &gt;&gt; &gt;<br>&gt; &gt; &gt;&gt; &gt; I would say that this is already big difference, because If I use
<br>&gt; &gt; this<br>&gt; &gt; &gt;&gt; &gt; lon/lat to get the UTM coordinate, this small difference will be<br>&gt; &gt; &gt;&gt; propagated,<br>&gt; &gt; &gt;&gt; &gt; and will cause a displacement about hundreds meters.
<br>&gt; &gt; &gt;&gt; &gt;<br>&gt; &gt; &gt;&gt; &gt; I am trying to find the source code, which does this coordinate<br>&gt; &gt; &gt;&gt; &gt; transformation, so that I can check if the transformation<br>&gt; &gt; parameters are
<br>&gt; &gt; &gt;&gt; &gt; correct, but unfortunately I can not find the source for this.<br>&gt; &gt; &gt;&gt; &gt;<br>&gt; &gt; &gt;&gt; &gt;<br>&gt; &gt; &gt;&gt; &gt; If someone has done something similar, please point me out how to
<br>&gt; &gt; fix<br>&gt; &gt; &gt;&gt; this<br>&gt; &gt; &gt;&gt; &gt; problem, especially the GIS people in Switzerland. I would really<br>&gt; &gt; &gt;&gt; appreciate<br>&gt; &gt; &gt;&gt; &gt; it.<br>&gt; &gt; &gt;&gt; &gt;
<br>&gt; &gt; &gt;&gt; &gt; zhonghai<br>&gt; &gt; &gt;&gt; &gt;<br>&gt; &gt; &gt;&gt; &gt; On 7/14/06, Andrew Williams &lt; <a href="mailto:awilliams@rapidmap.com.au">awilliams@rapidmap.com.au</a>&gt; wrote:<br>&gt; &gt; &gt;&gt; &gt;&gt;
<br>&gt; &gt; &gt;&gt; &gt;&gt; zhonghai,<br>&gt; &gt; &gt;&gt; &gt;&gt; I've litterally translated hundereds of TIF's from all over the<br>&gt; &gt; world<br>&gt; &gt; &gt;&gt; from<br>&gt; &gt; &gt;&gt; &gt;&gt; multiple projections to multiple projections. I have also had
<br>&gt; &gt; &gt;&gt; &quot;failures&quot;.<br>&gt; &gt; &gt;&gt; &gt;&gt; However, in every case, it was either my fault in specifying the<br>&gt; &gt; -s_srs<br>&gt; &gt; &gt;&gt; or<br>&gt; &gt; &gt;&gt; &gt;&gt; -t_srs. In some cases the fault lay in the original image. The
<br>&gt; &gt; TIFF<br>&gt; &gt; &gt;&gt; itself<br>&gt; &gt; &gt;&gt; &gt;&gt; was supplied with incorrect georefernceing information and so it<br>&gt; &gt; was<br>&gt; &gt; &gt;&gt; never<br>&gt; &gt; &gt;&gt; &gt;&gt; going to work.
<br>&gt; &gt; &gt;&gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; &gt;&gt; Have you got a dump from GDALINFO that we can see and the GDALwarp<br>&gt; &gt; &gt;&gt; command<br>&gt; &gt; &gt;&gt; &gt;&gt; line you've used?<br>&gt; &gt; &gt;&gt; &gt;&gt;
<br>&gt; &gt; &gt;&gt; &gt;&gt; regards<br>&gt; &gt; &gt;&gt; &gt;&gt; Andrew<br>&gt; &gt; &gt;&gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;-----Original Message-----<br>&gt; &gt; &gt;&gt; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;From: Zhonghai Wang [mailto: 
<a href="mailto:zhonghaiw@gmail.com">zhonghaiw@gmail.com</a>]<br>&gt; &gt; &gt;&gt; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Sent: Fri 7/14/2006 12:14 AM<br>&gt; &gt; &gt;&gt; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;To: <a href="mailto:gdal-dev@lists.maptools.org">gdal-dev@lists.maptools.org
</a><br>&gt; &gt; &gt;&gt; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Cc:<br>&gt; &gt; &gt;&gt; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Subject: [Gdal-dev] need tools for TIF image reprojection<br>&gt; &gt; &gt;&gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Hi guys,
<br>&gt; &gt; &gt;&gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I need a tool to reproject my TIF images, either free or<br>&gt; &gt; &gt;&gt; non-free<br>&gt; &gt; &gt;&gt; &gt;&gt; software.<br>&gt; &gt; &gt;&gt; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;I've tried with the GDAL utilities, sure I can do the
<br>&gt; &gt; &gt;&gt; reprojection,<br>&gt; &gt; &gt;&gt; &gt;&gt; but the coordinates seems not correct, there are serveral hundert<br>&gt; &gt; &gt;&gt; meters<br>&gt; &gt; &gt;&gt; &gt;&gt; displacement according to the my base maps.
<br>&gt; &gt; &gt;&gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;thanks for your info.<br>&gt; &gt; &gt;&gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; &gt;&gt;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;zhonghai<br>&gt; &gt; &gt;&gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; &gt;&gt;
<br>&gt; &gt; &gt;&gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; &gt;&gt;<br>&gt; &gt; &gt;&gt; &gt;<br>&gt; &gt; &gt;&gt;<br>&gt; &gt; &gt;<br>&gt; &gt;<br>&gt;<br>&gt;<br></blockquote></div><br>