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

Update mapshaper #130

Merged
merged 33 commits into from
Apr 7, 2023
Merged

Update mapshaper #130

merged 33 commits into from
Apr 7, 2023

Conversation

ateucher
Copy link
Owner

@ateucher ateucher commented Apr 6, 2023

  • Update bundled mapshaper library to 0.6.25
  • Update testthat to e3
  • Remove geogsonio
  • Copy as.SpatialLinesDataFrame.SpatialLines and as.SpatialPointsDataFrame.SpatialPoints methods from geojsonio.

I had to do some gymnastics with quoting some of the mapshaper call - specifically adding -each 'rmapshaperid=this.id' via force_FC. Just using single quotes works everywhere with the bundled mapshaper, but fails on Windows when using sys_mapshaper(), which uses system2(). But using shQuote() on Windows quotes the string in a way that is incompatible with V8. So now it uses '' when sys=FALSE and shQuote() when `sys=TRUE.

@ateucher ateucher added this to the 0.5 milestone Apr 6, 2023
@ateucher ateucher merged commit b6f34b8 into main Apr 7, 2023
8 checks passed
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

Successfully merging this pull request may close these issues.

None yet

1 participant