0.0.2 • Published 7 years ago

esrishapejs v0.0.2

Weekly downloads
5
License
ISC
Repository
github
Last release
7 years ago

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.

0.0.2

7 years ago

0.0.1

7 years ago

1.0.5

7 years ago

1.0.4

7 years ago

1.0.3

7 years ago

1.0.2

7 years ago

1.0.1

7 years ago

1.0.0

7 years ago