node package manager

shapefile-reader

shapefile-reader - WIP

Streaming Shapefile reader

This is a very early work in progress. Come back later.

Installation

npm install shapefile-reader

Usage

const fs = require('fs')
const shapefileReader = require('shapefile-reader')
 
shapefileReader({
  shapefile: fs.createReadStream('some-shapefile.shp')
})
.on('header', function (header) {
  // Most interesting is probably header.boundingBox and header.shapeType 
})

License