Opened 12 years ago
Closed 10 years ago
#281 closed defect (fixed)
WCS GML response when all dimensions of a coverage are sliced
Reported by: | Piero Campalani | Owned by: | Piero Campalani |
---|---|---|---|
Priority: | critical | Milestone: | 9.0.x |
Component: | petascope | Version: | 9.0 |
Keywords: | gml slice 0D | Cc: | Dimitar Misev, abeccati, Peter Baumann |
Complexity: | Medium |
Description
Currently, when all dimensions are sliced in a WCS GetCoverage, the gml:Envelope
(in the geo-domain) and gml:GridEnvelope
(in the pixel-domain) report the whole bbox of the coverage.
See:
http://localhost:8080/petascope/?service=WCS&version=2.0.0&request=GetCoverage&coverageid=mean_summer_airtemp&subset=x(115)&subset=y(-40)
As metadata on dimensions which are sliced is removed from a response, the problem is how to report a 0D single-pixel coverage in a GML response when all dimensions are sliced in the request.
Change History (13)
comment:1 by , 12 years ago
Keywords: | gml slice 0D added |
---|
comment:2 by , 12 years ago
Milestone: | 9.0 → 8.4 |
---|
comment:3 by , 12 years ago
comment:4 by , 12 years ago
The 'dimension'
attribute must be >0, so this notation is not valid.
Still discussing whether to throw an exception or not in this case.
comment:5 by , 12 years ago
Type: | task → defect |
---|
So, bottom line: for extracting values someone might want to do that, but current GML definition does not allow it. Suggest to return a 0D coverage, for user convenience, and accept that it will violate a minor GML coverage rule.
comment:6 by , 12 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Ticket addressed in 8a14df2.
comment:7 by , 11 years ago
Complexity: | → Very Hard |
---|---|
Resolution: | fixed |
Status: | closed → reopened |
Re-opening since full-slicing is broken on referenceable grids.
comment:8 by , 11 years ago
Complexity: | Very Hard → Medium |
---|---|
Milestone: | 8.4 → 9.0.x |
Status: | reopened → accepted |
Version: | 8.3 → 9.0.0 |
comment:9 by , 11 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
0D GML encoding for referenceable grids fixed in changeset:d5eca14.
comment:10 by , 10 years ago
Resolution: | fixed |
---|---|
Status: | closed → reopened |
Re-opening as:
- having dimension attribute to 0 is not complaint, as said already in comment:4
- it seems a valid (compliant) and also more elegant solution to provide an empty domain set in case of 0-dimensional coverage.
comment:11 by , 10 years ago
Status: | reopened → accepted |
---|
comment:12 by , 10 years ago
Priority: | minor → critical |
---|
Raising priority since this breaks WCS compliance (patch submitted already anyway).
comment:13 by , 10 years ago
Resolution: | → fixed |
---|---|
Status: | accepted → closed |
0D domain set fixed in changeset:2cd0654.
Our proposed solution is to set the
dimension
attribute of the grid to 0 and simply leave the topology completely empty, removing the optional attributes (likesrsName
,srsDimension
, etc.), like in the following example: