Open PaulC91 opened 4 months ago
Thanks for opening!
This is not by design, per se, but I think it happens because st_as_sf()
will only recognize columns that inherit from sfc
. In order for this to work, it would have to apply some heuristics to recognize other geometry-like columns within an existing data.frame. For things that haven't yet been converted to a data.frame, we own the st_as_sf
implementation, which is why the conversion works 🙂 .
I should probably open an issue in sf for this!
-dewey
Makes sense! Thanks for clarifying 👍
Hey Dewey,
Thanks so much for your work on this, really excited to start using it!
I noticed that reading and converting a parquet file written with geoarrow to an sf object only works if you open the file with
open_dataset()
first, but not if you read it withread_parquet()
(reprex below).Maybe this is by design? But I thought I'd flag in case it's not!
Thanks, Paul
Created on 2024-07-15 with reprex v2.0.2