Skip to content
Prev 28988 / 29559 Next

df with embedded wkt lists to sf

Yeah, of course. I wouldn?t necessarily call it ?convoluted!? It?s a pretty
standard data cleaning flow.

As a note, I was last and specified the coordinate columns by position. You
should provide a vector of the column names eg c(?x?, ?y?). Check out the
help documentation for that function. It should be useful!

The process, if it?s not necessarily clear, separates each point to a row,
those points then are combined to multipoint and then cast as a line
string.

On Fri, Jun 10, 2022 at 07:16 Howard, Tim G (DEC) <tim.howard at dec.ny.gov>
wrote:

  
  
Message-ID: <CAL3ufUKW-12LPRO30sJiE0rcuuOX4vuYwv+7oysAXRnC5zyD6Q@mail.gmail.com>
In-Reply-To: <SA1PR09MB7792AB39555F30BBBF243B1EA8A69@SA1PR09MB7792.namprd09.prod.outlook.com>