-
Notifications
You must be signed in to change notification settings - Fork 13
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
Issue with ms_simplify and sys = TRUE #87
Comments
This is an odd one. Can you check to see if the file was successfully written to that location? ( |
I wonder if there's a space or a special character in your username (I'm guessing in this report you substituted "User" for your actual user name)? |
Hey mate, I've encountered a similar issue as maka above, following up on your questions:
If I can help in any other way let me know, I'm trying to simplify 150MB .shp file and need to use the sys=TRUE function as it just hangs forever otherwise. Mapshaper version is 0.4.136 Error below:
|
Closing (See #77), should be fixed in v0.4.1. Please reopen if this is still happening and you have the latest |
Hey!
I read through the documentation and tried to run ms_simplify using sys = TRUE
library(sf)
library(tmap)
library(rmapshaper)
fiss <- read_sf("/path/to/file")
fiss <- ms_simplify(fiss, keep = 0.02, sys = TRUE)
This returns the following error:
[i] Error: File not found (C:/Users/User)
Run mapshaper -h to view help
Cannot open data source C:\Users\User\AppData\Local\Temp\RtmpMD75li\file230064ff2da8.geojson
Error in CPL_read_ogr(dsn, layer, query, as.character(options), quiet, :
Open failed.
I've installed node.js:
check_sys_mapshaper()
mapshaper version 0.4.120 is installed and on your PATH
Any idea what I'm doing wrong? I'm having a really hard time opening large shapefiles without this.
The text was updated successfully, but these errors were encountered: