Closed cole-brokamp closed 1 month ago
I think it's just a geometry column, not a nested list. I used st_union
and pasted together the tlid
s...
Can you read it back in okay? Do you get those same errors that I get above in the reprex?
If I read it in before loading the geoarrow package, I get the same error as you did (and the geometry column is type 'list')
If I load geoarrow then read it in, I still get that error, but the geometry column is type 'grrw_vect'... I wonder if there is some way to convert that back to sf?
It looks my reprex above works as expected if I load geoarrow first instead of after I load the data.
packageVersion("dpkg")
#> [1] '0.4.0'
library(geoarrow)
d <-
dpkg::stow("https://github.com/geomarker-io/xx_address/releases/download/crime_incidents-v0.1.0/crime_incidents-v0.1.0.parquet") |>
arrow::read_parquet()
d$geometry <- sf::st_as_sfc(d$geometry)
d <- sf::st_as_sf(d, crs = 4326)
Created on 2024-08-26 with reprex v2.1.0
Are the geometries nested in a list? Should we unionize these so they can be read in as a simple features object?
Created on 2024-08-23 with reprex v2.1.0