InaSAFE Disaster risk assessment tool developed by AusAid - metadata module.
Contact : ole.moller.nielsen@gmail.com
Note
This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation; either version 2 of the License, or (at your option) any later version.
Bases: safe.metadata.base_metadata.BaseMetadata
Metadata class for impact layers
if you need to add a standard XML property that only applies to this subclass, do it this way. @property and @propname.setter will be generated automatically
} from safe.metadata.utils import merge_dictionaries _standard_properties = merge_dictionaries(
BaseMetadata._standard_properties, _standard_properties)
New in version 3.2.
Add a step to the provenance of the metadata
Parameters: |
|
---|
calls the overridden method and adds provenance and summary data
Returns: | dictionary representation of the metadata |
---|---|
Return type: | dict |
json representation of the metadata
Returns: | json representation of the metadata |
---|---|
Return type: | str |
Get the provenance elements of the metadata
there is no setter as provenance can only grow. use append_provenance_step to add steps
Returns: | The provenance element |
---|---|
Return type: | Provenance |
read metadata from json and set all the found properties.
Returns: | the read metadata |
---|---|
Return type: | dict |