pk-extraction

0.0.2 • Public • Published

pk-extraction

A command-line app for extracting names and coordinates of places in Helsinki's Palvelukartta data.

Usage

The program takes as arguments names of cities and the corresponding filenames into which the station data should be added. For example:

pk-extraction Helsinki=/path/to/helsinki.txt Vantaa=/path/to/vantaa.txt

The data is retrieved from the REST API using the palvelukartta module.

Each line in stdout will be a placename and its coordinates (lon,lat) separated by a pipe.

Kauniaisten skeittipuisto|60.210346,24.721437

Versions

Current Tags

  • Version
    Downloads (Last 7 Days)
    • Tag
  • 0.0.2
    1
    • latest

Version History

  • Version
    Downloads (Last 7 Days)
    • Published
  • 0.0.2
    1
  • 0.0.1
    1
  • 0.0.0
    0

Package Sidebar

Install

npm i pk-extraction

Weekly Downloads

2

Version

0.0.2

License

MIT

Last publish

Collaborators

  • janluu