geomet/geomet — pull request #13 by sgillies (2014-08-15 17:02:15+00:00)
Title: A CLI tool for geomet.

@larsbutler are you interested in a CLI tool for geomet? This one uses click instead of argparse or optparse and works like this (round trip of WKT through WKB):

```
$ echo "POINT (0.9999999 0.9999999)" | python -m geomet.tool --wkb | python -m geomet.tool --wkt --precision 7
POINT (0.9999999 0.9999999)
```

Its general usage:

```
$ python -m geomet.tool --help
Usage: tool.py [OPTIONS]

Options:
-v, --verbose Increase verbosity.
-q, --quiet Decrease verbosity.
--json JSON output.
--wkb WKB output.
--wkt WKT output.
--precision INTEGER Decimal precision of JSON and WKT coordinates.
--indent INTEGER Indentation level for pretty printed output
--help Show this message and exit.
```