[gdal-dev] GDAL_WCS Driver and gdal_translate

jratike80 jukka.rahkonen at maanmittauslaitos.fi
Sat Nov 21 02:47:58 PST 2020


Hi,

Just a note to remind that earlier in thread "gdal-dev Digest, Vol 198,
Issue 14" it was noticed that the GDAL WCS driver most probably has a bug
and certain WCS coverages from Geoserver do not work. It seems to be related
with the native CRS EPSG:4326. So if you test now with Geoserver, don't test
with nurc__Img_Sample or other coverages which are in EPSG:4326.

I know this does not answer your question, sorry.

-Jukka Rahkonen-


juliermeopensourcedeveloper wrote
> Dear all,
> 
> I would like to open this discussion here about creating a xml/ raster wcs
> ingest using gdal_translate.
> My 2 goals are:
> 1 - get a xml like in [1] by running command line similar do gdal_wmts
> driver in [2]
> 
> gdal_translate "WCS:
> http://demo.geo-solutions.it:80/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample
> <http://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample>
> " wcs.xml -of WCS
> 
> *OR*
> 
> gdal_translate "WCS:
> http://demo.geo-solutions.it/geoserver/ows?service=WCS&request=getCapabilities,layer=nurc__Img_Sample
> " wcs.xml -of WCS
> 
> 
> 2 - get a xml / raster subset
> 
> gdal_translate "WCS:
> http://demo.geo-solutions.it:80/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample
> <http://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample>
> " wcs.xml -projwin -100 40 -80 30 -of WCS
> 
> *OR*
> 
> gdal_translate "WCS:
> http://demo.geo-solutions.it/geoserver/ows?service=WCS&request=getCapabilities,layer=nurc__Img_Sample
> " wcs.xml -projwin -100 40 -80 30 -of WCS
> 
> If the solution I am trying to get can not be possible through
> gdal_translate, would someone have an xml sample like in [1] to share, but
> with raster subset ingest, instead the whole image content?
> 
> I appreciated your time in advance.
> 
> Kind regards
> 
> Julierme
> 
> [1] 
> <WCS_GDAL>
>   
> <ServiceURL>
> https://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&amp
> ;
> </ServiceURL>
>   
> <CoverageName>
> nurc:Img_Sample
> </CoverageName>
> 
> <GetCoverageExtra>
> &BoundingBox=-130.85168,20.7052,-62.0054,54.1141
> </GetCoverageExtra>
> </WCS_GDAL>
> [2] gdal_translate "WMTS:
> http://maps.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml,layer=lb" wmts.xml
> -
> of WMTS.
> 
> _______________________________________________
> gdal-dev mailing list

> gdal-dev at .osgeo

> https://lists.osgeo.org/mailman/listinfo/gdal-dev





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


More information about the gdal-dev mailing list