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 ."
Here is the output of version for our linux server:
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 ."
Here is the output of
version
for our linux server:Happy to add anymore information as necessary