PGRouting plugin for django-geostore
Project description
django-geostore-routing
- PGRouting plugin for django-geostore
- Add topology creation and update on Linestring based layers
- Add custom fields and endpoint in django-geostore API to compute routing
Requirements
General
- Python 3.6+
- Postgresql 10+
- PostGIS 2.4+
- PgRouting 2.5+
Libraries
these are debian packages required
- libpq-dev (psycopg2)
- gettext (translations)
- binutils (django.contrib.gis)
- libproj-dev (django.contrib.gis)
- gdal-bin (django.contrib.gis)
recommended
- postgresql-client (if you want to use ./manage.py dbshell command)
Installation
from PYPI
pip install django-geostore-routing
from GitHub
git clone https://github.com/Terralego/django-geostore-routing.git
cd django-geostore-routing
python3 setup.py install
in your project settings
INSTALLED_APPS = (
'geostore',
'geostore_routing',
)
Development
with docker :
docker-compose build
docker-compose up
docker-compose run web ./manage.py test
with pip :
python3.6 -m venv venv
source activate venv/bin/activate
pip install -e .[dev]
CHANGELOG
0.9.3 (2020-10-27)
- Fix release
0.9.2 (2020-10-27)
- Require django-geostore 0.5.0 minimum
0.9.1 (2020-10-27)
- Wrong release
0.9.0 (2020-10-27)
- First release