Package Exports
- esrishapejs
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (esrishapejs) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
esrishapejs
This library reads esri shape format.
Example
//import the library
var ShpFile = require('esrishapejs');
//you must check your .shp .dbf for init function
ShpFile.init({
shpfile:shpfile,
dbffile:dbffile,
type:'geojson', // geojson or arcgis
}).then(data=>{
//Returns the true result
console.log(e)
},data=>{
// any error
console.log(e)
})
);
esrishapejs can undecode the dbf file for utf8 utf16 and gbk2313,when the decode type is gbk2313 you need import the gbk2313.