[
https://issues.apache.org/jira/browse/SIS-558?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Desruisseaux resolved SIS-558.
-------------------------------------
Resolution: Fixed
In current version, {{CRS.forCode(String)}} will recognize only the identifiers
listed in above table with OGC namespace.
> Allow instantiation of temporal CRS by identifiers
> --------------------------------------------------
>
> Key: SIS-558
> URL: https://issues.apache.org/jira/browse/SIS-558
> Project: Spatial Information Systems
> Issue Type: Improvement
> Components: Referencing
> Affects Versions: 1.2
> Reporter: Martin Desruisseaux
> Assignee: Martin Desruisseaux
> Priority: Major
> Fix For: 1.3
>
>
> Apache SIS already support the temporal CRS listed in the "name" column of
> following table. Those CRS are defined in `CommonCRS.Temporal` enumeration:
> ||Name ||Identifier ||
> |Julian |OGC:JulianDate |
> |Dublin Julian |SIS:DublinJulian |
> |Modified Julian |SIS:ModifiedJulianDate |
> |Truncated Julian |OGC:TruncatedJulianDate |
> |Unix/POSIX time |OGC:UnixTime |
> |Java time |SIS:JavaTime |
> However there is currently no way to instantiate those CRS by a call to
> `CRS.forCode(String)` or to get their URN by a call to
> `IdentifiedObjects.lookupURN(…)`. We should add the identifiers listed in the
> "Identifier" column of above column and make sure that they are recognized by
> above-cited API.
> Some of those CRS appear in the [OGC Definitions
> Server|http://www.opengis.net/def/crs/OGC/0]. Those CRS are given the "OGC"
> namespace. Other CRS are (for now) specific to Apache SIS and given the "SIS"
> namespace. The latter may be changed to "OGC" in any future version if those
> CRS become defined by OGC.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)