[
https://issues.apache.org/jira/browse/SIS-341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Martin Desruisseaux resolved SIS-341.
-------------------------------------
Resolution: Fixed
Implemented on JDK8 branch as of revision 1812190.
> Support "crs-compound" in URLs
> ------------------------------
>
> Key: SIS-341
> URL: https://issues.apache.org/jira/browse/SIS-341
> Project: Spatial Information Systems
> Issue Type: Improvement
> Components: Referencing
> Affects Versions: 0.7
> Reporter: Martin Desruisseaux
> Assignee: Martin Desruisseaux
> Fix For: 0.8
>
>
> The {{CRS.forCode(String)}} method accepts URL in the {{crs}} space, like
> below:
> {noformat}
> http://www.opengis.net/def/crs/epsg/0/4326
> {noformat}
> We need to also accept URL in the {{crs-compound}} space, like below:
> {noformat}
> http://www.opengis.net/def/crs-compound?
> 1=http://http://www.opengis.net/def/crs/OGC/0/AnsiDate&
> 2=http://www.codes.wmo.int/GRIB2/table4.5/IsobaricSurface
> {noformat}
> It should be possible to use this kind of CRS in GML like below (example from
> U.K. MetOffice):
> {code:xml}
> <cis:envelope srsName="http://www.opengis.net/def/crs-compound?
>
> 1=http://http://www.opengis.net/def/crs/OGC/0/AnsiDate&
>
> 2=http://www.codes.wmo.int/GRIB2/table4.5/IsobaricSurface"
> axisLabels="Time pressure" srsDimension="2">
> <cis:axisExtent axisLabel="Time" uomLabel="ISO8601" lowerBound="PT0H"
> upperBound="PT48H" />
> <cis:axisExtent axisLabel="pressure" uomLabel="hPa" lowerBound="1000.0"
> upperBound="200.00" />
> </cis:envelope>
> {code}
> If using the URN syntax, then this is rather a comma-separated value list
> (more description in [Definition identifier URNs in OGC
> namespace|http://portal.opengeospatial.org/files/?artifact_id=24045]).
> Example:
> {code}
> urn:ogc:def:crs,crs:EPSG:6.3:27700,crs:EPSG:6.3:5701
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)