Skip to main content

Render GeoJSON as ASCII on the commandline.

Project description

Render GeoJSON as ASCII on the commandline.

https://travis-ci.org/geowurster/gj2ascii.svg?branch=master https://coveralls.io/repos/geowurster/gj2ascii/badge.svg?branch=master

Inspired by @wboykinm, @dnomadb, and Twitter. Needs a better name.

https://raw.githubusercontent.com/geowurster/gj2ascii/master/docs/WV.png

Examples

By default every geometry is rendered individually and the user paginates through them by pressing return:

https://raw.githubusercontent.com/geowurster/gj2ascii/master/docs/paginate.png

Use the --all flag to render the entire layer:

https://raw.githubusercontent.com/geowurster/gj2ascii/master/docs/polygons.png

Installing

Via pip:

pip install gj2ascii

Developing

$ git clone https://github.com/geowurster/gj2ascii.git
$ cd gj2ascii
$ virtualenv venv
$ source venv/bin/activate
$ pip install -r requirements-dev.txt
$ pip install -e .
$ nosetests --with-coverage

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

gj2ascii-0.2.0.tar.gz (5.1 kB view hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page