Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

map all kw to new metadata #2173

Closed
5 of 27 tasks
mbernasocchi opened this issue Aug 13, 2015 · 4 comments
Closed
5 of 27 tasks

map all kw to new metadata #2173

mbernasocchi opened this issue Aug 13, 2015 · 4 comments
Milestone

Comments

@mbernasocchi
Copy link
Collaborator

adresses PR #2165
need to put the correct XML mappings for the following _standard_properties:

BaseMetadata:
  • title
  • license
  • scale
  • source
  • url
  • layer_mode
  • layer_geometry
  • keyword_version
  • scale
  • source
  • layer_purpose ---> this can be inferred from the class (ImpactLayerMetadata, AggregationLayerMetadata, HazardLayerMetadata, ExposureLayerMetadata)
HazardMetadata
  • hazard_category
  • hazard
  • continuous_hazard_unit
  • vector_hazard_classification
  • raster_hazard_classification
ExposureMetadata
  • exposure
  • exposure_unit
AggregationMetadata
  • aggregation attribute
  • adult ratio attribute
  • adult ratio default
  • elderly ratio attribute
  • elderly ratio default
  • female ratio attribute
  • female ratio default
  • youth ratio attribute
  • youth ratio default
@mbernasocchi
Copy link
Collaborator Author

added most, still to add the correct mappings to xml

@ismailsunni
Copy link
Member

hi @mbernasocchi what's the status of this PR?
Btw, can you update it with develop branch? There is a fix that makes your PR pass.

@ismailsunni
Copy link
Member

We also need to keyword for hazard:

value_map : to store the value mapping in hazard classification as dictionary. If it doesn't use classification, let it empty.
field: to store the field name for hazard. The field contains the value for the hazard or the classes.

In the future, we want to use hazard_field and hazard_value_map to replace them. See #2074 Or we can do it in this iteration.

For exposure:
structure_class_field: to store the field name for exposure layer.

@ismailsunni
Copy link
Member

Superseded in #2538

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants