Opened 5 years ago

Closed 3 years ago

#188 closed defect (fixed)

URN-based identifiers recognized but not translated to URL in the definition

Reported by: pcampalani Owned by: dmisev
Priority: minor Milestone: 9.0
Component: secore Version: 8.3
Keywords: secore urn identifier Cc:
Complexity: Very Hard

Description

E.g.

<gml:ImageCRS xmlns:gml="http://www.opengis.net/gml" xmlns="http://www.opengis.net/gml" gml:id="img2D">
  <gml:identifier codeSpace="OGP">urn:ogc:def:crs:OGC:0.1:Image2D</gml:identifier>
  <gml:remarks>CRS for 2D pixel-domain referenced images.</gml:remarks>
  <gml:scope>Default CRS for 2D images that are referenced in the pixel domain.</gml:scope>
  <gml:CartesianCS gml:id="cartesian2D">
    <gml:identifier codeSpace="OGP">urn:ogc:def:cs:OGC:0.1:Cartesian2D</gml:identifier>
    <gml:axis>
      <gml:CoordinateSystemAxis gml:id="i" uom="http://kahlua.eecs.jacobs-university.de:8080/def/uom/OGC/1.0/GridSpacing">
        <gml:identifier codeSpace="OGP">urn:ogc:def:axis:OGC:0.1:i</gml:identifier>
        <gml:name>i</gml:name>
        <gml:axisAbbrev>i</gml:axisAbbrev>
        <gml:axisDirection codeSpace="OGP">horizontal</gml:axisDirection>
      </gml:CoordinateSystemAxis>
    </gml:axis>
    <gml:axis>
      <gml:CoordinateSystemAxis gml:id="j" uom="http://kahlua.eecs.jacobs-university.de:8080/def/uom/OGC/1.0/GridSpacing">
        <gml:identifier codeSpace="OGP">urn:ogc:def:axis:OGC:0.1:j</gml:identifier>
        <gml:name>j</gml:name>
        <gml:axisAbbrev>j</gml:axisAbbrev>
        <gml:axisDirection codeSpace="EPSG">vertical</gml:axisDirection>
      </gml:CoordinateSystemAxis>
    </gml:axis>
  </gml:CartesianCS>
  <gml:ImageDatum gml:id="imageDatum">
    <gml:identifier codeSpace="OGP">urn:ogc:def:datum:OGC:0.1:ImageDatumGridUpperLeft</gml:identifier>
    <gml:scope>A 2D image datum with the origin in the upper-left corner pixel of the grid.</gml:scope>
    <gml:pixelInCell codeSpace="OGP">urn:ogc:def:pixelInCell:OGC:0.1:cellLowerBound</gml:pixelInCell>
  </gml:ImageDatum>
</gml:ImageCRS>

is correctly ingested by SECORE, but when the definition is retrieved, urn:ogc:def:crs:OGC:0.1:Image2D is not translated to URI form (in particular in the URI specified by the service.url in the secore.conf file), and similarly none of the urn identifiers in the definition.

The uom must then be explicitly set to a reachable URL to let Petascope fecth its definition.

Change History (4)

comment:1 Changed 5 years ago by dmisev

Mihaela, please take a look at this.

comment:2 Changed 4 years ago by pbaumann

  • Milestone set to 9.0
  • Version set to 8.3

comment:3 Changed 3 years ago by dmisev

  • Complexity set to Very Hard
  • Owner changed from mrusu to dmisev
  • Status changed from new to assigned

Patch to be submitted

comment:4 Changed 3 years ago by dmisev

  • Resolution set to fixed
  • Status changed from assigned to closed

URNs are out of SECORE with the latest patch, so consider handling only URLs.

Note: See TracTickets for help on using tickets.