Guest User

Untitled

a guest
Nov 22nd, 2017
83
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.38 KB | None | 0 0
  1. # download an image
  2. wget --quiet http://sentinel-s2-l1c.s3.amazonaws.com/tiles/15/S/TD/2016/8/20/0/B03.jp2
  3. # convert to geotiff
  4. gdal_translate -of GTiff B03.jp2 B03.tif
  5. # make a copy
  6. cp B03.tif B03_point.tif
  7. # change the tag
  8. gdal_edit.py -mo AREA_OR_POINT=Point B03_point.tif
  9. # now open B03.tif and B03_point.tif in QGIS, the images display as identical
Add Comment
Please, Sign In to add comment