All Projects → osmlab → Osm Meta Util

osmlab / Osm Meta Util

Utility for downloading and processing OSM metadata

Programming Languages

javascript
184084 projects - #8 most used programming language

Projects that are alternatives of or similar to Osm Meta Util

Datauri
Generate Data-URI scheme via terminal or node.js
Stars: ✭ 212 (+404.76%)
Mutual labels:  cli, metadata
Ytmdl
A simple app to get songs from YouTube in mp3 format with artist name, album name etc from sources like iTunes, Spotify, LastFM, Deezer, Gaana etc.
Stars: ✭ 2,070 (+4828.57%)
Mutual labels:  cli, metadata
Gophie
An Aggregator Engine for searching and downloading movies free - NO ADs!
Stars: ✭ 94 (+123.81%)
Mutual labels:  cli, stream
Streamhut
Stream your terminal to web without installing anything 🌐
Stars: ✭ 676 (+1509.52%)
Mutual labels:  cli, stream
Mnamer
media file renamer and organizion tool
Stars: ✭ 299 (+611.9%)
Mutual labels:  cli, metadata
I18next Scanner
Scan your code, extract translation keys/values, and merge them into i18n resource files.
Stars: ✭ 259 (+516.67%)
Mutual labels:  cli, stream
Cliflix
Watch anything instantaneously, just write its name.
Stars: ✭ 1,439 (+3326.19%)
Mutual labels:  cli, stream
Irs
🎸 🎶 A music downloader that understands your metadata needs.
Stars: ✭ 268 (+538.1%)
Mutual labels:  cli, metadata
Musicrepair
Fixes music metadata and adds album art.
Stars: ✭ 566 (+1247.62%)
Mutual labels:  cli, metadata
Exiftool
ExifTool meta information reader/writer
Stars: ✭ 832 (+1880.95%)
Mutual labels:  cli, metadata
Noop Stream
Create a readable Node.js stream that produces no data (or optionally blank data) or a writable stream that discards data
Stars: ✭ 40 (-4.76%)
Mutual labels:  stream
Curriculum
Overview of the different modules and learning goals of the program.
Stars: ✭ 40 (-4.76%)
Mutual labels:  cli
Fliplog
fluent logging with verbose insight, colors, tables, emoji, filtering, spinners, progress bars, timestamps, capturing, stack traces, tracking, presets, & more...
Stars: ✭ 41 (-2.38%)
Mutual labels:  cli
Notarize
CLI to easily notarize a Mac app
Stars: ✭ 42 (+0%)
Mutual labels:  cli
Datacatalog Connectors
Commons code used by the Data Catalog connectors, and links for the connectors sample code.
Stars: ✭ 40 (-4.76%)
Mutual labels:  metadata
Calz
📆 A natural language alternative to Unix 'cal'
Stars: ✭ 41 (-2.38%)
Mutual labels:  cli
Sdk
Core functionality needed to create .NET Core projects, that is shared between Visual Studio and CLI
Stars: ✭ 996 (+2271.43%)
Mutual labels:  cli
Rivers
Data Stream Processing API for GO
Stars: ✭ 39 (-7.14%)
Mutual labels:  stream
Dw Cli
A command line utility for Salesforce Commerce Cloud (Demandware) SIG and PIG development.
Stars: ✭ 39 (-7.14%)
Mutual labels:  cli
Termtools
Customize your terminal using JavaScript. With themes, extra alias and functions, we combine the power from both JavaScript and Bash.
Stars: ✭ 42 (+0%)
Mutual labels:  cli

OSM-Meta-util

A tool to download and process OSM Metadata. This data contains the most recent annotations around a commit to OSM. Specifically, commit text, username, bounding box, creation date and number of edits. The data is downloaded from the planet repository, which contains minutely changesets to OSM.

Once installed the tool can be used to pipe in compressed XML data between two dates and output it in JSON. OSM Meta Util can also be used in polling mode and continuously download the latest data every minute.

A joint project built by Development Seed and the American Red Cross.

Installing

Clone the repo or download it as a zip. npm install the dependencies.

Running

Require osm-meta-util in your node app.

var MetaUtil = require('osm-meta-util');

The MetaUtil constructor builds a Node Stream, so you can pipe it into stream transformers or into process.stdout

There are a few ways of using the utility:

1. Downloading between two dates

The files are named in numerical order since February 28th, 2012. They're incremented every minute. You need the file name related to the start and end date. For example, 001181708 refers to http://planet.osm.org/replication/changesets/001/181/708.osm.gz, created on 2015-02-10 20:56.

var MetaUtil = require('osm-meta-util');
// Getting historical metadata, specify a start & end
var meta = MetaUtil({
     'delay': 1000,
     'start': '001181708', //2015-02-10 20:56
     'end': '001181721' //2015-02-10 21:09
 }).pipe(process.stdout)

2. Continuously

// Live Mode! Updates every minute
var meta = MetaUtil().pipe(process.stdout)

3. Using as a command line utility

MetaUtil({
    'start': process.argv[2],
    'end': process.argv[3],
    'delay': process.argv[4]
}).pipe(process.stdout)

Use it in combination with jq

node app 001181708 001181721 1000 | jq -c '{user:.user, date: .closed_at}'
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].