[gdal-dev] Gdal raster reproject equivalent to gdalwarp -rpc

Scott public at postholer.com
Fri Jul 18 08:38:49 PDT 2025


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



More information about the gdal-dev mailing list