Commit 95422c1c authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

drawing polygon

parent 0bd35fc9
...@@ -42,6 +42,7 @@ do ...@@ -42,6 +42,7 @@ do
gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -of JPEG $filename"TCI_10m.jp2" $OUTIMG gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -of JPEG $filename"TCI_10m.jp2" $OUTIMG
rasterWkt.py "$POLYGON" $OUTIMG $OUTIMG_P rasterWkt.py "$POLYGON" $OUTIMG $OUTIMG_P
rm polygonTmp.tiff
# wktToShape.py "$POLYGON" myShape.shp # wktToShape.py "$POLYGON" myShape.shp
# gdal_rasterize -b 1 -b 2 -b 3 -burn 10 -burn 200 -burn 10 -l wtk myShape.shp $OUTIMG # gdal_rasterize -b 1 -b 2 -b 3 -burn 10 -burn 200 -burn 10 -l wtk myShape.shp $OUTIMG
......
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