Most notably it gets the geotransform for raster layers which can easily be turned into the bounding box given knowledge of grid dimensions (i.e. number of rows and columns). However, it does not get the analogous information for vector layers.
We would really like to see this function gather all pertinent metadata for both raster and vector data and present it in a nice Python structure. This will also help fix issue https://github.com/AIFDR/riab/issues/91
All this metadata is known to exist and can be accessed through REST as follows:
Currently, Risiko is reads some metadata using OWSLib in https://github.com/AIFDR/riab/blob/master/impact/storage/utilities.py#L187
Most notably it gets the geotransform for raster layers which can easily be turned into the bounding box given knowledge of grid dimensions (i.e. number of rows and columns). However, it does not get the analogous information for vector layers.
We would really like to see this function gather all pertinent metadata for both raster and vector data and present it in a nice Python structure. This will also help fix issue https://github.com/AIFDR/riab/issues/91
All this metadata is known to exist and can be accessed through REST as follows:
http://www.aifdr.org:8080/geoserver/rest/workspaces/hazard/coveragestores/Lembang_Earthquake_Scenario/coverages/Lembang_Earthquake_Scenario.xml
http://www.aifdr.org:8080/geoserver/rest/workspaces/boundaries/datastores/Province_Boundaries/featuretypes/Province_Boundaries.xml