Commit b4e5102d authored by Thibaut ROMAIN's avatar Thibaut ROMAIN
Browse files

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

parent daafc6de
Pipeline #11324 passed with stages
in 78 minutes and 27 seconds
......@@ -221,7 +221,7 @@ private:
defaultValue.Fill(GetParameterFloat("fv"));
// 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");
out_FileName.append("?&writerpctags=true");
......
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