#geo #map #gis #cli

app echomap

A command line tool for previewing map files in the terminal

16 releases

new 0.6.2 Jan 22, 2022
0.6.1 Sep 26, 2021
0.6.0 Feb 10, 2021
0.5.3 Dec 12, 2020
0.2.4 Oct 18, 2019

#134 in Command line utilities

Download history 2/week @ 2021-10-07 17/week @ 2021-10-14 3/week @ 2021-10-28 29/week @ 2021-11-04 9/week @ 2021-11-11 22/week @ 2021-11-18 15/week @ 2021-11-25 33/week @ 2021-12-02 4/week @ 2021-12-09 12/week @ 2021-12-16 8/week @ 2021-12-23 14/week @ 2021-12-30 20/week @ 2022-01-06 20/week @ 2022-01-13 18/week @ 2022-01-20

72 downloads per month

MIT license

32KB
713 lines

echomap

crates.io Build status

Preview map files in the terminal

Terminal recording gif

Installation

If you have cargo installed, you can run cargo install echomap and then run it from $HOME/.cargo/bin. More details on this are available in cargo-install documentation.

There are also binaries available for MacOS, Windows and Linux.

Usage

USAGE:
    echomap [FLAGS] [OPTIONS] <INPUT>

FLAGS:
    -a, --area       Print polygon area instead of boundaries
    -h, --help       Prints help information
    -V, --version    Prints version information

OPTIONS:
    -c, --columns <COLUMNS>        Sets the number of columns (in characters) of the printed output. Defaults to
                                   terminal height minus 1.
    -f, --format <FORMAT>          Input file format (tries to infer from file extension by default) [possible values:
                                   geojson, topojson, csv, shp, wkt, polyline, kml]
        --lat <LAT>                Name of latitude column (if format is 'csv')
        --lon <LON>                Name of longitude column (if format is 'csv')
        --precision <precision>    Precision value for polyline parsing
    -r, --rows <ROWS>              Sets the number of rows (in characters) of the printed output. Defaults to terminal
                                   width.
    -s, --simplify <simplify>      Proportion of removable points to remove (0-1 or 0%-100%) [default: 0.01]

ARGS:
    <INPUT>    File to parse or '-' to read stdin

Contributing

See CONTRIBUTING.md

Dependencies

~12MB
~230K SLoC