[gdal-dev] WCS server error. Coverage not found

jratike80 jukka.rahkonen at maanmittauslaitos.fi
Tue Apr 20 08:52:49 PDT 2021


Hi Elena,

Check the service with direct http calls from the browser:
1) The capabilities
https://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_WCS_mdt?SERVICE=WCS&version=2.0.1&request=GetCapabilities
Result: OK

2) Describe one coverage
https://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_WCS_mdt?SERVICE=WCS&version=2.0.1&request=DescribeCoverage&coverageID=mdt_10
Result: OK

3) Try to get the coverage 
https://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_WCS_mdt?SERVICE=WCS&version=2.0.1&request=GetCoverage&coverageID=mdt_10

Result:
<ows:Exception exceptionCode="NoSuchCoverage" locator="coverageid">
<ows:ExceptionText>msWCSGetCoverage20(): WCS server error. COVERAGEID=mdt_10
not found, not in supported layer list. A layer might be disabled for this
request. Check wcs/ows_enable_request settings.</ows:ExceptionText>
</ows:Exception>

The server just does not send data with GetCoverage. Ask the service
provider if that is intentional.

The error message gives a hint. Service seems to be running on MapServer and
now it is not configured to support GetCoverage request. If service probider
wants to support it their should edit their mapfile where the
"wcs_enable_request" metadata item is set. Of course there are other ways to
misconfigure the server.


-Jukka Rahkonen-



