Re: [gdal-dev] RPCs in GeoTIFF

2022-01-10 Thread Matt.Wilkie
'RPC') # ... write them to the second file data_out.SetMetadata(rpcs ,'RPC') # de-reference the datasets, which triggers gdal to save data_in = None data_out = None ``` -Matt From: gdal-dev On Behalf Of ni hao Sent: January 4, 2022 3:00 PM To: gdal-dev@lists.osgeo.org Subje

Re: [gdal-dev] RPCs in GeoTIFF

2022-01-04 Thread ni hao
: [gdal-dev] RPCs in GeoTIFF Hi list, I use gdal-2.4.4. I use gdalwarp to orthorectify RADARSAT-2 images with RPCs (in product.xml). Now I have done some manipulation and save the result in GTiff (e.g., apply Sigma0 LUT). How can I copy the RPC Metadata from product.xml into GTiff, so I can use

[gdal-dev] RPCs in GeoTIFF

2022-01-03 Thread ni hao
Hi list, I use gdal-2.4.4. I use gdalwarp to orthorectify RADARSAT-2 images with RPCs (in product.xml). Now I have done some manipulation and save the result in GTiff (e.g., apply Sigma0 LUT). How can I copy the RPC Metadata from product.xml into GTiff, so I can use gdalwarp RPC orthorectificati