Commit baedd24a authored by Mario Chirinos Colunga's avatar Mario Chirinos Colunga 💬

rgb l2

parent b3303c45
File mode changed from 100644 to 100755
......@@ -37,9 +37,11 @@ do
fi
echo $BOX
OUTIMG=$JP2DIR"rgbCroped/"$fileout1/$fileout2"_"$fileout1"_10m.tiff"
OUTIMG_P=$JP2DIR"rgbCroped/"$fileout1/$fileout2"_"$fileout1"_10m_p.tiff"
# if [ ! -e $OUTIMG ]; then
gdal_translate -projwin $BOX -projwin_srs WGS84 -ot Byte -of JPEG $filename"TCI_10m.jp2" $OUTIMG
rasterWkt.py $POLYGON $OUTIMG $OUTIMG_P
# wktToShape.py "$POLYGON" myShape.shp
# 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