<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<div class="moz-cite-prefix">Hi,<br>
<br>
thank you for your answer. I probably misunderstood the relation
between RPC and GPC.<br>
Ivan, thank you for the link, <br>
Dimitriy, I did not define any coefficient (i did'nt know that i
have to...).<br>
<br>
I used to orthorectify my photo with Erdas Imagine, wich was, in a
way, more easier : only define GPC, link a DEM and it was almost
done... <br>
<br>
Below is the output of gdalinfo,<br>
<br>
regards<br>
Alain<br>
<br>
<br>
<i>asauter@Z800:~$ gdalinfo /tmp/photo101.tif </i><i><br>
</i><i>Driver: GTiff/GeoTIFF</i><i><br>
</i><i>Files: /tmp/photo101.tif</i><i><br>
</i><i>Size is 12076, 11206</i><i><br>
</i><i>Coordinate System is `'</i><i><br>
</i><i>GCP Projection = </i><i><br>
</i><i>GCP[ 0]: Id=1, Info=</i><i><br>
</i><i> (10346.2,10558.6) -> (996517,6690260,0)</i><i><br>
</i><i>GCP[ 1]: Id=2, Info=</i><i><br>
</i><i> (10688.7,7989.49) -> (996604,6691840,0)</i><i><br>
</i><i><br>
</i><i>// some more GCP's here //</i><i><br>
</i><i><br>
</i><i>GCP[ 30]: Id=31, Info=</i><i><br>
</i><i> (3018.4,6207.98) -> (991844,6692570,0)</i><i><br>
</i><i>GCP[ 31]: Id=32, Info=</i><i><br>
</i><i> (9443.26,10907.6) -> (6659940,66900000,0)</i><i><br>
</i><i>GCP[ 32]: Id=33, Info=</i><i><br>
</i><i> (8409.41,7437.51) -> (995221,6692050,0)</i><i><br>
</i><i>Metadata:</i><i><br>
</i><i> TIFFTAG_DOCUMENTNAME=/Documents/photo101.tif</i><i><br>
</i><i> TIFFTAG_RESOLUTIONUNIT=2 (pixels/inch)</i><i><br>
</i><i> TIFFTAG_XRESOLUTION=72</i><i><br>
</i><i> TIFFTAG_YRESOLUTION=72</i><i><br>
</i><i>Image Structure Metadata:</i><i><br>
</i><i> INTERLEAVE=BAND</i><i><br>
</i><i>Corner Coordinates:</i><i><br>
</i><i>Upper Left ( 0.0, 0.0)</i><i><br>
</i><i>Lower Left ( 0.0,11206.0)</i><i><br>
</i><i>Upper Right (12076.0, 0.0)</i><i><br>
</i><i>Lower Right (12076.0,11206.0)</i><i><br>
</i><i>Center ( 6038.0, 5603.0)</i><i><br>
</i><i>Band 1 Block=12076x1 Type=Byte, ColorInterp=Gray</i><br>
<br>
<br>
<br>
<br>
<br>
On 18/03/2014 22:25, Dmitriy Baryshnikov wrote:<br>
</div>
<blockquote cite="mid:5328B9B1.50209@gmail.com" type="cite">
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
<div class="moz-cite-prefix">Hi,<br>
<br>
the parameter may ignored because the input tiff lack the RPC
coefficients. Does any of RPC coefficient exist? What is
gdalinfo output of you aerial photos?
<pre class="moz-signature" cols="72">Best regards,
Dmitry</pre>
18.03.2014 23:54, alain Sauter пишет:<br>
</div>
<blockquote cite="mid:5328A489.9010701@univ-paris1.fr" type="cite">
<meta http-equiv="content-type" content="text/html;
charset=ISO-8859-1">
Hi all,<br>
<br>
I am trying to orthorectify a couple of aerial photos using
gdalwarp, but i am stuck with the <i>-to </i>transformer
option. I have seen in archive two request concerning this
issue, but without any answer for now... so hope this 3rd will
have a reply ;)<br>
<br>
materials :<br>
scan of an old aerial photo, without fly info and, of course,
without projection, tif format<br>
Dem of the region, tif format<br>
<br>
what i've done :<br>
using qgis georeferencer to grab some GPC's on the aerial photo<br>
using gdal_translate to insert GPC's in the aerial photo<br>
<br>
what i've try :<br>
<br>
using gdalwarp to transform, rectify and project the aerial
photo with :<br>
<i>gdalwarp -to RPC_DEM=dem.tif -t_srs=EPSG:2154 input.tif
output.tif</i><br>
<br>
result:<br>
my file is transformed and projected but not rectified. Option <i>-to
RPC_DEM </i>is ignored by gdalwarp, even if I write wrong
option like <i>-to RP_D...<br>
<br>
</i>Am i doing something wrong ?<br>
<br>
thanks for reply<br>
<br>
Alain <br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gdal-dev mailing list
<a moz-do-not-send="true" class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a moz-do-not-send="true" class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
</blockquote>
<br>
<br>
-- <br>
Ce message a été vérifié par
<a moz-do-not-send="true" href="http://www.mailscanner.info/">MailScanner</a>
pour des virus ou des polluriels et rien de
suspect n'a été trouvé.
<br>
<fieldset class="mimeAttachmentHeader"></fieldset>
<br>
<pre wrap="">_______________________________________________
gdal-dev mailing list
<a class="moz-txt-link-abbreviated" href="mailto:gdal-dev@lists.osgeo.org">gdal-dev@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/gdal-dev">http://lists.osgeo.org/mailman/listinfo/gdal-dev</a></pre>
</blockquote>
<br>
</body>
</html>