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

Dependencies (2)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i pk-extraction

    Weekly Downloads

    0

    Version

    0.0.2

    License

    MIT

    Last publish

    Collaborators

    • janluu