Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NA elements not handled correctly #63

Closed
dcooley opened this issue Mar 16, 2019 · 0 comments
Closed

NA elements not handled correctly #63

dcooley opened this issue Mar 16, 2019 · 0 comments

Comments

@dcooley
Copy link
Collaborator

dcooley commented Mar 16, 2019

sf <- sf::st_sf( geometry = sf::st_sfc( sf::st_linestring( x = matrix(c(0,0,0,0,1,1,NA,1), ncol = 4, byrow = T))))
geo <- geojsonsf::sf_geojson( sf )
geo 
{"type":"LineString","coordinates":[[0.0,0.0,0.0,0.0],[1.0,1.0,,1.0]]}

The empty element is not valid

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant