ows.gml package

Submodules

ows.gml.types module

class ows.gml.types.Grid(axes: List[Union[ows.gml.types.IndexAxis, ows.gml.types.RegularAxis, ows.gml.types.IrregularAxis]], srs: str)[source]

Bases: object

class ows.gml.types.IndexAxis(index_label: str, size: int)[source]

Bases: object

limits
class ows.gml.types.IrregularAxis(label: str, index_label: str, positions: List[Union[str, int, float, datetime.datetime, datetime.date]], uom: str, type: ows.gml.types.SpatioTemporalType = <SpatioTemporalType.SPATIAL: 1>)[source]

Bases: object

limits
size
type = 1
class ows.gml.types.RegularAxis(label: str, index_label: str, lower_bound: Union[str, int, float, datetime.datetime, datetime.date], upper_bound: Union[str, int, float, datetime.datetime, datetime.date], resolution: Union[str, int, float, datetime.timedelta], uom: str, size: int, type: ows.gml.types.SpatioTemporalType = <SpatioTemporalType.SPATIAL: 1>)[source]

Bases: object

limits
type = 1
class ows.gml.types.SpatioTemporalType[source]

Bases: enum.Enum

An enumeration.

OTHER = 3
SPATIAL = 1
TEMPORAL = 2

ows.gml.v32 module

ows.gml.v32.encode_bounded_by(grid: ows.gml.types.Grid) → lxml.etree._Element[source]
ows.gml.v32.encode_domain_set(grid: ows.gml.types.Grid, identifier: str) → lxml.etree._Element[source]
ows.gml.v32.encode_grid(grid: ows.gml.types.Grid, identifier: str) → lxml.etree._Element[source]
ows.gml.v32.encode_range_type(range_type: List[ows.swe.types.Field]) → lxml.etree._Element[source]
ows.gml.v32.encode_time_period(begin_position, end_position, identifier) → lxml.etree._Element[source]