1.0.3 • Published 5 years ago

osm-object-stream v1.0.3

Weekly downloads
12
License
ISC
Repository
github
Last release
5 years ago

osm-object-stream

Node.js module for a stream of osc or osm files (OpenStreetMap change file), parsing the given XML, and writing objects representing OSM entities

Usage Example

const OsmObjectStream = require('osm-object-stream');
const fs = require('fs');

const osmFileStream = fs.createReadStream('osm/file/path');
const osmObjectStream = new OsmObjectStream();

osmFileStream.pipe(osmObjectStream);
osmObjectStream.on('data', (osmEntitiesBulk) => {
    console.log(osmEntitiesBulk);
});
1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

5 years ago

1.0.0

5 years ago