[gdal-dev] Gdal raster reproject equivalent to gdalwarp -rpc
Frank Warmerdam
warmerdam at pobox.com
Fri Jul 18 08:49:35 PDT 2025
Michael,
If you were depending on -rpc to force use of the RPC method instead of
geotransforms for instance, it might be sufficient to pass -to METHOD=RPC
to things that take transformer options.
Best regards,
Frank
On Fri, Jul 18, 2025 at 11:39 AM Scott via gdal-dev <
gdal-dev at lists.osgeo.org> wrote:
> Hey Mike,
>
> For the -rpc option I *think* you can use the -to option in reproject.
> Look at the documentation at the link under -to and read that. I *think*
> what you're looking for is -to RPC_DEM=pathToDem .
>
> For the pipeline command you can use a gdalg virtual file and "poor
> mans" pipeline in bash like:
>
> gdal raster pipeline \
> ! read some.tif \
> ! write tmp.gdalg.json --overwrite \
> && gdal raster info tmp.gdalg.json -f text
>
> Hope that helps,
> Scott
>
>
>
> On 7/18/25 05:05, Michael Smith via gdal-dev wrote:
> > All,
> >
> > Is there an gdal raster reproject equivalent command to gdalwarp -rpc
> > (which we use for NITF files with RPC georeferencing information?
> > Additionally, is there a gdal pipeline way to use info as the last step
> > rather than writing a file? I would be very useful to be able to do
> >
> > gdal raster pipeline ! read example_01_P004.NTF ! reproject --rpc !
> > info -f text
> >
> > or if there is a stdout/stdin method then gdal raster pipeline ! read
> > example_01_P004.NTF ! reproject --rpc ! write <stdout> | gdal raster
> > info -f text <stdin>?
> >
> > Mike
> >
> > --
> >
> > Michael Smith
> >
> > RSGIS Center – ERDC CRREL NH
> >
> > US Army Corps
> >
> >
> > _______________________________________________
> > gdal-dev mailing list
> > gdal-dev at lists.osgeo.org
> > https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev
>
--
---------------------------------------+--------------------------------------
I set the clouds in motion - turn up | Frank Warmerdam,
warmerdam at pobox.com
light and sound - activate the windows | USA: +1 650-701-7823
<http://voice.google.com/calls?a=nc,%2B16507017823>
and watch the world go round - Rush | CAN: +1 343-550-9984
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20250718/7f3736cf/attachment.htm>
More information about the gdal-dev
mailing list