sfheaders icon indicating copy to clipboard operation
sfheaders copied to clipboard

Build helper `to_sf()`

Open mdsumner opened this issue 5 years ago • 2 comments

A next level helper, this one determines the sfc type by matching sets of available column names, and detecting geometry type.

Is this suitable for sfheaders? I'm not sure - if not I'll build it into silicate, or into a tiny new package importing sfheaders.

mdsumner avatar Apr 01 '20 09:04 mdsumner

Thanks. I see this is one step towards what I had in mind for https://github.com/dcooley/sfheaders/issues/25

I'm going to leave this as a PR until I finalise how the C++ API will work, then the R side (your code) will fit onto that.

dcooley avatar Apr 01 '20 10:04 dcooley

Ah no worries - I'll just use this externally for now

mdsumner avatar Apr 01 '20 10:04 mdsumner