Elena Ruiz wrote
> Hello I am testing the WCS service but I have a error that I don’t
> understand.
> 
> If I put in a web server this:
> 
> http://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_WCS_mdt?SERVICE=WCS&VERSION=1.0.0&REQUEST=GetCoverage&COVERAGE=
> Modelo%20Digital%20de%20Elevaciones%20(MDE)%20de%20Andalucia%2010%20m&CRS=EPSG:25830&FORMAT=GTiff&BBOX=531006.299122,4100120.659408,544263.630224,4112381.66471&WIDTH=1325&HEIGHT=1226&OUTPUTCRS=C:\Users\elena\AppData\Local\Temp\imagen.tif
> 
> this works ok and download a TIFF image.
> 
> But if I try to do this in gdal:
> 
>>gdal_translate -oo CACHE=wcs_cache -oo CLEAR_CACHE -oo INTERLEAVE=PIXEL
-projwin 531006.299122 4100120.659408 544263.630224 4112381.66471 -outsize
1325 1226
"WCS:http://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_WCS_mdt?VERSION=1.0.0&COVERAGE=Modelo%20Digital%20de%20Elevaciones%20(MDE)%20de%20Andalucia%2010%20m"
"C:\Users\elena\AppData\Local\Temp\imagen.tif"
> 
> The result is:
> 
> ERROR 1: msWCSGetCoverage(): WCS server error.
> COVERAGE=Modelo%20Digital%20de%20Elevaciones%20(MDE)%20de%20Andalucia%2010%20m
> not found, not in supported layer list. A layer might be disabled for this
> request. Check wcs/ows_enable_request settings.
> 
> I have tried with other version of service WCS, version 1.1.2 and 2.0.1,
> the difference is the name of layer, in this cases is “mdt_10”, but the
> result in gdal is the same.
> 
>>gdalinfo
"WCS:https://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_WCS_mdt?version=2.0.1"
> 
> Driver: WCS/OGC Web Coverage Service
> Files: C:\Users\elena\.gdal\wcs_cache\Zatax.aux.xml
> Size is 512, 512
> Origin = (0.000000000000000,0.000000000000000)
> Pixel Size = (1.000000000000000,1.000000000000000)
> Metadata:
>  
> WCS_GLOBAL#crsSupported=http://www.opengis.net/def/crs/EPSG/0/3042,EPSG:3042
>   WCS_GLOBAL#formatSupported=image/png,image/jpeg
>   WCS_GLOBAL#InterpolationSupported=NEAREST,AVERAGE,BILINEAR
>   WCS_GLOBAL#Keywords=WCS,MDT
>  
> WCS_GLOBAL#Profiles=WCS/2.0/conf/core,WCS_protocol-binding_get-kvp/1.0/conf/get-kvp,WCS_protocol-binding_post-xml/1.0/conf/post-xml,GMLCOV/1.0/conf/gml-coverage,GMLCOV/1.0/conf/multipart,GMLCOV/1.0/conf/special-format,GMLCOV_geotiff-coverages/1.0/conf/geotiff-coverage,WCS_service-extension_crs/1.0/conf/crs,WCS_service-extension_scaling/1.0/conf/scaling,WCS_service-extension_range-subsetting/1.0/conf/record-subsetting,WCS_service-extension_interpolation/1.0/conf/interpolation
>   WCS_GLOBAL#ServiceIdentification.Abstract=Nodo de la Red de Informacion
> Ambiental de Andalucia. Junta de Andalucia. Servicio WCS del Modelo
> Digital de Elevaciones (MDE) de Andalucia de 10 m de resolucion generado a
> partir de los vuelos realizados en 2010 (cuadrantes Sureste (SE) Suroeste
> (SW)) y 2011 (cuadrantes Noreste (NE) y Noroeste (NW)). Tambien se muestra
> el Modelo Digital de Elevaciones de Andalucia de 100 m generado a partir
> de MDE por cuadrantes (resolucion 10x10 y 5x5m) remuestreados procedentes
> de los proyectos de produccion de Ortofotos regionales de Andalucia y del
> PNOA. Integrado en la Infraestructura de Datos Espaciales de Andalucia,
> siguiendo las directrices del Sistema Cartografico de Andalucia.
>   WCS_GLOBAL#ServiceIdentification.AccessConstraints=Este servicio se
> puede usar de modo libre y gratuito siempre que se mencione a los autores
> y propietarios de la informacion
>   WCS_GLOBAL#ServiceIdentification.Fees=Gratuito
>   WCS_GLOBAL#ServiceIdentification.Title=REDIAM. WCS Modelo Digital de
> Elevaciones (MDE) de Andalucia
>   WCS_GLOBAL#ServiceProvider.ProviderName=Consejería de Agricultura,
> Ganadería, Pesca y Desarrollo Sostenible. Junta de Andalucía
>  
> WCS_GLOBAL#ServiceProvider.ProviderSite=https://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_WCS_mdt
>  
> WCS_GLOBAL#ServiceProvider.ServiceContact.ContactInfo.Address.AdministrativeArea=Sevilla
>  
> WCS_GLOBAL#ServiceProvider.ServiceContact.ContactInfo.Address.City=Sevilla
>  
> WCS_GLOBAL#ServiceProvider.ServiceContact.ContactInfo.Address.Country=Spain
>  
> WCS_GLOBAL#ServiceProvider.ServiceContact.ContactInfo.Address.DeliveryPoint=Avda.
> Manuel Siurot,50
>  
> WCS_GLOBAL#ServiceProvider.ServiceContact.ContactInfo.Address.PostalCode=41071
>  
> WCS_GLOBAL#ServiceProvider.ServiceContact.ContactInfo.ContactInstructions=--
>   WCS_GLOBAL#ServiceProvider.ServiceContact.ContactInfo.HoursOfService=--
>   WCS_GLOBAL#ServiceProvider.ServiceContact.ContactInfo.Phone.Facsimile=--
>  
> WCS_GLOBAL#ServiceProvider.ServiceContact.ContactInfo.Phone.Voice=+34955003400
>   WCS_GLOBAL#ServiceProvider.ServiceContact.IndividualName=--
>   WCS_GLOBAL#ServiceProvider.ServiceContact.PositionName=Servicio de
> Informacion y Analisis Ambiental
>   WCS_GLOBAL#ServiceProvider.ServiceContact.Role=--
>   WCS_GLOBAL#version=2.0.1
> Subdatasets:
>  
> SUBDATASET_1_NAME=WCS:https://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_WCS_mdt?version=2.0.1&coverage=mdt_10
>   SUBDATASET_1_DESC=mdt_10
>  
> SUBDATASET_2_NAME=WCS:https://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_WCS_mdt?version=2.0.1&coverage=mdt_100
>   SUBDATASET_2_DESC=mdt_100
> Corner Coordinates:
> Upper Left  (   0.0000000,   0.0000000)
> Lower Left  (       0.000,     512.000)
> Upper Right (     512.000,       0.000)
> Lower Right (     512.000,     512.000)
> Center      (     256.000,     256.000)
> 
>>gdalinfo
"WCS:https://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_WCS_mdt?version=2.0.1&coverage=mdt_10"
> 
> ERROR 1: HTTP error code : 404
> ERROR 1: NoSuchCoverage: msWCSGetCoverage20(): WCS server error.
> COVERAGEID=mdt_10 not found, not in supported layer list. A layer might be
> disabled for this request. Check wcs/ows_enable_request settings.
> gdalinfo failed - unable to open
> 'WCS:https://www.juntadeandalucia.es/medioambiente/mapwms/REDIAM_WCS_mdt?version=2.0.1&coverage=mdt_10'.
> 
> Can anyone help me? Thank you very much and regards
> ________________________________
> 
> [https://www.aplitop.com/descargas/firma1.jpg]
> 
> 
> Elena Ruiz
> Sofware Development & Technical Support
> Tel. +34 952 43 97 71

> eruiz@

> Sumatra, 9 - 29190 Malaga (Spain)
> www.aplitop.com
> 
> [cid:SocialLink_Facebook_32x32_a745adb8-c250-4372-8480-e77f503dad3d.png]<https://www.facebook.com/AplitopSL/>  
> [cid:SocialLink_Twitter_32x32_858247f6-9d4a-4740-a6b3-9b5ebfd98a97.png]
> <https://twitter.com/aplitop>   
> [cid:SocialLink_Linkedin_32x32_154d63de-bf68-468f-9eb0-ffed102fac77.png]
> <https://www.linkedin.com/company/aplitop>   
> [cid:SocialLink_Youtube_32x32_0dea15dd-3774-4086-be9d-f62560b70c86.png]
> <https://www.youtube.com/user/aplitop>
> 
> 
> In accordance with the provisions of the European Regulation of Data
> Protection 2016/679 (Reglamento Europeo de Proteccion de Datos 2016/679),
> we inform you that the data and the information you provide us through
> this medium will be used by APLITOP, S.L., with C.I.F. B-92543396 and with
> address at C / Sumatra, 9, Malaga, 29190, in order to answer your
> questions and inform you about our products. The data provided will be
> kept as long as it does not request its cessation and will not be
> transferred to third parties except in cases where there is a legal
> obligation. You have the right to access your personal data, correct
> inaccurate data or request its deletion when the data is no longer
> necessary for the purposes that were collected, as well as any rights
> recognized in the RGPD 2016/679
> 
> <https://www.aplitop.com/Event/en/358/intergeo-2019>
> 
> 
> _______________________________________________
> gdal-dev mailing list

> gdal-dev at .osgeo

> https://lists.osgeo.org/mailman/listinfo/gdal-dev
> 
> 
> SocialLink_Facebook_32x32_a745adb8-c250-4372-8480-e77f503dad3d.png (502
> bytes)
> <http://osgeo-org.1560.x6.nabble.com/attachment/5485329/0/SocialLink_Facebook_32x32_a745adb8-c250-4372-8480-e77f503dad3d.png>
> SocialLink_Twitter_32x32_858247f6-9d4a-4740-a6b3-9b5ebfd98a97.png (850
> bytes)
> <http://osgeo-org.1560.x6.nabble.com/attachment/5485329/1/SocialLink_Twitter_32x32_858247f6-9d4a-4740-a6b3-9b5ebfd98a97.png>
> SocialLink_Linkedin_32x32_154d63de-bf68-468f-9eb0-ffed102fac77.png (642
> bytes)
> <http://osgeo-org.1560.x6.nabble.com/attachment/5485329/2/SocialLink_Linkedin_32x32_154d63de-bf68-468f-9eb0-ffed102fac77.png>
> SocialLink_Youtube_32x32_0dea15dd-3774-4086-be9d-f62560b70c86.png (1K)
> <http://osgeo-org.1560.x6.nabble.com/attachment/5485329/3/SocialLink_Youtube_32x32_0dea15dd-3774-4086-be9d-f62560b70c86.png>





--
Sent from: http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html


More information about the gdal-dev mailing list