Max Shawabkeh 2403df3657 v0.1.51.
2015-04-22 16:36:30 -07:00

17 lines
312 B
Python

#!/usr/bin/env python
"""Download example."""
import ee
import ee.mapclient
ee.Initialize()
# Get a download URL for an image.
image1 = ee.Image('srtm90_v4')
path = image1.getDownloadUrl({
'scale': 30,
'crs': 'EPSG:4326',
'region': '[[-120, 35], [-119, 35], [-119, 34], [-120, 34]]'
})
print path