Node bindings for shapelib.maptools.org's shapefile inplementation
C C++ CoffeeScript Python
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
bindings
deps
lib
node_modules
sample
spec
src
.gitignore
README.md
binding.gyp
objective
package.json

README.md

Node bindings for shapelib.maptools.org's implementation of the ESRI shapefile specification with libuv for async file access and decode.

Current version

0.0.1

Disclaimer

Only implements reading shapefiles (no write).
No tests.
My first attempt at node binding to a c library
It occasionally segfaults. (don't know why - c is not my thing)

Usage

npm install node-shapelib-partial
ShapeFile = require('node-shapelib-partial').ShapeFile
shapeFile = new ShapeFile()

shapeFile.open './shape/shape_file_basename', (error, shapeData) -> 

    # 
    # callback with shapeData
    #