Re: [R-sig-Geo] ordering points into a line

2024-06-06 Thread Ben Tupper
Interesting - thanks for passing that along. On Thu, Jun 6, 2024 at 6:32 AM Adrian Baddeley wrote: > > Ben Tupper writes: > > > This dataset provides an interesting spatial puzzle because the points > > for a specific wall on a given date are not ordered. Assuming that > > the points could be or

[R-sig-Geo] ordering points into a line

2024-06-06 Thread Adrian Baddeley
Ben Tupper writes: > This dataset provides an interesting spatial puzzle because the points > for a specific wall on a given date are not ordered. Assuming that > the points could be ordered into LINESTRING, the problem is how to do it. This is a special case of the Travelling Salesman Problem a

Re: [R-sig-Geo] ordering points into a line

2024-06-05 Thread Ben Tupper
You make it look so easy! That is just what I was trying to noodle out. I need to spend more time digging into the [s2](https://r-spatial.github.io/s2/index.html) package. Thank you! On Wed, Jun 5, 2024 at 1:09 PM Dewey Dunnington wrote: > > Hi Ben, > > I had a bit of fun with this [1]...the

Re: [R-sig-Geo] ordering points into a line

2024-06-05 Thread Dewey Dunnington
Hi Ben, I had a bit of fun with this [1]...the act of following a shortest path and finding the endpoints are sort of related (in that if you follow the shortest path setting a maximum distance threshold, eventually you will fail to find any more points, and you've found (maybe) and endpoint!)

[R-sig-Geo] ordering points into a line

2024-06-05 Thread Ben Tupper
Hello, NOAA's Ocean Prediction Center (https://ocean.weather.gov/) serves the US Navy's almost-daily estimate of the locations of the north and south walls of the Gulf Stream in the North Atlantic (https://ocean.weather.gov/gulf_stream_latest.txt). The also serve an archive via a FTP server (https