Open desruisseaux opened 4 years ago
Proposal applied on Metadata.reference_system_info
:
Description of the spatial and temporal reference systems used in the dataset. The reference system may be:
CoordinateReferenceSystem
.ReferenceSystem
with the identifier
property (from ISO 19111) sets to a list of Identifier
values such as ["EPSG::4326"]
.referenceSystemIdentifier
property (from ISO 19115) sets to a single Identifier
value such as "EPSG::4326"
, optionally with a referenceSystemType
property sets to a value such as geodeticGeographic2D
, compoundProjectedTemporal
, etc.ISO 19115-1:2014/Amd 2:2020 adds the following properties in ReferenceSystem
:
crs
of type ISO 19111 CRS
.coordinateEpoch
If we keep the current GeoAPI approach, which is to use RS_ReferenceSystem
as the base class of CRS
instead of using MD_ReferenceSystem
as a container class for a crs
property, then above ISO 19115/Amd 2 does not apply. See #77 for discussion about those amendments.
ISO 19115-1 figure 12 defines
MD_ReferenceSystem
with two properties: anIdentifier
and aMD_ReferenceSystemTypeCode
(a code list - see #50). A note said: _"Refer to SCCRS in ISO 19111 when coordinate reference system information is not given through reference system identifier." However there is no details about how to reference ISO 19111. In particularMD_ReferenceSystem
has no field forSC_CRS
.In order to allow reference to ISO 19111 and also in order to reduce overlapping between standards, GeoAPI 3.0 uses ISO 19111
RS_ReferenceSystem
instead of ISO 19115MD_ReferenceSystem
. It allows us to reference ISO 19111 sinceSC_CRS
is a subtype ofRS_ReferenceSystem
. If user wants to specify only the identifier, this is possible by usingReferenceSystem.getIdentifiers()
. There is currently no way to get the CRS type however, except the way described in #50.We should clarify the following:
SC_CRS
).ReferenceSystem
type appears in:base.py
:Metadata.reference_system_info
(as a sequence)representation.py
:GCPCollection.coordinate_reference_system
lineage.py
:Source.source_reference_system