shapefile-reader

0.1.0 • Public • Published

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

Dependents (0)

Package Sidebar

Install

npm i shapefile-reader

Weekly Downloads

2

Version

0.1.0

License

ISC

Last publish

Collaborators

  • emilbayes
  • emilbay