vbb-shapes
Shapes of lines of the Berlin Brandenburg public transport service (VBB), computed from open GTFS data.
![gitter channel](https://badges.gitter.im/derhuerst/vbb-rest.svg)
Installing
Warning: This module contains JSON file with a total size of roughly 60mb.
npm install vbb-shapes
Usage
Let's assume you read trips from vbb-trips
. Each trip has a shapeId
associated.
const shapes = require('vbb-shapes')
shapes('1269')
.then(console.log)
[
[52.48607, 13.4245],
[52.48756, 13.42648],
[52.5135, 13.52988],
[52.51373, 13.52003]
]
Contributing
If you have a question, found a bug or want to propose a feature, have a look at the issues page.