german-hafas-osm-line-colour-points
v0.1.0
Published
Points generated using hafas-osm-line-colours from data fetched using osm-transit-lines in Germany.
Downloads
10
Maintainers
Readme
german-hafas-osm-line-colour-points
Points generated using hafas-osm-line-colours from data fetched using osm-transit-lines in Germany.
Installation
npm install german-hafas-osm-line-colour-points
Usage
The module exposes an array which contains the contents of points
in the following script
const osmTransitLines = require('osm-transit-lines')
const { linesToPoints } = require('hafas-osm-line-colours')
const germanyBbox = {
north: 56,
west: 4,
south: 47,
east: 15
}
const lines = await osmTransitLines(germanyBbox, { logging: true, wikidata: true })
const points = linesToPoints(lines)
Contributing
If you found a bug or want to propose a feature, feel free to visit the issues page.