Hi
I just tried the example given in the geoserver documentation 
(http://docs.geoserver.org/stable/en/user/services/wcs/vendor.html). The 
example works for GetCapabilties but doesn't work for GetCoverage. 
Then I tried the following request:
http://localhost:8080/geoserver/wcs?service=WCS&version=1.0.0&request=GetCoverage&coverage=f_not_all&bbox=-10,52,10,60&crs=EPSG:4326&format=geotiff&resx=10&resy=10
 
The response is:
<?xml version="1.0" encoding="UTF-8"?><ServiceExceptionReport version="1.2.0" 
xmlns="http://www.opengis.net/ogc"; 
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"; 
xsi:schemaLocation="http://www.opengis.net/ogc 
http://localhost:8080/geoserver/schemas/wcs/1.0.0/OGC-exception.xsd";>   
<ServiceException code="problem with CoverageResults">
      org.vfny.geoserver.wcs.WcsException: Neither Grid Size nor Grid 
Resolution have been specified.
Neither Grid Size nor Grid Resolution have been specified.
</ServiceException></ServiceExceptionReport>

Do I miss something? 
Thanks
Manouchehr



-----Original Message-----
From: Rahkonen Jukka [mailto:[email protected]] 
Sent: Mittwoch, 5. Januar 2011 12:55
To: Amini, Manouchehr
Cc: [email protected]
Subject: Re: [Geoserver-users] Raster export

Hi,

Your WCS request is all bad. Have another try with a valid request, for example 
like 
http://my.host.com/cgi-bin/mapserv?map=mywcs.map&SERVICE=wcs&VERSION=1.0.0&REQUEST=GetCoverage
  &coverage=bathymetry&CRS=EPSG:42304&BBOX=-2200000,-712631,3072800,3840000
  &WIDTH=3199&HEIGHT=2833&FORMAT=GTiff

In your use case you will probably like to use RESX and RESY instead of WIDTH 
and HEIGHT. You will need to do some homework but there is a lot of good 
reading about WCS in the web. Start with version 1.0.0 because version WCS 
1.1.0 changed a lot and is more hard to understand. 

-Jukka Rahkonen-



Amini, Manouchehr wrote:


 
> Hello Simone

> I tried the WCS service, it takes a long time and I receive an error. 
This is the command I used:
http://localhost:8080/geoserver/wcs?service=wcs&version=1.0.0&request=GetCoverage&layer=myWS:mylayer

> Do I have to install any extra extension? I am using GS 2.0.1.

> Thanks
> Manouchehr



-----Original Message-----
From: [email protected] [mailto:[email protected]] On Behalf Of Simone 
Giannecchini
Sent: Mittwoch, 5. Januar 2011 11:01
To: Amini, Manouchehr
Cc: [email protected]
Subject: Re: [Geoserver-users] Raster export

Ciao Manouchehr,
you can try to export it via WCS as an ascii grid.

Regards,
Simone.
-------------------------------------------------------
Ing. Simone Giannecchini
GeoSolutions S.A.S.
Founder

Via Poggio alle Viti 1187
55054  Massarosa (LU)
Italy

phone: +39 0584962313
fax:      +39 0584962313
mob:    +39 333 8128928


http://www.geo-solutions.it
http://geo-solutions.blogspot.com/
http://www.linkedin.com/in/simonegiannecchini
http://twitter.com/simogeo

-------------------------------------------------------



On Wed, Jan 5, 2011 at 10:38 AM, Amini, Manouchehr <[email protected]> 
wrote:
> Manouchehr

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers to 
consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database without 
downtime or disruption http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

------------------------------------------------------------------------------
Learn how Oracle Real Application Clusters (RAC) One Node allows customers
to consolidate database storage, standardize their database environment, and, 
should the need arise, upgrade to a full multi-node Oracle RAC database 
without downtime or disruption
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to