Opened 5 years ago

Closed 4 years ago

#284 closed defect (fixed)

gml:origin and gml:offsetVectors are wrong for non-2D coverages

Reported by: pcampalani Owned by: pcampalani
Priority: major Milestone: 8.4
Component: petascope Version: 8.3
Keywords: origin offsetvector dimensionality Cc: abeccati


In WCS DescribeCoverage and GetCoverage responses, although gml:Envelope and gml:GridEnvelope are correct, the gml:origin and gml:offsetVector elements (RectifiedGridCoverages) have wrong dimensionality.

E.g., for a 3D coverage (eobstest) they are 2D:

  <RectifiedGrid dimension="3" gml:id="eobstest-grid">
        <low>0 0 0</low>
        <high>5 100 231</high>
    <axisLabels>t x y</axisLabels>
      <gml:Point gml:id="eobstest-origin" srsName="">
        <gml:pos>25.0 -40.0</gml:pos>
    <gml:offsetVector srsName="">0 0.5</gml:offsetVector>
    <gml:offsetVector srsName="">0.5 0</gml:offsetVector>

For a 1D coverage it they are not reported:

  <RectifiedGrid dimension="1" gml:id="OneD-grid">

Change History (3)

comment:1 Changed 5 years ago by pcampalani

In this case, being origin and offsetVectors mandatory elements in a RectifiedGrid, the proposed solution is to list the proper values with proper dimensionality, while setting a compound CRS name in the form:

comment:2 Changed 5 years ago by abeccati

  • Status changed from new to assigned

Then the use of such crs values should clearly be marked as "Experimental" until a corresponding standard is approved. Indeed I see no other way of providing complete and consistent output for 1 and 3+ dimensions.
This is also backward compatible behavior for 2D coverages I think

PS: accept or reassign tickets to yourself when working on them so we know "new" and "reopened" ones are looking for care.

comment:3 Changed 4 years ago by pcampalani

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

Ticket addressed in 5bd2f3.

Note: See TracTickets for help on using tickets.