Sign inSign up

gfzriesgos/assetmaster

By gfzriesgos

•Updated over 2 years ago

Image
0

1.7K

gfzriesgos/assetmaster repository overview

⁠Assetmaster

Docker Cloud Build Status Build Status

web service providing exposure models upon geographical query - RIESGOS project

This program reads an exposure model from a geopackage (.gpkg) file and provides a user with a portion of the model according to a bounding box provided (lonminm, lonmax, latmin, latmax), a query mode ("intersects" or "within"). A given exposure vulnerability schema can be queried (currently only the "SARA_v1.0" model for Chile is implemented) A given set of assets can be specified (currently only "res" for residential buildings)

⁠example (command line)

python3.7 assetmaster.py -71.8 -71.4 -33.2 -33.0 SARA_v1.0 res intersects

⁠Dependencies
  • argparse
  • pandas
  • geopandas
  • lxml
  • shapely
⁠Process configuration

The .json file providing the basic process configuration is in the metadata folder

⁠How to add data for other countries

If you just want to provide data for other countries you can add gpkg files in the schemas/<your schema here>/ folders.

At least for the gpkg folder there is no naming convention inside of this folders anymore.

The current version for SARA and Chile is the schemas/SARA_v1.0/SARA_v1.0_data.gpkg. You can replace this with a new file.

For adding the peru exposure model for peru you can just insert the gpkg file into the schemas/SARA_v1/ folder. But please make sure that the data there matches the very same structure of the existing gpkg data.

Tag summary

Content type

Image

Digest

sha256:729a1b47c…

Size

713.8 MB

Last updated

over 2 years ago

docker pull gfzriesgos/assetmaster