Commit 08c0fc96 authored by Thibaut ROMAIN's avatar Thibaut ROMAIN
Browse files

ENH: Ensure the origin image has no projection when writing RPC on output

parent febe6d8c
......@@ -221,7 +221,7 @@ private:
// If the origin product is in sensor geometry, superimpose should keep the RPC parameters for orthorectification for exemple
if (refImage->GetImageMetadata().HasSensorGeometry())
if (refImage->GetProjectionRef().empty() && refImage->GetImageMetadata().HasSensorGeometry())
std::string out_FileName = GetParameterString("out");
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment