Skip to main content

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.11 (2021-03-12)

  • Add message no way when on edge cases
  • Reverse way when waypoints are reversed

0.9.10 (2021-03-09)

  • Add message no way found

0.9.9 (2021-02-18)

  • Fix routing without routes

0.9.8 (2021-02-11)

  • Fix waypoints, remove legs between waypoints and start

0.9.7 (2020-12-15)

  • Add waypoints with coordinates and distance to route

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

Metadata

Release files for django-geostore-routing 0.9.11

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for django-geostore-routing 0.9.11
File Size Uploaded
django-geostore-routing-0.9.11.tar.gz 9.6 kB Details

Release files / django-geostore-routing-0.9.11.tar.gz

Download URL django-geostore-routing-0.9.11.tar.gz
Size 9.6 kB
Tags Source
SHA-256 checksum
How to use checksums
f2d6cd10a8e7946215428724c6dbe770a49f1d20974621e2163cfe39f44b063a
BLAKE2b-256 checksum
How to use checksums
73624cfede79a4e1791c39489beabc5801604b60dbd7c90afc67da8f0ae94eec
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/3.3.0 pkginfo/1.7.0 requests/2.25.1 setuptools/54.1.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.6.13

Release history Release notifications | RSS feed

This release

0.9.11 This release

1 release file

0.9.10

1 release file

0.9.9

1 release file

0.9.8

1 release file

0.9.7

1 release file

0.9.6

1 release file

0.9.5

1 release file

0.9.4

1 release file

0.9.3

1 release file

0.9.2

1 release file

0.9.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page