Hi,

I made some final tests with default Geoserver installation and nurc:Arc_sample 
coverage.

Adding extra parameters is possible and "&" must be written as XML encoded.

<WCS_GDAL>
  
<ServiceURL>http://localhost:8080/geoserver/wcs?version=1.0.0&amp;</ServiceURL>
  <CoverageName>nurc:Arc_Sample</CoverageName>
  
<GetCoverageExtra>&amp;BoundingBox=65.0104,31.1977,65.3287,31.4623</GetCoverageExtra>
</WCS_GDAL>

This perhaps work because of o tweak and possible Geoserver bug. Notice that 
version in 1.0.0. and bbox is given as BoundingBox. This results to following 
GetCoverage and BoundingBox may override on Geoserver side the automatically 
added BBOX.

http://localhost:8080/geoserver/wcs?version=1.0.0&SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&COVERAGE=nurc%3AArc_Sample&FORMAT=GeoTIFF&BBOX=-180,-90,180,90&WIDTH=720&HEIGHT=360&CRS=EPSG:4326&BoundingBox=65.0104,31.1977,65.3287,31.4623&Band=1
 


However, GDAL WCS source is not meant to be used this way. GDAL reads 
DescribeCoverage and the advertised BBOX from there. You just must learn to use 
GDAL and add the projected window that you want to read from the coverage.  
Gdal-dev mailing list will help you in how to do that. Believe me that tweaking 
with BBOX in the XML definition file is not the right thing.

-Jukka Rahkonen-

Lähettäjä: Rahkonen Jukka [[email protected]]
Lähetetty: 6. joulukuuta 2013 1:01
Vastaanottaja: [email protected]
Aihe: Re: [Geoserver-users] Define GeoServer bounding box using GDAL's WCS 
Driver

Little more information: GDAL is sending first this request with your sample 
WCS.XML

GET 
http://myserver/geoserver/wcs?SERVICE=WCS&REQUEST=DescribeCoverage&VERSION=1.1.0&IDENTIFIERS=MyWorkspace:MyCoverage&FORMAT=text/xml

If you are on Windows, do this for debugging yourself:

- Install Fiddler2
- Open the GDAL command window
- set proxy with
SET HTTP_PROXY http://localhost:8888

Then do
gdal_translate -of GTiff wcs.xml temp.tif

and study what Fiddler shows you about the web traffic.

-Jukka-
------------------------------------------------------------------------------
Sponsored by Intel(R) XDK
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
Sponsored by Intel(R) XDK 
Develop, test and display web and hybrid apps with a single code base.
Download it for free now!
http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to