Skip to main content

PGRouting plugin for django-geostore

Project description

Build codecov Maintainability Documentation Status

Python Version Django Version

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

https://django-geostore-routing.readthedocs.io/en/latest/

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.6 (2020-11-06)

  • Improve compatibility with django-geostore > 0.5.2

0.9.5 (2020-10-30)

  • Fix default routing layer serializer
  • Change way to load signals
  • Improve test coverage

0.9.4 (2020-10-28)

  • Improve compatibility with django-geostore > 0.5.0

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

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

django-geostore-routing-0.9.6.tar.gz (10.3 kB view details)

Uploaded Source

File details

Details for the file django-geostore-routing-0.9.6.tar.gz.

File metadata

  • Download URL: django-geostore-routing-0.9.6.tar.gz
  • Upload date:
  • Size: 10.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.2.0 pkginfo/1.6.1 requests/2.24.0 setuptools/50.3.2 requests-toolbelt/0.9.1 tqdm/4.51.0 CPython/3.6.12

File hashes

Hashes for django-geostore-routing-0.9.6.tar.gz
Algorithm Hash digest
SHA256 0c5dcae3adc2b7d2b5f3fa75599b08e684e3207c5e93a986bbe39cc309a6d44f
MD5 9767d0b2442a2cce07602b2f49a49eb0
BLAKE2b-256 4c5c3d6290ddb65bb75dda2d9eb87b47c968e357167c4aad8d17a38df4d67e2f

See more details on using hashes here.

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