[gdal-dev] RPC to geotransform converting

Denis Rykov rykovd at gmail.com
Wed May 19 02:54:05 PDT 2021

Finally I solved the issue by adding "-to RPC_HEIGHT=XXX" to gdalwarp.
It seems gdalwarp doesn't take this parameter into account even if it is
presented in the RPC *.txt file.
Should I file the ticket or was it done by purpose?

On Tue, May 18, 2021 at 11:26 PM Denis Rykov <rykovd at gmail.com> wrote:

> Thanks!
> On Tue, May 18, 2021 at 10:57 PM Even Rouault <even.rouault at spatialys.com>
> wrote:
>> Denis,
>> if the view angle is off-nadir, you generally need to use the -to
>> RPC_DEM= option with a DEM covering the area of interest (and make sure the
>> values it contains are WGS 84 ellipsoidal elevations) to get accurate
>> results.
>> Even
>> Le 18/05/2021 à 22:50, Denis Rykov a écrit :
>> Hi,
>> I have a GeoTIF file and file with RPC information next to it (*.txt). Is
>> there a way to transform this raster to a normal geotiff without
>> displacement (with geotransform inside) or is it fundamentally impossible?
>> I've tried to achieve it with gdalwarp but in this case the result of the
>> transformation has about 5 meters (10 pixels) x-displacement (I use QGIS to
>> visualize it).
>> Denis
>> _______________________________________________
>> gdal-dev mailing listgdal-dev at lists.osgeo.orghttps://lists.osgeo.org/mailman/listinfo/gdal-dev
>> -- http://www.spatialys.com
>> My software is free, but my time generally not.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210519/c10735cd/attachment.html>

More information about the gdal-dev mailing list