Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Socket
Sign inDemoInstall

efa-export-stops-by-list

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

efa-export-stops-by-list

Exports stops from EFA using stop list endpoint.


Version published
Maintainers
1
Created
Source

efa-export-stops-by-list

Exports stops from EFA using stop list endpoint.

Usage

const exportStops = require("efa-export-stops-by-list");

const url = "http://www2.vvs.de/vvs/XML_STOPLIST_REQUEST?tariffZones=1&coordOutputFormat=WGS84[DD.DDDDD]";

exportStops(url, "UTF-8");

Parameters:

  • url - url of the XML_STOPLIST_REQUEST EFA endpoint.
  • encoding - optional encoding, assumes UTF-8 by default.

The script roduces CSV output in the following format:

"stop_id","stop_name","stop_lon","stop_lat","stop_code"
5501244,"Lorch, Kath.Kindergarten",9.686,48.79881,""

Results are written to the standard output.

Disclaimer

Usage of this script may or may not be legal, use on your own risk.
This repository provides only source code, no data.

License

Source code is licensed under BSD 2-clause license. No license and no guarantees implied on the produced data, produce and use on your own risk.

FAQs

Package last updated on 24 Feb 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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc