savoirfairelinux / sous-chef

Sous-Chef is a web application to help organizations to plan and deliver meals, and to manage clients files.
GNU Affero General Public License v3.0
66 stars 45 forks source link

Implementing an intuitive and intelligent way to handle delivery routes #6

Closed manumilou closed 8 years ago

manumilou commented 8 years ago

Objectives

rjacquemin commented 8 years ago

Take a look at GeoDjango and PostGIS. GeoDjango will give you the ability to store geo informations and do distance lookups.

see below https://www.youtube.com/watch?v=Dfd5lzrz7ps https://www.imagescape.com/blog/2011/09/21/geo-django-quickstart/

rjacquemin commented 8 years ago

FYI: Geodjango is only fully compatible with PostgreSQL. https://docs.djangoproject.com/en/dev/ref/contrib/gis/install/#requirements

If the map feature is important for the app it might be better to use postgresSQL

rjacquemin commented 8 years ago

Without geo-django and the postgresSQL

we can use leaflet with routing plugin http://www.liedman.net/leaflet-routing-machine/

manumilou commented 8 years ago

Mapbox is also a possible solution: https://www.mapbox.com/. It provides a Geocoding API and a directions API as well. Not open-source though, but free under 50,000 map views / mo.