[gdal-dev] Bounding box restriction in WCS driver

Lúbia Vinhas lubia_vinhas at yahoo.com.br
Thu Mar 20 15:26:48 EDT 2008


Hi,

I'm trying to use the GDAL driver to access a WCS server,
and it worked fine. Except that it seems that it doesn't recognize
the bounding box restriction... it always returns the entire coverage.

I tried two different descriptions for the coverage:

1)  using the GDAL elements:

<WCS_GDAL>
<ServiceURL>http://nsidc.org/cgi-bin/atlas_north?SERVICE=WCS&amp;request=GetCoverage&amp;crs=EPSG:32661</ServiceURL>
<CoverageName>sea_ice_concentration_01</CoverageName>
<PreferredFormat>GeoTIFF</PreferredFormat>
<GetCoverageExtra>&amp;resx=25000&amp;resy=25000&amp;bbox=-2500000,-2500000,6700000,6700000</GetCoverageExtra> 
</WCS_GDAL>

2) setting the parameters in the serviceURL  element:
<WCS_GDAL>
<ServiceURL>http://nsidc.org/cgi-bin/atlas_north?SERVICE=WCS&amp;request=GetCoverage&amp;crs=EPSG:32661&amp;format=GeoTIFF&amp;resx=25000&amp;resy=25000&amp;bbox=-2500000,-2500000,6700000,6700000</ServiceURL>
<CoverageName>sea_ice_concentration_01</CoverageName>
</WCS_GDAL>

I always get the entire coverage, even when I specify a smaller BB. The server
works fine, I mean it responds to different bounding boxes or resolutions when
being accessed by other clients. 

Can anyone give me a hint about it?

Tks,

Lúbia VInhas
       
---------------------------------
Abra sua conta no Yahoo! Mail, o único sem limite de espaço para armazenamento! 
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/gdal-dev/attachments/20080320/1ef505ee/attachment.html


More information about the gdal-dev mailing list