Wondering what’s next for npm?Check out our public roadmap! »

    aus-payphones

    1.2.3 • Public • Published

    Australian Payphones

    Build

    Gets Australian payphone data from Telstra in GeoJSON format.

    $ npm install -g aus-payphones
    $ aus-payphones

    Program usage

    By default, aus-payphones will fetch data and place it into the working directory. The file contains the current timestamp. The program offers options to generate a file that contains a date rather than a timestamp and also emit the file to a selected path.

    The following is from the program usage output:

    $ aus-payphones -h
    Usage:  aus-payphones [options]
    
    Options:
      --version       Show version number                                  [boolean]
      -f, --filename  The name of the file to emit the features to. The default file
                      takes for form payphones-{timestamp}.geojson
                                  [string] [default: "payphones-1592185512735.geojson"]
      -d, --datefile  Generate file with date - payphones-{yyyy}-{mm}-{dd}.geojson
                                                          [boolean] [default: false]
      -p, --path      Path to generate the file. Defaults to current directory
          [string] [default: "/Users/jim.vrckovski/jv/gitrepos/australianpayphones"]
      -t, --test      Sets the mode to test to only download a subset of the data
                                                          [boolean] [default: false]
      -e, --envelope  Sets the envelope for data retrieval
                      [string] [default: "112.91944420700005,-54.75042083099999,159.10645592500006,-9.240166924999869"]
      -h, --help      Show help                                            [boolean]

    Sample data

    A sample of the data can be found here

    Development Information

    MAP

    Install

    npm i aus-payphones

    DownloadsWeekly Downloads

    4

    Version

    1.2.3

    License

    MIT

    Unpacked Size

    12.2 MB

    Total Files

    19

    Last publish

    Collaborators

    • avatar