Nascent Political Miscreant

    osm-adiff-parser

    1.1.0 • Public • Published

    osm-adiff-parser

    Parsers OSM augmented diff (.osc) and returns elements grouped by changeset ID. Based on the parser in planet-stream.

    Setup

    • npm install osm-adiff-parser

    Usage

     
    var parser = require('osm-adiff-parser');
     
    // to filter certain changesets
     
    parser(xml, ['46613588', '46613589'], function(err,data) {
        console.log(data);
    });
     
    // to get all changesets
     
    parser(xml, null, function(err,data) {
        console.log(data);
    });
     

    Keywords

    none

    Install

    npm i osm-adiff-parser

    DownloadsWeekly Downloads

    2

    Version

    1.1.0

    License

    ISC

    Last publish

    Collaborators

    • geohacker