New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More

vbb-shapes

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

vbb-shapes

Shapes of VBB lines.


Version published
Weekly downloads
7
decreased by-36.36%
Maintainers
1
Weekly downloads
 
Created

vbb-shapes

Shapes of lines of the Berlin Brandenburg public transport service (VBB), computed from open GTFS data.

npm version build status dependency status dev dependency status ISC-licensed gitter channel

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.

FAQs

Package last updated on 25 Jan 2017

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts