Tuesday 31 January 2017

javascript - Options for JS Shapefile to geoJSON conversions that allow multiple input files?


I am looking for JavaScript options that allow me to take a set of shapefiles (the .shp, .shx, .dbf, and what ever other related files) and convert them into geoJSON.


I am then going to take this geoJSON and save it to the database.


I have found a number of options:


1) https://github.com/wavded/js-shapefile-to-geojson


2) https://www.npmjs.com/package/shapefile


I believe number 2 is my best option but I can't seem to confirm that it will allow me to give it more than one shapefile to convert to geoJSON. Do you know of any libraries that allow for multiple shapefile types to be used as input at one time?




No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...