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

empty geometry causes crash #32

Closed
SymbolixAU opened this issue Aug 30, 2018 · 1 comment
Closed

empty geometry causes crash #32

SymbolixAU opened this issue Aug 30, 2018 · 1 comment
Labels
Milestone

Comments

@SymbolixAU
Copy link
Collaborator

SymbolixAU commented Aug 30, 2018

Reproducible

These all cause RStudio / R to crash

googlePolylines::encode( sf::st_sfc(sf::st_multipoint()) )
googlePolylines::encode( sf::st_sfc(sf::st_multilinestring()) )
googlePolylines::encode( sf::st_sfc(sf::st_multipolygon()) )

non-MULTI* objects are fine

googlePolylines::encode( sf::st_sfc(sf::st_point()) )
googlePolylines::encode( sf::st_sf(geometry = sf::st_sfc(sf::st_point())) )

googlePolylines::encode( sf::st_sfc(sf::st_linestring()) )
googlePolylines::encode( sf::st_sf(geometry = sf::st_sfc(sf::st_linestring())) )

googlePolylines::encode( sf::st_sfc(sf::st_polygon()) )
googlePolylines::encode( sf::st_sf(geometry = sf::st_sfc(sf::st_polygon())) )
@SymbolixAU
Copy link
Collaborator Author

here's the issue

SymbolixAU pushed a commit that referenced this issue Aug 30, 2018
@SymbolixAU SymbolixAU removed their assignment Jan 16, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

0 participants