A simple Django app to validate your GeoJSON
JavaScript Python HTML CSS
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
geojsonlint
.gitignore
.travis.yml
LICENSE
Procfile
README.md
manage.py
requirements.txt
testrunner.py

README.md

geojsonlint.com

A simple Django app to validate your GeoJSON. This app is available at http://geojsonlint.com but can run locally with minimal effort.

More info at http://geojason.info/2012/geojson-validation-via-geojsonlint.com/

Getting Started

  1. Clone the repo and cd into it
  2. Create a python virtual environment virtualenv venv --distribute
  3. Source to the virtual environment source venv/bin/activate
  4. Install requirements pip install -r requirements.txt
  5. Run the server python manage.py runserver
  6. Enjoy http://localhost:8000

Tests

Since this is a simple web app with no database requirements, a custom test runner is defined in settings (TEST_RUNNER = 'testrunner.NoDbTestRunner') so there are no database setup or teardown.

  1. Source to the virtual environment source venv/bin/activate
  2. python manage.py test geojsonlint