Opened 12 years ago

Closed 11 years ago

#188 closed defect (fixed)

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

Reported by: Piero Campalani Owned by: Dimitar Misev
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 by Dimitar Misev, 12 years ago

Mihaela, please take a look at this.

comment:2 by Peter Baumann, 12 years ago

Milestone: 9.0
Version: 8.3

comment:3 by Dimitar Misev, 11 years ago

Complexity: Very Hard
Owner: changed from mrusu to Dimitar Misev
Status: newassigned

Patch to be submitted

comment:4 by Dimitar Misev, 11 years ago

Resolution: fixed
Status: assignedclosed

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

Note: See TracTickets for help on using tickets.