Details
-
Improvement
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.7
-
None
Description
The CRS.forCode(String) method accepts URL in the crs space, like below:
http://www.opengis.net/def/crs/epsg/0/4326
We need to also accept URL in the crs-compound space, like below:
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
It should be possible to use this kind of CRS in GML like below (example from U.K. MetOffice):
<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>
If using the URN syntax, then this is rather a comma-separated value list (more description in Definition identifier URNs in OGC namespace). Example:
urn:ogc:def:crs,crs:EPSG:6.3:27700,crs:EPSG:6.3:5701