Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- # download an image
- wget --quiet http://sentinel-s2-l1c.s3.amazonaws.com/tiles/15/S/TD/2016/8/20/0/B03.jp2
- # convert to geotiff
- gdal_translate -of GTiff B03.jp2 B03.tif
- # make a copy
- cp B03.tif B03_point.tif
- # change the tag
- gdal_edit.py -mo AREA_OR_POINT=Point B03_point.tif
- # now open B03.tif and B03_point.tif in QGIS, the images display as identical
Add Comment
Please, Sign In to add comment