Commit 0d502607 authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

box

parent cf87bbdb
......@@ -27,7 +27,7 @@ def getWKTPolygonBoundingBox(polygon):
def main(argv):
print (argv[1])
getWKTPolygonBoundingBox(argv[1])
# getWKTPolygonBoundingBox(argv[1])
if __name__ == "__main__":
main(sys.argv)
......
......@@ -43,7 +43,7 @@ do
mkdir video
fi
BOX=$(python3 "$HOME/git/GeoSentinel/geosentinel/polygonToBox.py" $3)
gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -scale 0 4096 0 255 -of JPEG ndvi/$fileout2"_"$fileout1".tiff" video/$fileout2"_"$fileout1".jpg"
# gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -scale 0 4096 0 255 -of JPEG ndvi/$fileout2"_"$fileout1".tiff" video/$fileout2"_"$fileout1".jpg"
cd ..
......
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