[Geoserver-users] wcs problem

Hi,

To start with you could download the WCS 1.0.0 standard http://portal.opengeospatial.org/files/?artifact_id=12582 and check from the Table 9 “The GetCoverage Request expressed as Key-Value Pairs” the correct usage of parameters. Geoserver is rather forgiving but it never hurts to use correct requests. Does the issue remain if you:

  • add the compulsory &SERVICE=WCS

  • remove “&layers=work1:pyramids_dem4326” that does not belong to WCS

  • use &CRS= instead of &SRS=

-Jukka Rahkonen-

Ahmet Temiz wrote:

···

hello

I tried to get a map through wcs:

curl --trace -i -u admin:*** -XGET -G ‘http://localhost:8080/geoserver/work1/wcs?version=1.0.0&Coverage=work1:pyramids_dem4326&request=GetCoverage&layers=work1:pyramids_dem4326&bbox=35.670381,39.813051,38.81901235734796,41.106463&width=504&height=330&srs=EPSG:4326

it gives:

<?xml version="1.0" encoding="UTF-8"?>

java.lang.ClassCastException: java.lang.String cannot be cast to java.util.List

java.lang.String cannot be cast to java.util.List

How can I solve the problem ?

kind regards

Ahmet Temiz
Jeoloji Müh.
Afet ve Acil Durum Yönetimi Başkanlığı
Bilgi İşlem Dairesi Başkanlığı-CBS Grubu


Ahmet Temiz
Geological Eng.
Information Systems - GIS Group
Disaster and Emergency Management
of Presidency