A python module to convert kml positions on spotternetwork to geojson.
This has been tested on ubuntu 14.04 and Fedora 18.
- build-essential
- python-dev
- python-pip
- python-setuptools
- libxslt1-dev
- libz-dev
- python-setuptools
- libxslt-devel
- libxml2-devel
- python-devel
To install with setup tools clone the repository and run the following:
python setup.py install
Get positions in geojson format
from spotternetowrk import SpotterNetwork
spotters = SpotterNetwork()
spotters.load_from_kml()
positions = spotters.positions
You can also just run it from the command line. In the future I may get around to using consolescripts to make an actual cli.
python -mspotternetwork