Guest User

Untitled

a guest
Jun 19th, 2018
80
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.30 KB | None | 0 0
  1. Traceback (most recent call last):
  2. File "<pyshell#3>", line 1, in <module>
  3. gt = ds.GetGeoTransform()
  4. AttributeError: 'NoneType' object has no attribute 'GetGeoTransform'
  5.  
  6. from osgeo import gdal
  7. driver = gdal.GetDriverByName( ’DTED’)
  8. driver.Register()
  9. file = gdal.Open( ’path/to/file’)
Add Comment
Please, Sign In to add comment