module documentation
Parse utilities for OWS XML files.
Function | default |
Undocumented |
Function | element |
Undocumented |
Function | parse |
Undocumented |
Function | service |
Undocumented |
Function | service |
Undocumented |
Function | supported |
Enumerate supported CRS for a Layer/FeatureType element. |
Function | to |
Undocumented |
Function | to |
Undocumented |
Function | to |
Undocumented |
Function | wgs |
Read WGS bounding box from a Layer/FeatureType element. |
Function | _contact |
Undocumented |
Function | _element |
Undocumented |
Function | _parse |
Undocumented |
Function | _parse |
Undocumented |
Function | _parse |
Undocumented |
Function | _parse |
Undocumented |
Variable | _contact |
Undocumented |
def supported_crs(layer_el:
gws.IXmlElement
, extra_crs_ids: list[ str]
= None) -> list[ gws.ICrs]
:
(source)
¶
Enumerate supported CRS for a Layer/FeatureType element.
For WMS, enumerates CRS/SRS and BoundingBox tags, for OWS, DefaultCRS and OtherCRS.
Parameters | |
layergws.IXmlElement | 'Layer' or 'FeatureType' element. |
extralist[ | additional CRS ids. |
Returns | |
list[ | A list of Crs objects. |
Read WGS bounding box from a Layer/FeatureType element.
Extracts coordinates from EX_GeographicBoundingBox (WMS), WGS84BoundingBox (OWS) or LatLonBoundingBox. For the latter, assume x=longitude, y=latitude, as per OGC 01-068r3, 6.5.6.
Parameters | |
layergws.IXmlElement | 'Layer' or 'FeatureType' element. |
Returns | |
t.Optional[ | WGS Bounds object. |