Support for flatgeobuf format #599
Closed
jaredlander
started this conversation in
Ideas
Replies: 1 comment 1 reply
-
I would still prefer other solutions than a built-in format for this. I try to keep formats general: data frames, popular machine learning objects, and R objects in general. I also feel like |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Prework
Proposal
When a target results in a large object the standard 'rds' format can be slow. For
data.frame
s and alike alternatives like 'fst' and 'parquet' are pretty great. However,sf
objects don't work well with that format (it's surprising that 'parquet' doesn't play nicely). Even 'qs' gives me trouble.So I'd love to see a 'flatgeobuf' option. The
{sf}
package supports writing to flatgeobuf by callingsf::sf_write(x, 'file_name.fgb')
ifgdal
> 3.1 is installed (I can't get that installed on my machine for some reason so I wasn't able to test this myself).My thinking would be that setting
format='flatgeobuf'
would write thesf
object to this type of file quickly.I tried doing this myself for a PR my copying the parquet format, but the wrong version of gdal is stopping me (and I know I need to fix that before I could even use this feature).
Beta Was this translation helpful? Give feedback.
All reactions