Commit 6a58fb0e authored by santipe83's avatar santipe83

DOC : App-python-Solutions >> Update on code lines + Correction of python exercise

parent 9dc20bee
This diff is collapsed.
......@@ -64,7 +64,7 @@ if __name__ == "__main__":
# Declare the input list : the first element is declared alone (im1 = Red-B4)
application2.AddParameterStringList("il",str(d["input_path"] + d["B4_image"]))
application2.SetParameterString("out", "ndvi_mask.tif")
application2.SetParameterString("out", "water_mask.tif")
application2.SetParameterOutputImagePixelType("out", otbApplication.ImagePixelType_uint8)
......@@ -77,7 +77,7 @@ if __name__ == "__main__":
# ---
# The following line execute the application
print("Launching... BandMath : Water Mask by NDVI")
print("Launching... BandMath : Water Mask by using NDVI")
print("End of BandMath NDVI \n")
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