Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Branch: master
Fetching contributors…

Cannot retrieve contributors at this time

36 lines (20 sloc) 0.76 kB

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
    # 

Jump to Line
Something went wrong with that request. Please try again.