<div dir="ltr">Dear Rahkonen Jukka,<div><br></div><div>GDAL VRT is definitely a solution for my question. The XML is readable by QGIS.</div><div><br></div><div>I appreciated your time and help.</div><div><br></div><div>Many many many thanks</div><div><br></div><div>Thank you so much.</div><div><br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Mon, Nov 23, 2020 at 12:09 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. Re: ogr2ogr is not working for a geojson file (jratike80)<br>
   2. Re: gdal-dev Digest, Vol 198, Issue 45 (Rahkonen Jukka (MML))<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 23 Nov 2020 07:07:36 -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] ogr2ogr is not working for a geojson file<br>
Message-ID: <<a href="mailto:1606140456215-0.post@n6.nabble.com" target="_blank">1606140456215-0.post@n6.nabble.com</a>><br>
Content-Type: text/plain; charset=UTF-8<br>
<br>
Hi,<br>
<br>
I don't know that Java stuff but at least there does not seem to be anything<br>
wrong with your data nor  ogr2ogr. Your command runs without errors on<br>
Windows and ogr2ogr binary (GDAL version 3.2).<br>
<br>
-Jukka Rahkonen- <br>
<br>
<br>
<br>
Ravi Teja Krishna Wuyyuru wrote<br>
> Hi team,<br>
> <br>
> ? ? ? I am using ogr2ogr with java bindings for conversion of a geojson<br>
> file to a csv file, But I am getting an error as specified below.<br>
> <br>
> ERROR 10: Pointer 'panMap' is NULL in 'OGR_F_SetFrom'.<br>
> <br>
> <br>
> <br>
> Unable to translate feature 0 from layer map_sample<br>
> <br>
> Terminating translation prematurely after failed<br>
> <br>
> translation of layer map_sample (use -skipfailures to skip errors)<br>
> <br>
> <br>
> <br>
> ogr2ogr is invoked as below<br>
> <br>
> <br>
> <br>
> java -cp :gdal.jar -Djava.library.path=libs/ ogr2ogr "-s_srs" "CRS:84"<br>
> "-t_srs" "CRS:84" "-f" "CSV" proplesscsv.csv map_sample.geojson? "-lco"<br>
> "GEOMETRY=AS_WKT"<br>
> <br>
> I have also attached the sample file I was working with this mail. Kindly<br>
> help me in this conversion failure.<br>
> <br>
> <br>
> Thanks & Regards,<br>
> <br>
> Ravi Teja<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>
> map_sample.geojson (647 bytes)<br>
> &lt;<a href="http://osgeo-org.1560.x6.nabble.com/attachment/5450537/0/map_sample.geojson&gt" rel="noreferrer" target="_blank">http://osgeo-org.1560.x6.nabble.com/attachment/5450537/0/map_sample.geojson&gt</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: 2<br>
Date: Mon, 23 Nov 2020 15:08:24 +0000<br>
From: "Rahkonen Jukka (MML)" <<a href="mailto:jukka.rahkonen@maanmittauslaitos.fi" target="_blank">jukka.rahkonen@maanmittauslaitos.fi</a>><br>
To: 1520 gis <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@gmail.com</a>>,<br>
        "<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a>" <<a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a>><br>
Subject: Re: [gdal-dev] gdal-dev Digest, Vol 198, Issue 45<br>
Message-ID: <<a href="mailto:e0cc3137e9e24df7a00b7261384ccb0d@maanmittauslaitos.fi" target="_blank">e0cc3137e9e24df7a00b7261384ccb0d@maanmittauslaitos.fi</a>><br>
Content-Type: text/plain; charset="utf-8"<br>
<br>
Hi,<br>
<br>
Hi,<br>
<br>
I do not know how QGIS deals with this, but how about using VRT? It is XML and you can use it with GDAL tools. Try<br>
<br>
Step 1.<br>
gdal_translate -of vrt WCS:"<a href="http://demo.geo-solutions.it:80/geoserver/wcs?version=2.0.1&coverage=sf__sfdem" rel="noreferrer" target="_blank">http://demo.geo-solutions.it:80/geoserver/wcs?version=2.0.1&coverage=sf__sfdem</a>" wcs.vrt<br>
<br>
Step 2.<br>
gdal_translate -of GTiff -outsize 200 200 -projwin 589980.000 4928010.000 590980.000 4918010.000 wcs.vrt converted_from_wcs_vrt.tif<br>
<br>
This VRT file did not work with my QGIS but a VRT created for my local Geoserver works. Steps to follow<br>
<br>
gdal_translate -of VRT WCS:"localhost:8080/geoserver/wcs?version=2.0.1&service=WCS&coverage=sf__sfdem" localwcs.vrt<br>
<br>
QGIS opens localwcs.vrt. The VRT file is referencing another XML file that is created by the WCS driver, in my case<br>
<SourceFilename relativeToVRT="0">C:\Users\JRAHKONEN\.gdal\wcs_cache\DokaJ.xml</SourceFilename><br>
<br>
QGIS was not able to open C:\Users\JRAHKONEN\.gdal\wcs_cache\DokaJ.xml directly but I did not spend much time for finding out why not.<br>
<br>
So if you want to continue the game:<br>
<br>
  1.  create vrt with gdal_translate<br>
  2.  check what xml file it is reading<br>
  3.  move the xml file away from the WCS cache directory<br>
  4.  edit the vrt file and update the reference into the XML file<br>
  5.  Try with GDAL tools and QGIS.<br>
