[gdal-dev] gdal-dev Digest, Vol 203, Issue 38

Elena Ruiz eruiz at aplitop.com
Tue Apr 20 09:25:27 PDT 2021



Hello and thank you very much for your answer, I understand what you are telling me, but this happens with version 2.0.1, if you try with the version 1.0.0 and with the layer "Model% 20Digital% 20de% 20Elevaciones% 20 (MDE)% 20de% 20Andalucia% 2010% 20m" the server returns a response and in fact, if all the parameters are completed, it returns an image. Why doesn't gdal work with WCS version 1.0.0 either?

Example:
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

Regards

------------------------------

Message: 3
Date: Tue, 20 Apr 2021 08:52:49 -0700 (MST)
From: jratike80 <jukka.rahkonen at maanmittauslaitos.fi>
To: gdal-dev at lists.osgeo.org
Subject: Re: [gdal-dev] WCS server error. Coverage not found
Message-ID: <1618933969087-0.post at n6.nabble.com>
Content-Type: text/plain; charset=UTF-8

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


------------------------------

Message: 4
Date: Tue, 20 Apr 2021 10:04:44 -0600
From: Sean Gillies <sean at mapbox.com>
To: gdal dev <gdal-dev at lists.osgeo.org>
Subject: Re: [gdal-dev] Registered Content-Type for VRT?
Message-ID:
	<CADPhZXyG820yCB+_yKVC166QczvPCoCKHjif3O=fGG1ARvDUpA at mail.gmail.com>
Content-Type: text/plain; charset="utf-8"

Hi Jukka,

It's possible that ArcGIS has independently implemented VRT, but I think
it's more likely that it delegates to GDAL. I think it would be possible to
craft a VRT doc that would reveal some details -- such as one that uses
GDAL's embedded Python pixel functions to dump some system information --
but I don't have access to ArcGIS to try it.

On Mon, Apr 19, 2021 at 4:01 PM jratike80 <
jukka.rahkonen at maanmittauslaitos.fi> wrote:

> Hi,
>
> Do you count ArcMap or ArcGIS Pro as self standing software or rather as
> applications that use GDAL? They read VRTs pretty well but for writing some
> developer tools are required
>
> https://pro.arcgis.com/en/pro-app/latest/help/data/imagery/supported-raster-dataset-file-formats.htm
> .
>
> -Jukka Rahkonen-
>
>
> GDAL - Dev mailing list wrote
> > Maybe application/gdalvrt+xml? As far as I know, GDAL is the only
> software
> > that plays VRTs, and probably the only software that ever can,
> considering
> > the extensions and embedded Python stuff.
> >
>

-- 
Sean Gillies
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210420/1afe7df2/attachment-0001.html>

------------------------------

Message: 5
Date: Tue, 20 Apr 2021 18:09:41 +0200
From: Even Rouault <even.rouault at spatialys.com>
To: Sean Gillies <sean at mapbox.com>, gdal dev
	<gdal-dev at lists.osgeo.org>
Subject: Re: [gdal-dev] Registered Content-Type for VRT?
Message-ID: <4f6c2f72-2b1e-180b-22d4-6375e45170ca at spatialys.com>
Content-Type: text/plain; charset="utf-8"; Format="flowed"

application/gdalvrt+xml would just mean what the organization that defines the format is. People could reimplement that from scratch

Note that there is potentially the OGR VRT format (that could go as application/ogrvrt+xml), but that is a separate schema and likely less used than its raster counterpart.

Le 20/04/2021 ? 18:04, Sean Gillies via gdal-dev a ?crit?:

> Hi Jukka,
>
> It's possible that ArcGIS has independently implemented VRT, but I 
> think it's more likely that it delegates to GDAL. I think it would be 
> possible to craft a VRT doc that would reveal some details -- such as 
> one that uses GDAL's embedded Python pixel functions to dump some 
> system information -- but I don't have access to ArcGIS to try it.
>
> On Mon, Apr 19, 2021 at 4:01 PM jratike80 
> <jukka.rahkonen at maanmittauslaitos.fi 
> <mailto:jukka.rahkonen at maanmittauslaitos.fi>> wrote:
>
>     Hi,
>
>     Do you count ArcMap or ArcGIS Pro as self standing software or
>     rather as
>     applications that use GDAL? They read VRTs pretty well but for
>     writing some
>     developer tools are required
>     https://pro.arcgis.com/en/pro-app/latest/help/data/imagery/supported-raster-dataset-file-formats.htm
>     <https://pro.arcgis.com/en/pro-app/latest/help/data/imagery/supported-raster-dataset-file-formats.htm>.
>
>     -Jukka Rahkonen-
>
>
>     GDAL - Dev mailing list wrote
>     > Maybe application/gdalvrt+xml? As far as I know, GDAL is the
>     only software
>     > that plays VRTs, and probably the only software that ever can,
>     considering
>     > the extensions and embedded Python stuff.
>     >
>
> -- 
> Sean Gillies
>
> _______________________________________________
> gdal-dev mailing list
> gdal-dev at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/gdal-dev

-- 
http://www.spatialys.com
My software is free, but my time generally not.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20210420/d4f413f4/attachment.html>

------------------------------

Subject: Digest Footer

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


------------------------------

End of gdal-dev Digest, Vol 203, Issue 38
*****************************************


More information about the gdal-dev mailing list