Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Live vehicle geolocation of Czech Railways trains, taken from the on-board WiFi system.

License

NotificationsYou must be signed in to change notification settings

derhuerst/live-cd-wifi-position

Repository files navigation

Live vehicle geolocation of České dráhy (Czech Railways) trains, taken from the on-board WiFi system.

npm versionbuild statusISC-licensedminimum Node.js versionsupport me via GitHub Sponsorschat with me on Twitter

Installation

npm install live-cd-wifi-position

Usage

asStream() returns areadable stream inobject mode.

const{asStream}=require('live-cd-wifi-position')constndjson=require('ndjson')constpositions=asStream()positions.on('error',console.error)positions.pipe(ndjson.stringify()).pipe(process.stdout)

An individual data point will look like this:

{latitude:50.62498,longitude:14.055638,altitude:143,speed:88,// km/h}

You can also use theEventEmitter-based API:

const{asEventEmitter}=require('live-cd-wifi-position')constpositions=asEventEmitter()positions.on('error',console.error)positions.on('data',data=>console.log(data))

Related

  • cd-wifi-client – A client for the WiFi portal of Czech Railways trains.
  • wifi-on-ice-position-stream – A stream of positions of German Railways ICE trains, taken from the on-board WiFi.
  • wifi-on-ice-portal-client – Query information from the WiFi portal in German ICE trains.
  • record-ice-movement – Record the movement of anyICE using the on-board WiFi.
  • live-icomera-position – Live vehicle geolocation, taken from the on-board Icomera WiFi system.
  • record-flixbus-movement – Command-line tool to record the movement of aFlixbus coach using the on-board WiFi.
  • live-gomedia-position – Live vehicle geolocation, taken from the GoMedia on-board WiFi entertainment system.
  • sncf-wifi-portal-client – Query information from the SNCF WiFi portal in French TGV trains.
  • record-tgv-movement – Record the movement of anyTGV using theon-board WiFi.
  • digital-im-regio-portal-client – Query information from the Digital im Regio portal in German Regio trains.
  • portale-regionale-wifi-position – Query information from thePortale Regionale WiFi portal in Trenitalia (Italian Railways) trains.

Contributing

If you have a question or need support usinglive-cd-wifi-position, please double-check your code and setup first. If you think you have found a bug or want to propose a feature, usethe issues page.

About

Live vehicle geolocation of Czech Railways trains, taken from the on-board WiFi system.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

[8]ページ先頭

©2009-2025 Movatter.jp