Merged requested to merge gweather/shakyground2:feature/exporters_202104 into master
Addresses #16 (closed)
A preliminary set of exporters is added to the
Shakemap class to cover the initial needs of the EarthExplorer project:
Transformation of the shakemap to raster and direct export to GeoTIFF or to ESRI ASCII file
Retrieval of contours from the shakemap and export these to GeoJSON
For the handling of the raster format I am currently using
rasterio (now added to the dependencies). Future merge requests may add features that require more direct use of the GDAL libraries for handling rasters (e.g.
geopackage), in which case the GeoTIFF exporter may be replaced with one based on GDAL and the
rasterio dependency removed.