Skip to content
This repository was archived by the owner on Mar 15, 2024. It is now read-only.
/ osm-adiff-parser Public archive

Parse OSM augmented diffs and create JSON representation of changesets

License

Notifications You must be signed in to change notification settings

mapbox/osm-adiff-parser

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 

⚠️ This repo is archived because it is no longer used and no stacks are running.
Previously used only in transferred and discontinued mapbox/osmcha project.
Shutdown ticket in Jira for reference.


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);
});

About

Parse OSM augmented diffs and create JSON representation of changesets

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 3

  •  
  •  
  •