jratike80 kirjoitti 28.10.2017 klo 13:10:
Ari Jolma-2 wrote
The case of GeoServer is also strange
https://msp.smartsea.fmi.fi/geoserver/wcs?SERVICE=WCS&VERSION=1.1.1&REQUEST=GetCoverage&IDENTIFIER=smartsea%3Aeusm2016&FORMAT=image%2Ftiff&BOUNDINGBOX=61610,7303970,61630,7303990,urn:ogc:def:crs:EPSG::3067&RangeSubset=contents

-- GeoServer does not seem to understand that GDAL wants only a 2 x 2
sample - the response is huge (the whole geotiff?).

Ari

An open Geoserver with a DEM of Finland is available for testing at
http://avoindata.maanmittauslaitos.fi/geoserver/wcs?service=WCS&version=2.0.1&request=GetCapabilities

Same thing with this server (I'm still testing with version 1.1), except that it is nice enough to let me know that

ERROR 1: This request is trying to generate too much data, the limit is 488.28MB but the actual amount of bytes to be written in the output is 18479MB

With the help of GeoServer demo tool in its admin panel, it seems necessary to add GridCRS to the request

http://avoindata.maanmittauslaitos.fi/geoserver/wcs?SERVICE=WCS&VERSION=1.1.0&REQUEST=GetCoverage&IDENTIFIER=korkeusmalli_10m%3Akorkeusmalli_10m&FORMAT=image%2Ftiff&BOUNDINGBOX=44005,7781985,44015,7781995,urn:ogc:def:crs:EPSG::3067&RangeSubset=contents&GridBaseCRS=urn:ogc:def:crs:EPSG::3067&GridType=urn:ogc:def:method:WCS:1.1:2dSimpleGrid&GridOffsets=20.0,-20.0&GridCS=urn:ogc:def:cs:OGC:0.0:Grid2dSquareCS

GridCRS should be optional but in practise GeoServer seems to require it.

Ari


-Jukka Rahkonen-




--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html
_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

_______________________________________________
gdal-dev mailing list
gdal-dev@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/gdal-dev

Reply via email to