EIO_PRODUCT=SRTM3 and EIO_CLIP_MARGIN=10%. r, -reference TEXT Use the extent of a reference GDAL/OGR data source asĭefaults can be defined by setting environment variables prefixed with EIO,Į.g. m, -margin TEXT Decimal degree margin added to the bounds. Output bounds in 'left bottom right top' order. Selfcheck Audit the system for common issues. [default:Ĭlean Clean up the product cache from temporary files.ĭistclean Remove the product cache entirely. cache_dir DIRECTORY Root of the DEM cache folder. The eio command as the following sub-commands and options: $ Usage: eio COMMAND. To clean up stale temporary files and fix the cache in the event of a server error use: $ eio clean Please refer to the upstream providers’ websites to learn the preferred procedures for bulk download. In my neighborhood, an exact geographic location shows up offset about 30 feet in Google Earth, or pretty much what we see in the picture above.
The clip sub-command doesn’t allow automatic download of a large amount of DEM tiles, The positions in Google Earth don’t necessarily coincide with the correct position on Mother Earth.
Subsequent accesses to the same and nearby areas are much faster. The first time an area is accessed Elevation downloads the data tiles from the USGS or CGIAR-CSI servers andĬaches them in GeoTiff compressed formats,
The -reference option can take also verctor data as input: $ eio clip -o MyShapefile-DEM.tif -reference MyShapefile.shp # enable with: $ pip install fiona You can clip a DEM on the same extent of any other geospatial data source supported by GDAL and OGR,įor example if you have a georeference image MyImage.tif you can clip the corresponding DEM with: $ eio clip -o MyImage-DEM.tif -reference MyImage.tif # enable with: $ pip install rasterio If you have installed the packages rasterio and fiona Given as left bottom right top similarly to the rio command form rasterio.
(more precisely in geodetic coordinates in the WGS84 reference system EPSG:4326 for those who care) The -bounds option accepts latitude and longitude coordinates Identify the geographic bounds of the area of interest and fetch the DEM with the eio command.įor example to clip the SRTM 30m DEM of Rome, around 41.9N 12.5E, to the Rome-30m-DEM.tif file: $ eio clip -o Rome-30m-DEM.tif -bounds 12.35 41.8 12.65 42įor the SRTM 90m DEM use: $ eio -product SRTM3 clip -o Rome-90m-DEM.tif -bounds 12.35 41.8 12.65 42