[Geoserver-users] WCS - interpolation methods

Hi,
Because of the limitation of the “store” attribute that is forced on users in the WCS 1.1.1 spec, I’m trying to generate a WCS 1.0.0 query. My problem is that it demands a WIDTH and HEIGHT for the output raster, yet I want the output to be a plain dump of the area within the BBOX. There’s no way for me to know how many pixels high/wide it’s going to be, so if I set a height and width it will be arbitrary and not relating to the data returned, which is un-workable for me. Also - I can’t get it to recognise resx and resy (resolution) parameters which are an alternate to width/height, though I suspect these too would be useless to me for the same reason.

Anyway, this relates to interpolation because the WCS 1.0.0 spec says:

9.2.2.10 Grid size: WIDTH, HEIGHT, DEPTH

GetCoverage requests may request coverage replies with a specific grid size. The pa-rameters WIDTH, HEIGHT, DEPTH define the grid size (number of gridpoints or cells) along the three axes of the grid.

Either these parameters or RESX, RESY, RESZ are normally required. However, if the Capabilities XML reports

only the Interpolation method “None” for the queried coverage, then GetCoverage requests must be for the full native resolution of the data; they may not use RESX, RESY, RESZ or WIDTH, HEIGHT, DEPTH to change the coverage resolu-tion. In this case, BBOX alone is used for subsetting.

I’ve bolded the relevent part. The problem is, I can’t seem to disable/change interpolation. Every other text field in the Coverage Editor is editable by selecting and deleting text like you do in any other web-form, but not the interpolation-methods one (tested in both IE and Opera). So how do I change the interpolation methods to remove them? - Using 1.7.5.

Any suggestions welcome, Thanks,

Jonathan

Hello Jonathan,

actually WCS 1.0.0 does not support only the interpolation “None” so the WIDTH,HEIGHT or RESX,RESY parameters are mandatory.

Adding this functionality to GeoServer WCS module is not very hard, but actually we should find someone having some time to spend upon this which quite hard I guess.

Regards,
Alessio.


Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584 980933
fax: +39 0584 983027
mob: +39 349 8227000

http://www.geo-solutions.it
http://demo.geo-solutions.it
http://geo-solutions.blogspot.com

On Sun, Jul 5, 2009 at 10:41 PM, Jonathan Moules <08046891@anonymised.com> wrote:

Hi,
Because of the limitation of the “store” attribute that is forced on users in the WCS 1.1.1 spec, I’m trying to generate a WCS 1.0.0 query. My problem is that it demands a WIDTH and HEIGHT for the output raster, yet I want the output to be a plain dump of the area within the BBOX. There’s no way for me to know how many pixels high/wide it’s going to be, so if I set a height and width it will be arbitrary and not relating to the data returned, which is un-workable for me. Also - I can’t get it to recognise resx and resy (resolution) parameters which are an alternate to width/height, though I suspect these too would be useless to me for the same reason.

Anyway, this relates to interpolation because the WCS 1.0.0 spec says:

9.2.2.10 Grid size: WIDTH, HEIGHT, DEPTH

GetCoverage requests may request coverage replies with a specific grid size. The pa-rameters WIDTH, HEIGHT, DEPTH define the grid size (number of gridpoints or cells) along the three axes of the grid.

Either these parameters or RESX, RESY, RESZ are normally required. However, if the Capabilities XML reports

only the Interpolation method “None” for the queried coverage, then GetCoverage requests must be for the full native resolution of the data; they may not use RESX, RESY, RESZ or WIDTH, HEIGHT, DEPTH to change the coverage resolu-tion. In this case, BBOX alone is used for subsetting.

I’ve bolded the relevent part. The problem is, I can’t seem to disable/change interpolation. Every other text field in the Coverage Editor is editable by selecting and deleting text like you do in any other web-form, but not the interpolation-methods one (tested in both IE and Opera). So how do I change the interpolation methods to remove them? - Using 1.7.5.

Any suggestions welcome, Thanks,

Jonathan



Geoserver-users mailing list
Geoserver-users@anonymised.comsts.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users

Hi Alessio,
That seems odd given that the spec makes a very specific provision for having interpolation set to None (the part I quoted).
But it doesn’t matter to me now, I created a script to cludge around the “store” thing in WCS 1.1.1.
Thanks though,
Jonathan

2009/7/7 Alessio Fabiani <alessio.fabiani@anonymised.com>

Hello Jonathan,

actually WCS 1.0.0 does not support only the interpolation “None” so the WIDTH,HEIGHT or RESX,RESY parameters are mandatory.

Adding this functionality to GeoServer WCS module is not very hard, but actually we should find someone having some time to spend upon this which quite hard I guess.

Regards,
Alessio.


Eng. Alessio Fabiani
Vice-President /CTO GeoSolutions S.A.S.
Via Carignoni 51
55041 Camaiore (LU)
Italy

phone: +39 0584 980933
fax: +39 0584 983027
mob: +39 349 8227000

http://www.geo-solutions.it
http://demo.geo-solutions.it
http://geo-solutions.blogspot.com

On Sun, Jul 5, 2009 at 10:41 PM, Jonathan Moules <08046891@anonymised.com> wrote:

Hi,
Because of the limitation of the “store” attribute that is forced on users in the WCS 1.1.1 spec, I’m trying to generate a WCS 1.0.0 query. My problem is that it demands a WIDTH and HEIGHT for the output raster, yet I want the output to be a plain dump of the area within the BBOX. There’s no way for me to know how many pixels high/wide it’s going to be, so if I set a height and width it will be arbitrary and not relating to the data returned, which is un-workable for me. Also - I can’t get it to recognise resx and resy (resolution) parameters which are an alternate to width/height, though I suspect these too would be useless to me for the same reason.

Anyway, this relates to interpolation because the WCS 1.0.0 spec says:

9.2.2.10 Grid size: WIDTH, HEIGHT, DEPTH

GetCoverage requests may request coverage replies with a specific grid size. The pa-rameters WIDTH, HEIGHT, DEPTH define the grid size (number of gridpoints or cells) along the three axes of the grid.

Either these parameters or RESX, RESY, RESZ are normally required. However, if the Capabilities XML reports

only the Interpolation method “None” for the queried coverage, then GetCoverage requests must be for the full native resolution of the data; they may not use RESX, RESY, RESZ or WIDTH, HEIGHT, DEPTH to change the coverage resolu-tion. In this case, BBOX alone is used for subsetting.

I’ve bolded the relevent part. The problem is, I can’t seem to disable/change interpolation. Every other text field in the Coverage Editor is editable by selecting and deleting text like you do in any other web-form, but not the interpolation-methods one (tested in both IE and Opera). So how do I change the interpolation methods to remove them? - Using 1.7.5.

Any suggestions welcome, Thanks,

Jonathan



Geoserver-users mailing list
Geoserver-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geoserver-users