[
https://issues.apache.org/jira/browse/SIS-490?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17809138#comment-17809138
]
Martin Desruisseaux commented on SIS-490:
-----------------------------------------
Actually, the above code snippet already works, presumably since SIS 0.8.
However, a verbatim copy-and-paste of that code fails because of hidden
characters (probably Unicode no break spaces). Maybe we should add some code
for trimming those hidden characters.
> Compound CRS creation through codes: OGC/Time
> ---------------------------------------------
>
> Key: SIS-490
> URL: https://issues.apache.org/jira/browse/SIS-490
> Project: Spatial Information Systems
> Issue Type: Improvement
> Components: Referencing
> Affects Versions: 1.0
> Reporter: Alexís Manin
> Assignee: Martin Desruisseaux
> Priority: Minor
> Labels: enhancement
>
> The aim is to improve support of CRS URIs through method
> [CRS.forCode|https://sis.apache.org/apidocs/org/apache/sis/referencing/CRS.html#forCode(java.lang.String)]
> method.
> The aim is to allow interpretation of OGC CRS Urls like
> http://www.opengis.net/def/crs/OGC/0/JulianDate.
> By doing so, we would be able to create multi-dimensional crss like:
> {code:java}
> CRS.forCode("urn:ogc:def:crs,crs:OGC::84,crs:EPSG::5714,crs:OGC::JulianDate")
> {code}
> or
> {code:java}
> CRS.forCode(
> "http://www.opengis.net/def/crs-compound?"+
> "1=http://www.opengis.net/def/crs/epsg/0/4326&"+
> "2=http://www.opengis.net/def/crs/OGC/0/JulianDate"
> )
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)