2013-07-24 19:01:01 -07:00

16 lines
290 B
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