Skip to content

coordinate module

This is the coordinates module.

This module contains geographic metadata structures derived from the Coordinates package in the ISO 19111:2019 international standard.

CoordinateMetadata

Bases: ABC

Metadata required to reference coordinates.

Source code in opengis/referencing/coordinate.py
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
class CoordinateMetadata(ABC):
    """
    Metadata required to reference coordinates.
    """

    @property
    @abstractmethod
    def coordinate_referencea_system(self) -> CoordinateReferenceSystem:
        """
        Identifier of the coordinate reference system to which a coordinate
        set is referenced.
        """

    @property
    @abstractmethod
    def coordinate_epoch(self) -> Optional[DataEpoch]:
        """
        Epoch at which coordinate referenced to a dynamic CRS are valid.

        MANDATORY: if the coordinate reference system is dynamic.
        """

coordinate_epoch: Optional[DataEpoch] abstractmethod property

Epoch at which coordinate referenced to a dynamic CRS are valid.

MANDATORY: if the coordinate reference system is dynamic.

coordinate_referencea_system: CoordinateReferenceSystem abstractmethod property

Identifier of the coordinate reference system to which a coordinate set is referenced.

CoordinateSet

Bases: ABC

Description of the coordinate tuples in a coordinate set. A single coordinate tuple is treated as a special case of coordinate set containing only one member.

Source code in opengis/referencing/coordinate.py
53
54
55
56
57
58
59
60
61
62
63
class CoordinateSet(ABC):
    """
    Description of the coordinate tuples in a coordinate set. A single
    coordinate tuple is treated as a special case of coordinate set containing
    only one member.
    """

    @property
    @abstractmethod
    def coordinate_tuple(self) -> Sequence[DirectPosition]:
        """Position described by a coordinate tuple."""

coordinate_tuple: Sequence[DirectPosition] abstractmethod property

Position described by a coordinate tuple.

DataEpoch

Bases: ABC

Time attribute of a coordinate set that is referenced to a dynamic CRS.

Source code in opengis/referencing/coordinate.py
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
class DataEpoch(ABC):
    """
    Time attribute of a coordinate set that is referenced to a dynamic CRS.
    """

    @property
    @abstractmethod
    def coordinate_epoch(self) -> Measure:
        """
        The date at which coordinates are referenced to a dynamic coordinate
        reference system, expressed as a decimal year in the Gregorian
        calendar.

        EXAMPLE: 2017-03-25 in the Gregorian calendar is epoch 2017.23.
        """

coordinate_epoch: Measure abstractmethod property

The date at which coordinates are referenced to a dynamic coordinate reference system, expressed as a decimal year in the Gregorian calendar.

EXAMPLE: 2017-03-25 in the Gregorian calendar is epoch 2017.23.