From Frank Wamerdam, the answer is to use --to METHOD=RPC. And the pipeline would be:
gdal raster pipeline ! read /vsis3/file_P004.NTF ! reproject --to METHOD=RPC ! write /tmp/test2.gdalg.json --overwrite && gdal raster info -f text /tmp/test2.gdalg.json Mike -- Michael Smith RSGIS Center – ERDC CRREL NH US Army Corps On 7/18/25, 11:39 AM, "gdal-dev on behalf of Scott via gdal-dev" <gdal-dev-boun...@lists.osgeo.org <mailto:gdal-dev-boun...@lists.osgeo.org> on behalf of gdal-dev@lists.osgeo.org <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 > gdal-dev@lists.osgeo.org <mailto:gdal-dev@lists.osgeo.org> > https://lists.osgeo.org/mailman/listinfo/gdal-dev > <https://lists.osgeo.org/mailman/listinfo/gdal-dev> _______________________________________________ gdal-dev mailing list gdal-dev@lists.osgeo.org <mailto:gdal-dev@lists.osgeo.org> https://lists.osgeo.org/mailman/listinfo/gdal-dev <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