Commit 03f3c2c8 authored by Gaetano Raffaele's avatar Gaetano Raffaele

FIX: bug in map rasterization command

parent e7a316b4
......@@ -705,7 +705,7 @@ def main(argv):
cmd = ['otbcli_Rasterization', '-in', map, '-im', ref, '-mode', 'attribute', '-mode.attribute.field', 'p'+cfield, '-out', ras_list[-1]]
subprocess.call(cmd,shell=sh)
cmd = ['gdalbuildvrt', '-srcnodata', '0', '-vrtnodata', '0', final_fld + 'MAPS/RASTER_' + cfield + '/Classif_' + cfield + '.vrt'] + ras_list
cmd = ['gdalbuildvrt', '-srcnodata', '0', '-vrtnodata', '0', final_fld + '/MAPS/RASTER_' + cfield + '/Classif_' + cfield + '.vrt'] + ras_list
subprocess.call(cmd, shell=sh)
if single_step:
......
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