Switch branches/tags
Nothing to show
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
36 lines (20 sloc) 760 Bytes

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

Current version



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)


npm install node-shapelib-partial
ShapeFile = require('node-shapelib-partial').ShapeFile
shapeFile = new ShapeFile() './shape/shape_file_basename', (error, shapeData) -> 
    # callback with shapeData