Re: [gdal-dev] Convex hull with holes

2023-03-03 Thread Markus Neteler
On Fri, Mar 3, 2023 at 1:52 PM Paul Meems wrote: > > How can I algorithmically create a parcel border that accounts for islands or > holes within the parcel based on a list of coordinates? > > While GDAL+GEOS has a Convex hull method, it only identifies the outer border. > > Has GDAL+GEOS a metho

Re: [gdal-dev] Convex hull with holes

2023-03-03 Thread Joaquim Manuel Freire Luís via gdal-dev
I do that type of things with GMT’s mask module (-D option) https://docs.generic-mapping-tools.org/latest/mask.html From: gdal-dev On Behalf Of Paul Meems Sent: Friday, March 3, 2023 2:47 PM To: gdal-dev@lists.osgeo.org Subject: Re: [gdal-dev] Convex hull with holes Thanks Jukka for your reply.

Re: [gdal-dev] Convex hull with holes

2023-03-03 Thread Paul Meems
Thanks Jukka for your reply. I understand it is hard. In my case, I have a lot of data points making your edge case not a problem for me. The data points are collected driving over a field with 1 or more sensors. The result can be something like this: [image: image.png] The red dots are the data p

Re: [gdal-dev] Convex hull with holes

2023-03-03 Thread Rahkonen Jukka
Hi, So you have an uncategorized bunch of points and you wish to have an algorithm that recognizes outer and inner rings automatically? I fear that is not as easy as it may appear. Have a look at the annexed image with two polygons having the same vertices. How could an algorithm know which int

[gdal-dev] Convex hull with holes

2023-03-03 Thread Paul Meems
How can I algorithmically create a parcel border that accounts for islands or holes within the parcel based on a list of coordinates? While GDAL+GEOS has a Convex hull method, it only identifies the outer border. Has GDAL+GEOS a method that I can use to detect inner holes as well, such as in a do

Re: [gdal-dev] Retry and delay when downloading WMS

2023-03-03 Thread Rahkonen Jukka
Hi, For a controlled test you should have a way to make the server side to fail when you want so. I am not sure if simply unplugging you network connector would make GDAL to repeat the requests. Installing your local WMS server and stopping it while GDAL is working could be another possibility.