Frank, Thanks for that, I can confirm I get the same results with gdalwarp -rpc and gdal raster reproject --to METHOD=RPC. I’ll create a doc ticket to preserve this.
-- Michael Smith RSGIS Center – ERDC CRREL NH US Army Corps From: gdal-dev <gdal-dev-boun...@lists.osgeo.org> on behalf of Frank Warmerdam via gdal-dev <gdal-dev@lists.osgeo.org> Reply-To: Frank Warmerdam <warmer...@pobox.com> Date: Friday, July 18, 2025 at 11:49 AM To: Scott <pub...@postholer.com> Cc: <gdal-dev@lists.osgeo.org> Subject: Re: [gdal-dev] Gdal raster reproject equivalent to gdalwarp -rpc 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 <mailto:gdal-dev@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 > mailto:gdal-dev@lists.osgeo.org > https://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list mailto:gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev -- ---------------------------------------+-------------------------------------- I set the clouds in motion - turn up | Frank Warmerdam, mailto:warmer...@pobox.com light and sound - activate the windows | USA: +1 650-701-7823 and watch the world go round - Rush | CAN: +1 343-550-9984 _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/gdal-dev