gws.gis.bounds

class gws.gis.bounds.Bounds(*args, **kwargs)[source]
gws.gis.bounds.from_request_bbox(s: str, target_crs: str = None, swap4326: bool = False) → Optional[gws.types.Bounds][source]

Create Bounds from a KVP BBOX param.

See:

OGC 06-121r9, 10.2.3 Bounding box KVP encoding

gws.gis.bounds.from_gml_envelope_element(el: gws.tools.xml2.Element)[source]

Create Bounds from a gml:Envelope

gws.gis.bounds.transformed_to(b: gws.types.Bounds, crs: str) → gws.types.Bounds[source]