Home

Awesome

vbb-stations-with-bicycle-parking

VBB stations with nearby bicycle parking facilities. Taken from OSM.

npm version build status ISC-licensed chat with me on Gitter support me on Patreon

Installation

npm install vbb-stations-with-bicycle-parking

Usage

const bikeRacks = require('vbb-stations-with-bicycle-parking/index.json')

const atFriedrichstr = bikeRacks['900000100001']
for (let [osmId, capacity] of atFriedrichstr) {
	console.log(osmId, capacity)
}

To get all OSM tags:

const bikeRacksFull = require('vbb-stations-with-bicycle-parking/full.json')

const atFriedrichstr = bikeRacksFull['900000100001']
for (let [osmId, tags] of atFriedrichstr) {
	console.log(osmId, tags)
}

Contributing

If you have a question or need support using vbb-stations-with-bicycle-parking, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, refer to the issues page.