Module: safe.storage.layer
Class Layer
-
class safe.storage.layer.Layer(name=None, projection=None, keywords=None, style_info=None, sublayer=None)[source]
Common class for geospatial layers
-
get_impact_summary()[source]
Return ‘impact_summary’ keyword if present. Otherwise ‘’.
-
get_keywords(key=None)[source]
Return a copy of the keywords dictionary
- Args:
- key (optional): If specified value will be returned for key only
-
get_projection(proj4=False)[source]
Return projection of this layer as a string
-
get_style_info()[source]
Return style_info dictionary
This module forms part of the InaSAFE tool.