Commit 7035c83d authored by Gaetano Raffaele's avatar Gaetano Raffaele

ENH: possibility to freely specify output epsg code for co-registration (deals...

ENH: possibility to freely specify output epsg code for co-registration (deals with the L8 southern emisphere projection problem).
parent bd64ad38
......@@ -147,7 +147,7 @@ def main(argv):
ds.SetProjection('')
ds = None
cmd = ['otbcli_OrthoRectification', '-io.in \"' + f + '?&geom=' + tmphomo + '\"', '-io.out', tmpfld + fn[0] + '_coreg.tif', 'uint8', '-map', 'epsg', '-map.epsg.code', code, '-opt.gridspacing', gsp, '-interpolator nn']
cmd = ['otbcli_OrthoRectification', '-io.in \"' + f + '?&geom=' + tmphomo + '\"', '-io.out', tmpfld + fn[0] + '_coreg.tif', 'uint8', '-map', 'epsg', '-map.epsg.code', code_out, '-opt.gridspacing', gsp, '-interpolator nn']
cmdex = ' '.join(cmd)
subprocess.call(cmdex, shell=True)
......
Markdown is supported
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