GeoAPI provides a set of interfaces in programming languages (currently Java and Python) for geospatial applications. The GeoAPI interfaces closely follow OGC specifications, adaptated to match the expectations of programmers.
The MD_ReferenceSystemTypeCode code list defined by ISO 19115-1 is currently not transposed in GeoAPI. That code list has been excluded in current draft because the same functionality can be achieved in the Java language with instanceof statements. For example:
Equivalence for MD_ReferenceSystemTypeCode.projected:
crs instanceof ProjectedCRS
Equivalence for MD_ReferenceSystemTypeCode.geodeticGeographic2D:
etc. Admittedly those equivalences can become complicated. Despite that equivalences exist, we should probably not rely on them and introduce the missing MD_ReferenceSystemTypeCode. Descriptions of that code list can be seen there:
The
MD_ReferenceSystemTypeCode
code list defined by ISO 19115-1 is currently not transposed in GeoAPI. That code list has been excluded in current draft because the same functionality can be achieved in the Java language withinstanceof
statements. For example:Equivalence for
MD_ReferenceSystemTypeCode.projected
:Equivalence for
MD_ReferenceSystemTypeCode.geodeticGeographic2D
:Equivalence for
MD_ReferenceSystemTypeCode.compoundProjectedTemporal
:etc. Admittedly those equivalences can become complicated. Despite that equivalences exist, we should probably not rely on them and introduce the missing
MD_ReferenceSystemTypeCode
. Descriptions of that code list can be seen there: