Skip to content
This repository has been archived by the owner on Sep 26, 2024. It is now read-only.

Browser-compatible version of osm-adiff-parser

Notifications You must be signed in to change notification settings

OSMCha/osm-adiff-parser-saxjs

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

osm-adiff-parser-saxjs

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

Warning

This package is deprecated. Instead, use @osmcha/osm-adiff-parser v2.0.0 or higher, which works both in Node.js and in browsers.

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

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • JavaScript 100.0%