Commit graph

426 commits

Author SHA1 Message Date
Laura Klünder
54c25e9f94 calculate route duration 2017-12-17 01:02:41 +01:00
Laura Klünder
676a561578 add routing mode: fastest (respect speeds) 2017-12-17 00:41:18 +01:00
Laura Klünder
cf95ef714b respect route options 2017-12-16 22:14:00 +01:00
Laura Klünder
76d7ab4b0e route options ui: make buttons work 2017-12-16 21:22:43 +01:00
Laura Klünder
9963fa4c48 space_for_point: only spaces with distance < 0.5m 2017-12-16 19:52:37 +01:00
Laura Klünder
d2e9a57343 route options UI 2017-12-16 19:33:13 +01:00
Laura Klünder
d3dc6ae02e add RouteOptions 2017-12-12 23:09:15 +01:00
Laura Klünder
9fe2bc4533 set next_item, otherwise it won't work 2017-12-12 20:31:33 +01:00
Laura Klünder
3df101d2aa add icons to route descriptions 2017-12-11 18:27:48 +01:00
Laura Klünder
f88fc85e4b description → descriptions 2017-12-11 16:40:32 +01:00
Laura Klünder
1a858ec585 improve route descriptions a bit 2017-12-11 16:33:36 +01:00
Laura Klünder
4fb61eaddf create (bad) route descriptions 2017-12-11 16:23:54 +01:00
Laura Klünder
f17b593f77 handle routing exceptions in API and c3nav.js 2017-12-11 01:23:20 +01:00
Laura Klünder
e51f790ed5 throw correct exceptions during routing 2017-12-11 01:09:54 +01:00
Laura Klünder
56542cf54e remove todo because it was done 2017-12-11 01:08:08 +01:00
Laura Klünder
48e1ecda36 replace request with permissions in CustomLocation so it can be serialized 2017-12-11 00:57:19 +01:00
Laura Klünder
eae73071c1 consider access restrictions when describing a custom location 2017-12-11 00:53:21 +01:00
Laura Klünder
dba04b4179 consider access restrictions during routing 2017-12-11 00:49:48 +01:00
Laura Klünder
c3570bb9ff RouterRestriction 2017-12-10 23:49:24 +01:00
Laura Klünder
2d4043861b describe custom locations by space 2017-12-10 18:09:31 +01:00
Laura Klünder
98de7705e0 fix space_for_point (respect columns) 2017-12-10 16:46:53 +01:00
Laura Klünder
baa92435ff remove todo because it's done 2017-12-10 16:31:11 +01:00
Laura Klünder
c71b9b0f8b speed up router 2017-11-29 00:01:23 +01:00
Laura Klünder
f260b52a6e fix error in route initialization 2017-11-29 00:00:42 +01:00
Laura Klünder
5b9a5ec040 fix bug during routing 2017-11-28 23:34:11 +01:00
Laura Klünder
06bd8967c8 show node_addition in route 2017-11-28 23:25:56 +01:00
Laura Klünder
b92c871bc2 route from/to custom locations 2017-11-28 23:08:47 +01:00
Laura Klünder
f5ee24495e route from/to POI 2017-11-28 22:40:01 +01:00
Laura Klünder
08ec318231 prepare router for routing from points 2017-11-28 22:02:24 +01:00
Laura Klünder
8b2f19ee9e take coordinates from first and last point from route result 2017-11-28 13:10:38 +01:00
Laura Klünder
a74f0fc1d4 show route in frontend 2017-11-28 12:32:46 +01:00
Laura Klünder
d4f6906a62 respect permissions in routing api 2017-11-28 00:41:34 +01:00
Laura Klünder
b5f8cc3afd route from/to location groups and respect permissions 2017-11-28 00:40:21 +01:00
Laura Klünder
e1192fccf7 don't show origin as destination 2017-11-28 00:39:02 +01:00
Laura Klünder
ddd87d2523 always describe from the viewpoint of the request and save queries 2017-11-28 00:16:43 +01:00
Laura Klünder
89bf924ec3 remove unneeded code 2017-11-27 23:41:08 +01:00
Laura Klünder
1ac5d554f2 use only can_describe=True locations to describe routes 2017-11-27 23:38:55 +01:00
Laura Klünder
e5f53aa399 rebuild router when processing updates 2017-11-27 16:53:56 +01:00
Laura Klünder
0306b3fa87 calculate edge distance in 3 dimensions 2017-11-27 16:51:48 +01:00
Laura Klünder
e4b0995751 show distance in route serialization 2017-11-27 16:49:12 +01:00
Laura Klünder
1e0b85220f add origin and destination to route serialization 2017-11-27 16:47:47 +01:00
Laura Klünder
4195dce491 update todo 2017-11-27 16:47:31 +01:00
Laura Klünder
3faed6c316 route from/to level or area 2017-11-27 16:46:03 +01:00
Laura Klünder
69dab03148 allow post in routing api 2017-11-27 16:43:41 +01:00
Laura Klünder
e00400a66f remove wrongly copied code from routing api 2017-11-27 16:43:12 +01:00
Laura Klünder
b88cc9d942 coords → coordinates 2017-11-27 16:42:35 +01:00
Laura Klünder
4c88cb2504 add routing api 2017-11-27 16:40:15 +01:00
Laura Klünder
480850b8ea improve route serialization 2017-11-27 15:41:25 +01:00
Laura Klünder
5f2ca60432 getting a route 2017-11-27 15:01:58 +01:00
Laura Klünder
4c611995b8 fix AttributeError when unpickling 2017-11-27 13:41:16 +01:00