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

2025-07-18 Thread Michael Smith via gdal-dev
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 on behalf of Frank Warmerdam via gdal-de

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

2025-07-18 Thread Michael Smith via gdal-dev
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

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

2025-07-18 Thread Frank Warmerdam via gdal-dev
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@lists.osgeo.org>

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

2025-07-18 Thread Scott via gdal-dev
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 b

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

2025-07-18 Thread Michael Smith via gdal-dev
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 rast

Re: [gdal-dev] Java bindings to gdal/ogr - looking for more developer documentation

2025-07-18 Thread Even Rouault via gdal-dev
Hi Tom, please file an issue at https://github.com/OSGeo/gdal/issues with your reproducer snippet Even Le 17/07/2025 à 02:28, Tom Moore a écrit : Hi Evan I seem to still be having problems closing datasets in Java resulting in a JVM crash, using gdal-3-13-3_x64 downloaded from the GISInter