german-hafas-osm-line-colour-points

0.1.0 • Public • Published

german-hafas-osm-line-colour-points

Points generated using hafas-osm-line-colours from data fetched using osm-transit-lines in Germany.

npm version Build Status Greenkeeper badge dependency status license chat on gitter

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.

Package Sidebar

Install

npm i german-hafas-osm-line-colour-points

Weekly Downloads

0

Version

0.1.0

License

ISC

Unpacked Size

8.48 MB

Total Files

4

Last publish

Collaborators

  • juliuste