-
Notifications
You must be signed in to change notification settings - Fork 532
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
Can't run mapshaper-xl commands programmatically #367
Comments
This is a good suggestion... I'll think about how to support allocating more memory to the Regarding the API, an optional second argument to
|
I just published a new release with this functionality. Instead of adding an option to I'll document this in the mapshaper wiki soon. The reason for adding a new command instead of overloading |
Wow, that was fast! Thx, I'll try this on Monday! |
Works great, thx! |
Mapshaper has what I can consider to be a great feature where you can run the commands programmatically directly from Node:
var mapshaper = require('mapshaper'); mapshaper.runCommands('-i shapefiles/*.shp -o geojson/ format=geojson');
However, I've noticed that it isn't possible to run mapshaper-xl commands in the same way. For triggering parsing of large files this would be very useful.
Unless I'm overlooking something?
The text was updated successfully, but these errors were encountered: