Hi, In reference to this older thread: https://lists.osgeo.org/pipermail/gdal-dev/2012-April/032343.html
I encountered the same issue; I'm fairly certain that the issue is due to invalid RPC_DEM values, in my case, NoData values of -32768. Setting the NoData value in the GeoTiff has no effect either, gdalwarp still attempts to apply the RPC model to these points. If I replace all these values with "0", the RPC orthorectification is successful, probably because zero is a more sensible elevation. Is there a way to consider NoData pixels in the RPC_DEM, and preventing them from being used for locating the output extents? Example command: gdalwarp -r cubic -rpc -overwrite -to "RPC_DEM=dem.tif" -tr 30 30 -t_srs "+proj=aea +lat_1=44.75 +lat_2=55.75 +lat_0=40 +lon_0=-96 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs" image_with_rpc_metadata.tif ortho_output.tif Thanks, Benjamin
_______________________________________________ gdal-dev mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/gdal-dev
