Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- from osgeo import gdal
- ds = gdal.Open('original.tif')
- ds = gdal.Translate('new.tif', ds, projWin = [-75.3, 5.5, -73.5, 3.7])
- ds = None
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement