Uploaded image for project: 'Spatial Information Systems'
  1. Spatial Information Systems
  2. SIS-341

Support "crs-compound" in URLs

    XMLWordPrintableJSON

Details

    • Improvement
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 0.7
    • 0.8
    • Referencing
    • 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&amp;
                             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
      

      Attachments

        Issue Links

          Activity

            People

              desruisseaux Martin Desruisseaux
              desruisseaux Martin Desruisseaux
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: