<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.3492" name=GENERATOR></HEAD>
<BODY text=#000000 bgColor=#ffffff>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>Jan Hartmann
<j.l.h.hartmann <at> uva.nl> writes:</FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>Jukka Rahkonen
wrote:</FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>>>
Hi,<BR>>> <BR>>> I am not sure if I understood how you trying to do
the job, but hopefully my<BR>>> task and work flow are close enough to be
useful for you.<BR>>> <BR>>> 1. Let's say that the original image is
in epsg:2393 and target is epsg:3067.<BR>>> 2. I insert some ground
control points in epsg:3067 with gdal_translate and<BR>>> -gcp.
Image format of the temporal output file can be GeoTIFF but also
virtual<BR>>> raster(vrt).<BR>>> 3. I warp the temporary image, now
containing gpc's in epsg:3067 projection, to<BR>>> final product using
gdalwarp as<BR>>> gdalwarp -s_srs epsg:3067 -t_srs epsg:3067.<BR>>
<BR>> <BR>>> Hi Jukka,<BR>>> You have described exactly what I
want to do, but the problem is that<BR>>> in step 2, inserting gcps, the
georeferenced boundaries of the file are<BR>>> lost. Eventually you get a
somewhat displaced raw raster file.<BR>>> Jan </FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2>That displacement
could be avoided at least by inserting manually gcp to each<BR>corner of the
image. Perhaps this article gives some ideas:<BR><A
href="http://www.scangis.org/scangis2007/papers/r3_rahkonen.pdf">http://www.scangis.org/scangis2007/papers/r3_rahkonen.pdf</A></FONT></DIV>
<DIV> </DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff
size=2>-Jukka-</FONT></DIV></BODY></HTML>