开发者社区> 镜像站> NPM> shapefile-reader
shapefile-reader
Streaming Shapefile reader
Last updated 5 years ago by emilbay .
ISC · Repository · Bugs · Original npm · Tarball · package.json
$ cnpm install shapefile-reader 
SYNC missed versions from official npm registry.

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

Current Tags

  • 0.1.0                                ...           latest (5 years ago)

1 Versions

  • 0.1.0                                ...           5 years ago
Maintainers (2)
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 1
Last Month 1
Dependencies (1)
Dev Dependencies (2)
Dependents (0)
None