geojsontools

Functions for manipulating geojsons


License
MIT
Install
pip install geojsontools==0.0.3

Documentation

geojsontools

A collection of functions for manipulating geojsons.

Installation/Usage

For Ubuntu, install conda with the following commands (choose default options at prompt):

wget https://repo.continuum.io/miniconda/Miniconda2-latest-Linux-x86_64.sh
bash Miniconda2-latest-Linux-x86_64.sh

For OS X, install conda with the following commands (choose default options at prompt):

wget https://repo.continuum.io/miniconda/Miniconda2-latest-MacOSX-x86_64.sh
bash Miniconda2-latest-MacOSX-x86_64.sh

Then run:

bash

so that modifications in your .bashrc take effect.

Create a conda environment:

conda create -n env python ipython numpy

Activate the environment:

source activate env

Upgrade pip (if required):

pip install pip --upgrade

Install geojsontools:

pip install geojsontools

Optional: you can install the current version of the master branch with:

pip install git+https://github.com/platformstories/geojsontools

Keep in mind that the master branch is constantly under development.

Development

Activate the conda environment:

source activate env

Clone the repo:

git clone https://github.com/digitalglobe/geojsontools
cd geojsontools

Install the requirements:

pip install -r requirements.txt

Please follow this python style guide. 80-90 columns is fine.

To exit your conda virtual environment:

source deactivate

Create a new version

To create a new version:

bumpversion ( major | minor | patch )
git push --tags

Then upload to pypi.