module documentation

QGIS project xml parser.

Class Caps Undocumented
Class PrintTemplate Undocumented
Class PrintTemplateElement Undocumented
Function parse Undocumented
Function parse_datasource Undocumented
Function parse_element Undocumented
Function _add_dict Undocumented
Function _datasource_amp_delimited Undocumented
Function _datasource_space_delimited Undocumented
Function _extent_from_atts Undocumented
Function _extent_from_tag Undocumented
Function _layer_datasource Undocumented
Function _layer_metadata Undocumented
Function _layer_tree Undocumented
Function _layout_element Undocumented
Function _map_layer Undocumented
Function _map_layers Undocumented
Function _metadata Undocumented
Function _parse_datasource Undocumented
Function _parse_float Undocumented
Function _parse_int Undocumented
Function _parse_msize Undocumented
Function _print_templates Undocumented
Function _project_metadata Undocumented
Function _properties Undocumented
Function _props Undocumented
Constant _LAYOUT_TYPES Undocumented
Constant _LT0 Undocumented
Variable _contact_mapping Undocumented
Variable _meta_mapping Undocumented
Variable _QGraphicsItem_UserType Undocumented
def parse(xml: str) -> Caps: (source)

Undocumented

def parse_datasource(prov, text): (source)

Undocumented

def parse_element(root_el: gws.IXmlElement) -> Caps: (source)

Undocumented

def _add_dict(dst, src, mapping): (source)

Undocumented

def _datasource_amp_delimited(text): (source)

Undocumented

def _datasource_space_delimited(text): (source)

Undocumented

def _extent_from_atts(el): (source)

Undocumented

def _extent_from_tag(el): (source)

Undocumented

def _layer_datasource(layer_el: gws.IXmlElement) -> dict: (source)

Undocumented

def _layer_metadata(layer_el) -> gws.Metadata: (source)

Undocumented

def _layer_tree(el: gws.IXmlElement, layers_dct): (source)

Undocumented

def _layout_element(item_el: gws.IXmlElement): (source)

Undocumented

def _map_layer(layer_el: gws.IXmlElement): (source)

Undocumented

def _map_layers(root_el: gws.IXmlElement, properties) -> dict[str, gws.SourceLayer]: (source)

Undocumented

Undocumented

def _parse_datasource(text): (source)

Undocumented

def _parse_float(s): (source)

Undocumented

def _parse_int(s): (source)

Undocumented

def _parse_msize(s): (source)

Undocumented

def _print_templates(root_el: gws.IXmlElement): (source)

Undocumented

def _project_metadata(root_el) -> gws.Metadata: (source)

Undocumented

def _properties(root_el: gws.IXmlElement): (source)

Undocumented

def _props(el): (source)

Undocumented

_LAYOUT_TYPES = (source)

Undocumented

Value
{(_LT0+0): 'item',
 (_LT0+1): 'group',
 (_LT0+2): 'page',
 (_LT0+3): 'map',
 (_LT0+4): 'picture',
 (_LT0+5): 'label',
 (_LT0+6): 'legend',
...

Undocumented

Value
_QGraphicsItem_UserType+100
_contact_mapping: list = (source)

Undocumented

_meta_mapping: list = (source)

Undocumented

_QGraphicsItem_UserType: int = (source)

Undocumented