weaver.ogc_definitions
Utilities for handling OGC API and OWS conformance classes and definitions.
Module Contents
- weaver.ogc_definitions.normalize(uri: str, version: str | None = None, secure: bool = False) str[source]
Normalize URI from various formats, such as CURIE, URN or HTTP(S).
Version
0is considered an alias for any version in the OGC definitions. However, link relations and profiles use1.0instead. For OGC API conformance classes, they depend on the actual release as applicable. The default is applied accordingly ifNone.See also
See opengeospatial/NamingAuthority#120 for more details.
- weaver.ogc_definitions.OGC_DEF_CRS_CRS84_LEGACY_URI = 'http://www.opengis.net/def/crs/CRS/0/84'[source]
- weaver.ogc_definitions.OGC_DEF_CRS_CRS84_URI = 'http://www.opengis.net/def/crs/OGC/1.3/CRS84'[source]
- weaver.ogc_definitions.OGC_DEF_CRS_CRS84H_URI = 'http://www.opengis.net/def/crs/OGC/0/CRS84h'[source]
- weaver.ogc_definitions.OGC_DEF_CRS_OGC_CRS84_URN = 'http://www.opengis.net/def/crs/OGC/1.3/CRS84'[source]