module documentation

GML geometry parsers.

Exception Error Undocumented
Function is_geometry_element Undocumented
Function parse_envelope Parse a gml:Box/gml:Envelope element
Function parse_geometry Convert a GML geometry element to a geometry dict.
Function parse_shape Convert a GML geometry element to a Shape.
Function _coords Undocumented
Function _coords_coordinates Undocumented
Function _coords_pos Undocumented
Function _coords_poslist Undocumented
Function _members Undocumented
Function _rings Undocumented
Function _to_geom Undocumented
Constant _GEOMETRY_TAGS Undocumented
def is_geometry_element(el: gws.IXmlElement): (source)

Undocumented

def parse_envelope(el: gws.IXmlElement, default_crs: gws.ICrs = None, always_xy=False) -> gws.Bounds: (source)

Parse a gml:Box/gml:Envelope element

def parse_geometry(el: gws.IXmlElement) -> dict: (source)

Convert a GML geometry element to a geometry dict.

def parse_shape(el: gws.IXmlElement, default_crs: gws.ICrs = None, always_xy=False) -> gws.IShape: (source)

Convert a GML geometry element to a Shape.

def _coords(any_el): (source)

Undocumented

def _coords_coordinates(el): (source)

Undocumented

def _coords_pos(el): (source)

Undocumented

def _coords_poslist(el): (source)

Undocumented

def _members(multi_el: gws.IXmlElement): (source)

Undocumented

def _rings(poly_el): (source)

Undocumented

Undocumented

_GEOMETRY_TAGS: set[str] = (source)

Undocumented

Value
set(['curve',
     'linearring',
     'linestring',
     'linestringsegment',
     'multicurve',
     'multilinestring',
     'multipoint',
...