ropensci / stplanr

Sustainable transport planning with R
https://docs.ropensci.org/stplanr
Other
417 stars 66 forks source link

Fails with data.table sf input #500

Closed Robinlovelace closed 1 year ago

Robinlovelace commented 1 year ago

As reported by @temospena.

Solution, something like this:

sf::st_sf(
  det %>% sf::st_drop_geometry() %>% tibble::as_tibble(),
  geometry = det$geometry
  )