<div dir="ltr">Dear Rahkonen Jukka,<div><br></div><div>I will consider your warnings about using GDAL_WCS with GeoServer. It seems that what I am trying to do is not possible, but it will be something interesting to achieve through GDAL_WCS. In many cases, the user has access to wcs geoservices and he may be interested in loading some specific coverages (full coverage and subsets) in QGIS using an XML just like GDAL_WMTS driver. Some institutions make WCS capabilities available, but wmts. And this is my situation, I have a remote / external geoserver with wcs capabilities available, but wmts. </div><div><br></div><div>It could be something interesting to be implemented in the future.</div><div><br></div><div>Thank you very much for your time and consideration of my messages.</div><div><br></div><div>Kind regards</div><div><br></div><div>Julierme</div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sat, Nov 21, 2020 at 5:00 PM <<a href="mailto:gdal-dev-request@lists.osgeo.org">gdal-dev-request@lists.osgeo.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Send gdal-dev mailing list submissions to<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
or, via email, send a message with subject or body 'help' to<br>
<a href="mailto:gdal-dev-request@lists.osgeo.org" target="_blank">gdal-dev-request@lists.osgeo.org</a><br>
<br>
You can reach the person managing the list at<br>
<a href="mailto:gdal-dev-owner@lists.osgeo.org" target="_blank">gdal-dev-owner@lists.osgeo.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of gdal-dev digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
1. GDAL_WCS Driver and gdal_translate (1520 gis)<br>
2. Re: GDAL_WCS Driver and gdal_translate (jratike80)<br>
3. Automatic labels placement (Franco Amato)<br>
4. resampling netcdf data (Nazanin tavakoli)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Fri, 20 Nov 2020 17:18:30 -0300<br>
From: 1520 gis <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@gmail.com</a>><br>
To: <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
Subject: [gdal-dev] GDAL_WCS Driver and gdal_translate<br>
Message-ID:<br>
<CAKTKyJKpbfvZnXhM60FDF_T-0wFFpW=<a href="mailto:54wc8f1nnh5fZ7REm7A@mail.gmail.com" target="_blank">54wc8f1nnh5fZ7REm7A@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Dear all,<br>
<br>
I would like to open this discussion here about creating a xml/ raster wcs<br>
ingest using gdal_translate.<br>
My 2 goals are:<br>
1 - get a xml like in [1] by running command line similar do gdal_wmts<br>
driver in [2]<br>
<br>
gdal_translate "WCS:<br>
<a href="http://demo.geo-solutions.it:80/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample" rel="noreferrer" target="_blank">http://demo.geo-solutions.it:80/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample</a><br>
<<a href="http://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample" rel="noreferrer" target="_blank">http://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample</a>><br>
" wcs.xml -of WCS<br>
<br>
*OR*<br>
<br>
gdal_translate "WCS:<br>
<a href="http://demo.geo-solutions.it/geoserver/ows?service=WCS&request=getCapabilities,layer=nurc__Img_Sample" rel="noreferrer" target="_blank">http://demo.geo-solutions.it/geoserver/ows?service=WCS&request=getCapabilities,layer=nurc__Img_Sample</a><br>
" wcs.xml -of WCS<br>
<br>
<br>
2 - get a xml / raster subset<br>
<br>
gdal_translate "WCS:<br>
<a href="http://demo.geo-solutions.it:80/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample" rel="noreferrer" target="_blank">http://demo.geo-solutions.it:80/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample</a><br>
<<a href="http://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample" rel="noreferrer" target="_blank">http://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample</a>><br>
" wcs.xml -projwin -100 40 -80 30 -of WCS<br>
<br>
*OR*<br>
<br>
gdal_translate "WCS:<br>
<a href="http://demo.geo-solutions.it/geoserver/ows?service=WCS&request=getCapabilities,layer=nurc__Img_Sample" rel="noreferrer" target="_blank">http://demo.geo-solutions.it/geoserver/ows?service=WCS&request=getCapabilities,layer=nurc__Img_Sample</a><br>
" wcs.xml -projwin -100 40 -80 30 -of WCS<br>
<br>
If the solution I am trying to get can not be possible through<br>
gdal_translate, would someone have an xml sample like in [1] to share, but<br>
with raster subset ingest, instead the whole image content?<br>
<br>
I appreciated your time in advance.<br>
<br>
Kind regards<br>
<br>
Julierme<br>
<br>
[1] <WCS_GDAL><br>
<ServiceURL><a href="https://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&" rel="noreferrer" target="_blank">https://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&</a><br>
;</ServiceURL><br>
<CoverageName>nurc:Img_Sample</CoverageName><br>
<br>
<GetCoverageExtra>&BoundingBox=-130.85168,20.7052,-62.0054,54.1141</GetCoverageExtra><br>
</WCS_GDAL><br>
<br>
[2] gdal_translate "WMTS:<br>
<a href="http://maps.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml,layer=lb" rel="noreferrer" target="_blank">http://maps.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml,layer=lb</a>" wmts.xml -<br>
of WMTS.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201120/ca9ab931/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201120/ca9ab931/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Sat, 21 Nov 2020 03:47:58 -0700 (MST)<br>
From: jratike80 <<a href="mailto:jukka.rahkonen@maanmittauslaitos.fi" target="_blank">jukka.rahkonen@maanmittauslaitos.fi</a>><br>
To: <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
Subject: Re: [gdal-dev] GDAL_WCS Driver and gdal_translate<br>
Message-ID: <<a href="mailto:1605955678597-0.post@n6.nabble.com" target="_blank">1605955678597-0.post@n6.nabble.com</a>><br>
Content-Type: text/plain; charset=us-ascii<br>
<br>
Hi,<br>
<br>
Just a note to remind that earlier in thread "gdal-dev Digest, Vol 198,<br>
Issue 14" it was noticed that the GDAL WCS driver most probably has a bug<br>
and certain WCS coverages from Geoserver do not work. It seems to be related<br>
with the native CRS EPSG:4326. So if you test now with Geoserver, don't test<br>
with nurc__Img_Sample or other coverages which are in EPSG:4326.<br>
<br>
I know this does not answer your question, sorry.<br>
<br>
-Jukka Rahkonen-<br>
<br>
<br>
juliermeopensourcedeveloper wrote<br>
> Dear all,<br>
> <br>
> I would like to open this discussion here about creating a xml/ raster wcs<br>
> ingest using gdal_translate.<br>
> My 2 goals are:<br>
> 1 - get a xml like in [1] by running command line similar do gdal_wmts<br>
> driver in [2]<br>
> <br>
> gdal_translate "WCS:<br>
> <a href="http://demo.geo-solutions.it:80/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample" rel="noreferrer" target="_blank">http://demo.geo-solutions.it:80/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample</a><br>
> <<a href="http://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample>" rel="noreferrer" target="_blank">http://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample></a>;<br>
> " wcs.xml -of WCS<br>
> <br>
> *OR*<br>
> <br>
> gdal_translate "WCS:<br>
> <a href="http://demo.geo-solutions.it/geoserver/ows?service=WCS&request=getCapabilities,layer=nurc__Img_Sample" rel="noreferrer" target="_blank">http://demo.geo-solutions.it/geoserver/ows?service=WCS&request=getCapabilities,layer=nurc__Img_Sample</a><br>
> " wcs.xml -of WCS<br>
> <br>
> <br>
> 2 - get a xml / raster subset<br>
> <br>
> gdal_translate "WCS:<br>
> <a href="http://demo.geo-solutions.it:80/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample" rel="noreferrer" target="_blank">http://demo.geo-solutions.it:80/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample</a><br>
> <<a href="http://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample>" rel="noreferrer" target="_blank">http://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&coverage=nurc__Img_Sample></a>;<br>
> " wcs.xml -projwin -100 40 -80 30 -of WCS<br>
> <br>
> *OR*<br>
> <br>
> gdal_translate "WCS:<br>
> <a href="http://demo.geo-solutions.it/geoserver/ows?service=WCS&request=getCapabilities,layer=nurc__Img_Sample" rel="noreferrer" target="_blank">http://demo.geo-solutions.it/geoserver/ows?service=WCS&request=getCapabilities,layer=nurc__Img_Sample</a><br>
> " wcs.xml -projwin -100 40 -80 30 -of WCS<br>
> <br>
> If the solution I am trying to get can not be possible through<br>
> gdal_translate, would someone have an xml sample like in [1] to share, but<br>
> with raster subset ingest, instead the whole image content?<br>
> <br>
> I appreciated your time in advance.<br>
> <br>
> Kind regards<br>
> <br>
> Julierme<br>
> <br>
> [1] <br>
> <WCS_GDAL><br>
> <br>
> <ServiceURL><br>
> <a href="https://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&" rel="noreferrer" target="_blank">https://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&</a><br>
> ;<br>
> </ServiceURL><br>
> <br>
> <CoverageName><br>
> nurc:Img_Sample<br>
> </CoverageName><br>
> <br>
> <GetCoverageExtra><br>
> &BoundingBox=-130.85168,20.7052,-62.0054,54.1141<br>
> </GetCoverageExtra><br>
> </WCS_GDAL><br>
> [2] gdal_translate "WMTS:<br>
> <a href="http://maps.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml,layer=lb" rel="noreferrer" target="_blank">http://maps.wien.gv.at/wmts/1.0.0/WMTSCapabilities.xml,layer=lb</a>" wmts.xml<br>
> -<br>
> of WMTS.<br>
> <br>
> _______________________________________________<br>
> gdal-dev mailing list<br>
<br>
> gdal-dev@.osgeo<br>
<br>
> <a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
<br>
<br>
<br>
<br>
<br>
--<br>
Sent from: <a href="http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/GDAL-Dev-f3742093.html</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Sat, 21 Nov 2020 09:59:01 -0500<br>
From: Franco Amato <<a href="mailto:cvfrank@gmail.com" target="_blank">cvfrank@gmail.com</a>><br>
To: <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
Subject: [gdal-dev] Automatic labels placement<br>
Message-ID:<br>
<<a href="mailto:CADAAwMcJMh6hS6HM1WKgjYKMJZXetgqYWRSOkfRw3e1LuCg2iw@mail.gmail.com" target="_blank">CADAAwMcJMh6hS6HM1WKgjYKMJZXetgqYWRSOkfRw3e1LuCg2iw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Good morning gdal members,<br>
I would know if you know any automatic labels placement library. I tried<br>
with PAL library located here (<a href="http://pal.heig-vd.ch" rel="noreferrer" target="_blank">http://pal.heig-vd.ch</a>) but it's too complex<br>
to use with GDAL data.<br>
<br>
Any suggestions are really appreciated.<br>
<br>
Thank you,<br>
Franco<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201121/c0a10346/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201121/c0a10346/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Sat, 21 Nov 2020 18:47:18 +0330<br>
From: Nazanin tavakoli <<a href="mailto:nazitkk1375@gmail.com" target="_blank">nazitkk1375@gmail.com</a>><br>
To: <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
Subject: [gdal-dev] resampling netcdf data<br>
Message-ID:<br>
<CAPBJ=<a href="mailto:OxvAJgetPVmJ9hKx8nF9wE9xW3BXtFtzJPcZNfTk4xcwQ@mail.gmail.com" target="_blank">OxvAJgetPVmJ9hKx8nF9wE9xW3BXtFtzJPcZNfTk4xcwQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hello,<br>
I want to change the resolution of my data whose resolution is 0.0416<br>
degrees (1/24th) resolution and I want to convert it to 0.5 degrees. I have<br>
already used this code but I have some errors. Could you please help me?<br>
gdal_translate -of netCDF -tr 0.5 0.5 WS.nc<br>
<<a href="https://www.youtube.com/redirect?redir_token=QUFFLUhqa0hCWkdnLUttTmVYbzh4UGFIeW9RQTBxa2piUXxBQ3Jtc0trMTVQTV9YMVVrZWVzb2xXVjh1LVBCQ2ZoT3FoTzNKYjQ2NndBcmIxQVd2TkM3NXU3dUVjQ2FtMXFkOWdRSi1vdTVISnd6UEpsZWRDRVlLSDlzZDJlcGdqdlU5S0xyOXhXSlFSajliMG1URkhrWi1iMA%3D%3D&event=comments&q=http%3A%2F%2Fws.nc%2F&stzid=UgynaQQEp5-9sVSWQqp4AaABAg.9GHKHEPqQ8_9GKO25Kpqfy" rel="noreferrer" target="_blank">https://www.youtube.com/redirect?redir_token=QUFFLUhqa0hCWkdnLUttTmVYbzh4UGFIeW9RQTBxa2piUXxBQ3Jtc0trMTVQTV9YMVVrZWVzb2xXVjh1LVBCQ2ZoT3FoTzNKYjQ2NndBcmIxQVd2TkM3NXU3dUVjQ2FtMXFkOWdRSi1vdTVISnd6UEpsZWRDRVlLSDlzZDJlcGdqdlU5S0xyOXhXSlFSajliMG1URkhrWi1iMA%3D%3D&event=comments&q=http%3A%2F%2Fws.nc%2F&stzid=UgynaQQEp5-9sVSWQqp4AaABAg.9GHKHEPqQ8_9GKO25Kpqfy</a>><br>
WS_1.nc<br>
<<a href="https://www.youtube.com/redirect?redir_token=QUFFLUhqbEYxWEQxZzZpbVZSNGk2RjZHUnVUdEVNNEpZd3xBQ3Jtc0ttNzZDcUdxdUN6QU5vc1lKVmdULVFqLWo1WDdjendJbXJwcm03a3R2bWN6dnRlaWM1bENzUXhFNnp2NlN6b2x6Q0V3X21ueFdBNm5HVmQzaEVsZ0FKWGNZNEZSSk9GdDdmbVFwY2JKX1RuUjk0TTJTUQ%3D%3D&event=comments&q=http%3A%2F%2F1.nc%2F&stzid=UgynaQQEp5-9sVSWQqp4AaABAg.9GHKHEPqQ8_9GKO25Kpqfy" rel="noreferrer" target="_blank">https://www.youtube.com/redirect?redir_token=QUFFLUhqbEYxWEQxZzZpbVZSNGk2RjZHUnVUdEVNNEpZd3xBQ3Jtc0ttNzZDcUdxdUN6QU5vc1lKVmdULVFqLWo1WDdjendJbXJwcm03a3R2bWN6dnRlaWM1bENzUXhFNnp2NlN6b2x6Q0V3X21ueFdBNm5HVmQzaEVsZ0FKWGNZNEZSSk9GdDdmbVFwY2JKX1RuUjk0TTJTUQ%3D%3D&event=comments&q=http%3A%2F%2F1.nc%2F&stzid=UgynaQQEp5-9sVSWQqp4AaABAg.9GHKHEPqQ8_9GKO25Kpqfy</a>><br>
Warning 1: Recode from UTF-8 to CP_ACP failed with the error: "Invalid<br>
argument".<br>
Warning 1: No UNIDATA NC_GLOBAL:Conventions attribute Input file size is<br>
8640, 4320 0Warning 1: Recode from UTF-8 to CP_ACP failed with the error:<br>
"Invalid argument". ...10...20...30...40...50...60...70...80...90..Warning<br>
1: Recode from UTF-8 to CP_ACP failed with the error: "Invalid argument".<br>
.100 - done.<br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201121/c8ee3be9/attachment-0001.html" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201121/c8ee3be9/attachment-0001.html</a>><br>
<br>
------------------------------<br>
<br>
Subject: Digest Footer<br>
<br>
_______________________________________________<br>
gdal-dev mailing list<br>
<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/gdal-dev" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/gdal-dev</a><br>
<br>
<br>
------------------------------<br>
<br>
End of gdal-dev Digest, Vol 198, Issue 45<br>
*****************************************<br>
</blockquote></div>