<br>
I am not at all sure if QGIS can use the WCS-VRT layer in a way that makes sense. I suggest to test with your own Geoserver and follow what kind of requests QGIS creates.<br>
<br>
Good luck.<br>
<br>
-Jukka Rahkonen-<br>
<br>
<br>
-Jukka Rahkonen-<br>
<br>
<br>
<br>
L?hett?j?: 1520 gis <<a href="mailto:juliermeopensourcedeveloper@gmail.com" target="_blank">juliermeopensourcedeveloper@gmail.com</a>><br>
L?hetetty: maanantai 23. marraskuuta 2020 16.01<br>
Vastaanottaja: <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a>; Rahkonen Jukka (MML) <<a href="mailto:jukka.rahkonen@maanmittauslaitos.fi" target="_blank">jukka.rahkonen@maanmittauslaitos.fi</a>><br>
Aihe: Re: gdal-dev Digest, Vol 198, Issue 45<br>
<br>
Dear Rahkonen Jukka,<br>
<br>
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.<br>
<br>
It could be something interesting to be implemented in the future.<br>
<br>
Thank you very much for your time and consideration of my messages.<br>
<br>
Kind regards<br>
<br>
Julierme<br>
<br>
<br>
On Sat, Nov 21, 2020 at 5:00 PM <<a href="mailto:gdal-dev-request@lists.osgeo.org" target="_blank">gdal-dev-request@lists.osgeo.org</a><mailto:<a href="mailto:gdal-dev-request@lists.osgeo.org" target="_blank">gdal-dev-request@lists.osgeo.org</a>>> wrote:<br>
Send gdal-dev mailing list submissions to<br>
        <a href="mailto:gdal-dev@lists.osgeo.org" target="_blank">gdal-dev@lists.osgeo.org</a><mailto:<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><mailto:<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><mailto:<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><mailto:<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><mailto:<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><mailto:<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&amp" rel="noreferrer" target="_blank">https://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&amp</a><br>
;</ServiceURL><br>
  <CoverageName>nurc:Img_Sample</CoverageName><br>
<br>
<GetCoverageExtra>&amp;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><mailto:<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><mailto:<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><mailto:<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>
> &lt;<a href="http://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&amp;coverage=nurc__Img_Sample&gt" rel="noreferrer" target="_blank">http://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&amp;coverage=nurc__Img_Sample&gt</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>
> &lt;<a href="http://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&amp;coverage=nurc__Img_Sample&gt" rel="noreferrer" target="_blank">http://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&amp;coverage=nurc__Img_Sample&gt</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&amp" rel="noreferrer" target="_blank">https://demo.geo-solutions.it/geoserver/wcs?version=2.0.1&amp</a><br>
> ;<br>
> </ServiceURL><br>
><br>
> <CoverageName><br>
> nurc:Img_Sample<br>
> </CoverageName><br>
><br>
> <GetCoverageExtra><br>
> &amp;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<mailto:<a href="mailto:gdal-dev@" target="_blank">gdal-dev@</a>.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><mailto:<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><mailto:<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><mailto:<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><mailto:<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><mailto:<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><mailto:<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><mailto:<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>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201123/24144386/attachment.html" rel="noreferrer" target="_blank">http://lists.osgeo.org/pipermail/gdal-dev/attachments/20201123/24144386/attachment.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 48<br>
*****************************************<br>
</blockquote></div>