I've decided to leave it for now and just use a fixed 10 metre resolution
instead.  However, I can't get my GetCoverage request to work with
GeoServer.  For example, the following request:

http://localhost:8080/geoserver/wcs?service=WCS&version=1.0.0&request=GetCoverage&coverage=L5203023_02320060610_B10&bbox=-2.2845935058594,52.851759765624,-1.6830920410156,53.263747070312&crs=EPSG:4326&response_crs=EPSG:32630&format=geotiff&resx=10&resy=10

produces the following error:

<?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>

However, as you can see, I've included the resx and resy parameters in my
request.

Am I doing something wrong or is this a bug?

Thanks,

Jon

On 4 November 2010 11:16, Rahkonen Jukka <[email protected]> wrote:

>  Hi,
>
> By quick look on the standard I did not find anything mandatory for that
> but you can easily check is yourself, here is the version 1.1.0
> http://portal.opengeospatial.org/files/?artifact_id=18153
>
> Some services have additional info in the abstract, most I have seen
> don't. If I need some information I tend to send an email or make a phone
> call and ask directly from the sources of data, very often they know a lot
> about those. If it is just something in the web it may be hard to find a
> contact person but WCS services are usually not such kind.
>
> -Jukka Rahkonen-
>
>  ------------------------------
> *Lähettäjä:* [email protected] [mailto:
> [email protected]] *Puolesta *Jon Britton
> *Lähetetty:* 4. marraskuuta 2010 12:49
>
> *Vastaanottaja:* Rahkonen Jukka
> *Kopio:* geoserver-users
> *Aihe:* Re: [Geoserver-users] WCS 1.0.0 GetCoverage in native resolution
>
> For that to work I need to know the pixel size of the given covering for
> the given projection.  Is there any way I can do this?  Would a
> DescribeCoverage request have enough information?
>
> Thanks,
>
> Jon
>
> On 3 November 2010 17:43, Rahkonen Jukka <[email protected]>wrote:
>
>> Hi,
>>
>> Just modify for example this:
>>
>> 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
>>
>> so that instead of &WIDTH=3199&HEIGHT=2833 there is for example
>> &resx=10&resy=10 to get 10 meter pixels from the given bounding box.
>>
>> -Jukka-
>>
>>
>> -----Alkuperäinen viesti-----
>> Lähettäjä: [email protected] puolesta: Jon Britton
>> Lähetetty: ke 3.11.2010 17:00
>> Vastaanottaja: Rahkonen Jukka
>> Kopio: geoserver-users
>> Aihe: Re: [Geoserver-users] WCS 1.0.0 GetCoverage in native resolution
>>
>> Hi Jukka, thanks for the response, but I can't see a relevant example
>> request in the link you sent me...
>>
>> Jon
>>
>> On 2 November 2010 17:34, Rahkonen Jukka <[email protected]>
>> wrote:
>>
>> > Hi,
>> >
>> > See resx, resy and response_crs for example in Mapserver documentation
>> > http://mapserver.org/ogc/wcs_server.html.
>> >
>> > -Jukka Rahkonen-
>> >
>> >
>> > -----Alkuperäinen viesti-----
>> > Lähettäjä: Jon Britton [mailto:[email protected]]
>> > Lähetetty: ti 2.11.2010 18:57
>> > Vastaanottaja: geoserver-users
>> > Aihe: [Geoserver-users] WCS 1.0.0 GetCoverage in native resolution
>> >
>> > Hi,
>> >
>> > This is more of a WCS question than a GeoServer question, but I thought
>> you
>> > guys might know the answer...
>> >
>> > I want to request a coverage with a requestCRS of EPSG:4326 and a
>> > responseCRS of EPSG:32630 (its native projection).  I need the image in
>> its
>> > native resolution, rather than a fixed width and height.
>> >
>> > Does anybody know how I might go about doing this with WCS 1.0.0?
>> >
>> > Thanks,
>> >
>> > Jon
>> >
>> >
>>
>>
>
------------------------------------------------------------------------------
The Next 800 Companies to Lead America's Growth: New Video Whitepaper
David G. Thomson, author of the best-selling book "Blueprint to a 
Billion" shares his insights and actions to help propel your 
business during the next growth cycle. Listen Now!
http://p.sf.net/sfu/SAP-dev2dev
_______________________________________________
Geoserver-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Reply via email to