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