[gdal-dev] WCS_GDAL Driver Image SubSet Request

1520 gis juliermeopensourcedeveloper at gmail.com
Mon Nov 9 06:06:28 PST 2020


Hi all,

Is it possible to define a bounding box in order to request a coverage
subset using the GDAL WCS Driver?
I have tried the code in [1]. I  am trying to get information only for the
bbox_interest=( -58,-11,-57.75,-10.75) as shown below, however the subset
image or bbox_interest request has not been delivered. The West Longitude
reaches -50.17 and The Lower Latitude reaches -18.92 which are limits out
of the bbox_interest.
The image extent is:
<GetCoverageExtra>&BoundingBox=-63.280290728152664,-13.794296142085976,-53.624004749255874,-5.636644661059637</GetCoverageExtra>
 Any comment on this issue will be greatly appreciated.
Thank you very much for your time in advance.
*CODE [1]:*

<WCS_GDAL>
<ServiceURL>http://172.21.14.45:6060/geoserver/wcs?version=1.0.0&</
ServiceURL>
<CoverageName>cbers_deter_amazonia:CBERS-4_AWFI_170_111_21052020</
CoverageName>
<GetCoverageExtra>&BoundingBox=-58,-11,-57.75,-10.75</GetCoverageExtra>
<CoverageOffering>
<description>Generated from GeoTIFF</description>
<name>cbers_deter_amazonia:CBERS-4_AWFI_170_111_21052020</name>
<label>CBERS-4_AWFI_170_111_21052020</label>
<lonLatEnvelope srsName="urn:ogc:def:crs:OGC:1.3:CRS84">
<pos>-58 -11</pos>
<pos>-57.75 -10.75</pos>
</lonLatEnvelope>
<keywords>
<keyword>WCS</keyword>
<keyword>GeoTIFF</keyword>
</keywords>
<domainSet>
<spatialDomain>
<Envelope srsName="EPSG:4326">
<pos>-58 -11</pos>
<pos>-57.75 -10.75</pos>
</Envelope>
<RectifiedGrid dimension="2" srsName="EPSG:4326">
<limits>
<GridEnvelope>
<low>0 0</low>
<high>0 0</high>
</GridEnvelope>
</limits>
<axisName>x</axisName>
<axisName>y</axisName>
<origin>
<pos>-58 -10.75</pos>
</origin>
<offsetVector>0.005364603321609328 0.0</offsetVector>
<offsetVector>0.0 -0.004532028600570188</offsetVector>
</RectifiedGrid>
</spatialDomain>
</domainSet>
<rangeSet>
<RangeSet>
<name>CBERS-4_AWFI_170_111_21052020</name>
<label>CBERS-4_AWFI_170_111_21052020</label>
<axisDescription>
<AxisDescription>
<name>Band</name>
<label>Band</label>
<values>
<interval>
<min>1</min>
<max>4</max>
</interval>
</values>
</AxisDescription>
</axisDescription>
</RangeSet>
</rangeSet>
<supportedCRSs>
<requestResponseCRSs>EPSG:4326</requestResponseCRSs>
</supportedCRSs>
<supportedFormats nativeFormat="GeoTIFF">
<formats>GeoTIFF</formats>
<formats>GIF</formats>
<formats>JPEG</formats>
<formats>PNG</formats>
<formats>TIFF</formats>
</supportedFormats>
<supportedInterpolations default="nearest neighbor">
<interpolationMethod>nearest neighbor</interpolationMethod>
<interpolationMethod>bilinear</interpolationMethod>
<interpolationMethod>bicubic</interpolationMethod>
</supportedInterpolations>
</CoverageOffering>
<PreferredFormat>GeoTIFF</PreferredFormat>
<BandCount>4</BandCount>
<BandType>Byte</BandType>
</WCS_GDAL>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201109/b2180b57/attachment-0001.html>


More information about the gdal-dev mailing list