[gdal-dev] GDAL_WCS Driver and gdal_translate

1520 gis juliermeopensourcedeveloper at gmail.com
Fri Nov 20 12:18:30 PST 2020


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.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201120/ca9ab931/attachment.html>


More information about the gdal-dev mailing list