Opened 12 years ago

Closed 11 years ago

#213 closed defect (fixed)

When subsetting in WCS the bbox is not updated

Reported by: Dimitar Misev Owned by: Piero Campalani
Priority: major Milestone: 8.4
Component: petascope Version: 8.3
Keywords: Cc:
Complexity: Medium

Description

When subsetting in WCS the geo bounding box is not updated, e.g. for request

...&subset=x(-117.128,-117.126555)

the result GML has this bbox:

  <boundedBy>
    <Envelope srsName="http://www.opengis.net/def/crs/EPSG/0/4326" axisLabels="x y" uomLabels="" srsDimension="2">
      <lowerCorner>-117.1290045045 32.777995798319</lowerCorner>
      <upperCorner>-117.1259954955 32.781004201681</upperCorner>
    </Envelope>
  </boundedBy>

the pixel bbox is updated properly though:

        <GridEnvelope>
          <low>111 0</low>
          <high>271 357</high>
        </GridEnvelope>

Change History (2)

comment:1 by Piero Campalani, 12 years ago

Ok, Peter confirmed that the gml:boundedBy serves as a shortcut for the bounding box of the requested coverage.
I will take care of this one.

comment:2 by Piero Campalani, 11 years ago

Resolution: fixed
Status: newclosed

Ok, this is fixed in:

commit 4116692b33261676d9d38e0e7ca1bbe3e8d8c7b5
Author: Piero Campalani <cmppri@unife.it>
Date:   Mon Nov 5 11:58:41 2012 +0100

    Fix gml:boundedBy in WCS GetCoverage responses (ticket #213).
Note: See TracTickets for help on using tickets.