Skip to content

mapbox/osm-adiff-parser-saxjs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osm-adiff-parser-saxjs

Parses OSM augmented diff (.osc files) and returns elements grouped by changeset ids.

Setup

  • npm install --save 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);
});

About

Browser-compatible version of osm-adiff-parser

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published