Opened 12 years ago

Closed 12 years ago

#4110 closed defect (fixed)

Not possible to retrive a single pixel coverage

Reported by: jpassmore2 Owned by: sdlime
Priority: normal Milestone: 6.0.2 release
Component: WCS Server Version: svn-trunk (development)
Severity: normal Keywords: WCS trim subset
Cc: schpidi

Description

A WCS request (trimming/subsetting on two axes) to retrieve a single pixel like:

http://[server]?map=my.map&service=WCS&Request=GetCoverage&version=2.0.0&CoverageId=bgs_rs&format=image/png&subset=y(3050,3050)&subset=x(3533,3533)&

fails with error:

<?xml version="1.0" encoding="ISO-8859-1"?> <ows:ExceptionReport xmlns:ows="http://www.opengis.net/ows/2.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.0.0" xml:lang="en-US" xsi:schemaLocation="http://www.opengis.net/ows/2.0 http://schemas.opengis.net/ows/2.0/owsExceptionReport.xsd">

<ows:Exception exceptionCode="InvalidParameterValue" locator="request">

<ows:ExceptionText>msWCSParseSubset20(): WCS server error. Minimum value (3050.000000) of subset axis 'y' is larger than maximum value (3050.000000).</ows:ExceptionText>

</ows:Exception>

</ows:ExceptionReport>

Note:a request like http://[server]?map=my.map&service=WCS&Request=GetCoverage&version=2.0.0&CoverageId=bgs_rs&format=image/png&subset=y(3050,3051)&subset=x(3533,3534)&

returns a 2x2 pixel image

Change History (2)

comment:1 by schpidi, 12 years ago

Cc: schpidi added

comment:2 by schpidi, 12 years ago

Resolution: fixed
Status: newclosed

Thanks for reporting.

Resolved with r12847 in trunk and with r12848 in the 6.0 branch.

Note: See TracTickets for help on using tickets.