[Qgis-developer] [gdal-dev] Geoserver WCS demo problems on opengeo.org

Radim Blazek radim.blazek at gmail.com
Thu Sep 20 11:52:05 PDT 2012


On Thu, Sep 20, 2012 at 4:54 PM, Jeff McKenna
<jmckenna at gatewaygeomatics.com> wrote:
> Hi Radim,
>
> I am curious, did you run your tests against the WCS service at
> demo.mapserver.org ?  How were those results comparably?  If you did run
> them, maybe you can report your findings on the MapServer-dev list.

modis-001 / 1.0.0 [M1]: The server advertises
temporalDomain.timePosition 2002-001 but GetCoverages fails with
'msWCSGetCoverage(): WCS server error. Underlying layer is not tiled,
unable to do temporal subsetting.' if TIME=2002-001 is used. The same
with GDAL and gvSIG. This is well known problem which I have already
reported in mapserver list.

Other layers work with WCS 1.0.0, also with GDAL and
gvSIG-1_11-1305-final (it is using 1.0.0 by default).

OTOH, modis-001 is the only one working correctly with WCS 1.1.1.
Other layers have all pixels 0. The same with GDAL.

Radim

[M1] http://demo.mapserver.org:8080/cgi-bin/wcs?SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&FORMAT=GeoTIFF&COVERAGE=modis-001&TIME=2002-001&BBOX=778457.0000000000000000,5048895.0000000000000000,781457.0000000000000000,5050395.0000000000000000&CRS=EPSG:26915&RESPONSE_CRS=EPSG:26915&WIDTH=6&HEIGHT=3

> -jeff
>
>
>
> On 12-09-20 11:47 AM, Radim Blazek wrote:
>> I am testing QGIS WCS client with [1] and I found some problems which
>> are server side, I believe.
>>
>> 1) Coverage og:0 / version 1.0.0  [2] and bm / version 1.1.0 [5]: The
>> server fails in DescribeCoverage with: java.io.IOException null
>> Translator error Unexpected error occurred during describe coverage
>> xml encoding ...
>>
>> 2) Coverage usgs:nlcd / version 1.0.0 [3] and nlcd / version 1.1.0
>> [4]:  The server does not offer any CRS in DescribeCoverage
>> supportedCRSs / supportedCRS. If the CRS defined in
>> spatialDomain.Envelope is used server fails reporting error: Could not
>> recognize crs ...
>>
>> 3) Coverage 0 / version 1.1.0 [6] and naturalearth / version 1.1.0:
>> The server fails in GetCoverage with
>> 'java.lang.IllegalArgumentException: xScale:the parameter value is not
>> valid. xScale:the parameter value is not valid.'
>> It fails with BOUNDINGBOX=-2,-6,2,6&GRIDORIGIN=2,-6&GRIDOFFSETS=-2,3
>> and it works with
>> BOUNDINGBOX=-2,-6,2,6&GRIDORIGIN=2,-6&GRIDOFFSETS=2,-3 (GRIDOFFSETS
>> signs switched) but other coverages (Arc_Sample e.g.) work OK with the
>> first.
>>
>> 4) Coverage Img_Sample / version 1.1.0 [7]: The server fails in
>> GetCoverage with 'java.lang.IllegalArgumentException: The specified
>> dimensional parameter is non-positive. The specified dimensional
>> parameter is non-positive'.
>>
>> The problems 1) and 2) occur also with GDAL 1.9.1 while other layers
>> are working with GDAL and WCS version 1.0.0. I could not verify WCS
>> 1.1.0 with GDAL because all layers fail. I could not verify with
>> gvSIG-1_11-1305-final because it does not work at all with this
>> server.
>>
>> CC to various lists to which it may be of interest. Let us make WCS
>> really working with OS GIS tools!
>>
>> Radim
>>
>> [1] http://demo.opengeo.org/geoserver/wcs
>> [2] http://demo.opengeo.org/geoserver/wcs?SERVICE=WCS&REQUEST=DescribeCoverage&VERSION=1.0.0&COVERAGE=og:0
>> [3] http://demo.opengeo.org/geoserver/wcs?SERVICE=WCS&REQUEST=DescribeCoverage&VERSION=1.0.0&COVERAGE=usgs:nlcd
>> [4] http://demo.opengeo.org/geoserver/wcs?SERVICE=WCS&REQUEST=DescribeCoverage&VERSION=1.1.1&IDENTIFIERS=nlcd
>> [5] http://demo.opengeo.org/geoserver/wcs?SERVICE=WCS&REQUEST=DescribeCoverage&VERSION=1.1.1&IDENTIFIERS=bm
>> [6] http://demo.opengeo.org/geoserver/wcs?SERVICE=WCS&VERSION=1.1.1&REQUEST=GetCoverage&FORMAT=image/tiff;subtype=%22geotiff%22&IDENTIFIER=0&BOUNDINGBOX=-2,-6,2,6,urn:ogc:def:crs:EPSG::4326&GRIDBASECRS=urn:ogc:def:crs:EPSG::4326&GRIDCS=urn:ogc:def:cs:OGC:0.0:Grid2dSquareCS
>> &GRIDTYPE=urn:ogc:def:method:WCS:1.1:2dSimpleGrid&GRIDORIGIN=2,-6&GRIDOFFSETS=-2,3
>> [7] http://demo.opengeo.org/geoserver/wcs?SERVICE=WCS&VERSION=1.1.1&REQUEST=GetCoverage&FORMAT=image/tiff;subtype=%22geotiff%22&IDENTIFIER=Img_Sample
>> &BOUNDINGBOX=-96,36,-94,37,urn:ogc:def:crs:EPSG::4326&GRIDBASECRS=urn:ogc:def:crs:EPSG::4326&GRIDCS=urn:ogc:def:cs:OGC:0.0:Grid2dSquareCS&GRIDTYPE=urn:ogc:def:method:WCS:1.1:2dSimpleGrid&GRIDORIGIN=-94,36&GRIDOFFSETS=-1,1
>> _______________________________________________
>> gdal-dev mailing list
>> gdal-dev at lists.osgeo.org
>> http://lists.osgeo.org/mailman/listinfo/gdal-dev
>>
>
>
> --
> Jeff McKenna
> MapServer Consulting and Training Services
> http://www.gatewaygeomatics.com/
>
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/gdal-dev


More information about the Qgis-developer mailing list