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

ms_simplify fails on CentOs redhat - unexpected token . #165

Closed
B-Nilson opened this issue Sep 12, 2023 · 1 comment
Closed

ms_simplify fails on CentOs redhat - unexpected token . #165

B-Nilson opened this issue Sep 12, 2023 · 1 comment

Comments

@B-Nilson
Copy link

I use ms_simplify(poly, weighting = 1, keep_shapes=T) to simplify polygons read in by rgdal::readOGR. On my windows machine this works fine, but on our web server (centos redhat server) I get an error that seems to be related to parsing the "mapshaper/mapshaper-browserify.min.js" file.

SyntaxError: Unexpected token ."

image

Here is the output of version for our linux server:
image

Happy to add anymore information as necessary

@ateucher
Copy link
Owner

This is a duplicate of #157 - I hope you found a solution there @B-Nilson!

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

2 participants