When using S3Image to load images generated by the "AOP_Strip_Processor" task, the projection shows the image to be EPSG:4326 instead of the source projection system.
Cause:
"AOP_Strip_Processor" copies the .IMD and .XML files from one part of the strip and renames them to match the output .TIF. The GDAL driver used to read the image picks up those metadata files, assuming that since they share the same name they apply to the output file. However, they do not contain the correct metadata for the output file.
Solution:
Rename or remove the .IMD and .XML files from the S3 bucket before loading the image. GDAL will then read the correct metadata stored in the image file itself.
Problem:
When using
S3Image
to load images generated by the "AOP_Strip_Processor" task, the projection shows the image to beEPSG:4326
instead of the source projection system.Cause:
"AOP_Strip_Processor" copies the .IMD and .XML files from one part of the strip and renames them to match the output .TIF. The GDAL driver used to read the image picks up those metadata files, assuming that since they share the same name they apply to the output file. However, they do not contain the correct metadata for the output file.
Solution:
Rename or remove the .IMD and .XML files from the S3 bucket before loading the image. GDAL will then read the correct metadata stored in the image file itself.