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

Elena Ruiz eruiz at aplitop.com
Tue Apr 20 07:50:47 PDT 2021


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 at aplitop.com
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>

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210420/6cf8e4ba/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SocialLink_Facebook_32x32_a745adb8-c250-4372-8480-e77f503dad3d.png
Type: image/png
Size: 365 bytes
Desc: SocialLink_Facebook_32x32_a745adb8-c250-4372-8480-e77f503dad3d.png
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210420/6cf8e4ba/attachment-0004.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SocialLink_Twitter_32x32_858247f6-9d4a-4740-a6b3-9b5ebfd98a97.png
Type: image/png
Size: 619 bytes
Desc: SocialLink_Twitter_32x32_858247f6-9d4a-4740-a6b3-9b5ebfd98a97.png
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210420/6cf8e4ba/attachment-0005.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SocialLink_Linkedin_32x32_154d63de-bf68-468f-9eb0-ffed102fac77.png
Type: image/png
Size: 468 bytes
Desc: SocialLink_Linkedin_32x32_154d63de-bf68-468f-9eb0-ffed102fac77.png
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210420/6cf8e4ba/attachment-0006.png>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: SocialLink_Youtube_32x32_0dea15dd-3774-4086-be9d-f62560b70c86.png
Type: image/png
Size: 817 bytes
Desc: SocialLink_Youtube_32x32_0dea15dd-3774-4086-be9d-f62560b70c86.png
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210420/6cf8e4ba/attachment-0007.png>


More information about the gdal-dev mailing list