derhuerst/vbb-osm-relations


VBB lines, platforms, entrances and their OSM relations.

https://github.com/derhuerst/vbb-osm-relations

License: ISC

Language: JavaScript

Keywords: berlin, bvg, osm, transit, transport, vbb


vbb-osm-relations

VBB lines, platforms and station entrances and their OSM relations.

Almost all VBB infrastructure is mapped in OSM, but the individual elements are not always tagged with the station they belong to. This module contains those that can be matched with VBB stations without ambiguity, either by distance or by similar names.

The intended future state is that all lines, platforms and entrances are tagged with proper, machine-readable VBB IDs. Right now, this is a brittle hack to still make use of the data.

npm version build status dependency status dev dependency status ISC-licensed support me on Patreon

Installing

npm install vbb-osm-relations

Usage

Each value is an OSM element ID:

const lines = require('vbb-osm-relations/lines')
lines.U7 // 58425

const platforms = require('vbb-osm-relations/platforms.json')
platforms['900000056104'] // U Bülowstr.
// [ 391385382, 391385383 ]

const entrances = require('vbb-osm-relations/entrances.json')
entrances['900000130011'] // U Vinetastr.
// [ 2714518751, 2714518752, 2714518753, 2714518755, 2714518758, 2714518760 ]

Contributing

If you have a question, found a bug or want to propose a feature, have a look at the issues page.

Project Statistics

Sourcerank 4
Repository Size 67.4 KB
Stars 0
Forks 1
Watchers 1
Open issues 5
Dependencies 11
Contributors 3
Tags 1
Created
Last updated
Last pushed

Top Contributors See all

Jannis Redmann greenkeeper[bot]

Packages Referencing this Repo

vbb-osm-relations
VBB lines and their OSM relations.
Latest release 1.13.0 - Updated

Recent Tags See all

0.1.0 May 14, 2016

Something wrong with this page? Make a suggestion

Last synced: 2019-12-26 15:35:59 UTC

Login to resync this repository