urban-meal-delivery/src/urban_meal_delivery/db
Alexander Hess db715edd6d
Add constructor for the DistanceMatrix class
- `DistanceMatrix.from_addresses()` takes a variable number of
  `Address` objects and creates distance matrix entries for them
- as a base measure, the air distance between two `Address`
  objects is calculated
- in addition, an integration with the Google Maps Directions API is
  implemented that provides a more realistic measure of the distance
  and duration a rider on a bicycle would need to travel between two
  `Address` objects
- add a `Location.lat_lng` convenience property that provides the
  `.latitude` and `.longitude` of an `Address` as a 2-`tuple`
2021-09-12 16:51:10 +02:00
..
utils Add constructor for the DistanceMatrix class 2021-09-12 16:51:10 +02:00
__init__.py Add DistanceMatrix class 2021-09-12 16:51:10 +02:00
addresses.py Add DistanceMatrix class 2021-09-12 16:51:10 +02:00
addresses_addresses.py Add constructor for the DistanceMatrix class 2021-09-12 16:51:10 +02:00
addresses_pixels.py Add DistanceMatrix class 2021-09-12 16:51:10 +02:00
cities.py Pin the dependencies ... 2021-02-04 13:12:47 +01:00
connection.py Add CLI script to gridify all cities 2021-01-06 16:17:05 +01:00
couriers.py Re-factor the ORM tests to use randomized fake data 2020-12-29 15:40:32 +01:00
customers.py Add functionality for drawing folium.Maps 2021-01-26 17:07:50 +01:00
forecasts.py Rename Forecast.training_horizon into .train_horizon 2021-02-02 13:09:09 +01:00
grids.py Add functionality for drawing folium.Maps 2021-01-26 17:07:50 +01:00
meta.py Add an ORM layer 2020-08-11 10:28:17 +02:00
orders.py Make Grid.gridify() use only pickup addresses 2021-01-24 19:04:39 +01:00
pixels.py Adjust Pixel.__repr__() a tiny bit 2021-01-31 19:34:05 +01:00
restaurants.py Add functionality for drawing folium.Maps 2021-01-26 17:07:50 +01:00