Commit graph

2429 commits

Author SHA1 Message Date
Laura Klünder
4e6fe584cf add line from/to first/last point 2017-11-28 12:46:03 +01:00
Laura Klünder
a5a128df79 save route result so it does not have to be reloaded again and again 2017-11-28 12:40:05 +01:00
Laura Klünder
a74f0fc1d4 show route in frontend 2017-11-28 12:32:46 +01:00
Laura Klünder
f34a31990d _location_details_loaded should work 2017-11-28 11:34:34 +01:00
Laura Klünder
0485e02a3a remove INSTANCE_NAME 2017-11-28 11:24:18 +01:00
Laura Klünder
344eb53d14 maxZoom is now 5 2017-11-28 11:15:12 +01:00
Laura Klünder
c19c4e72a9 remove unneeded code and debug statements 2017-11-28 11:05:44 +01:00
Laura Klünder
6d7f012666 _location_details_loaded 2017-11-28 11:03:51 +01:00
Laura Klünder
384ef43209 remove debug statements 2017-11-28 01:12:35 +01:00
Laura Klünder
cb452643df c3nav.js load locations before initiating anything else 2017-11-28 01:11:01 +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
c6948b4ce0 c3nav.js: use location api with location ids 2017-11-27 16:09:05 +01:00
Laura Klünder
6d13725e13 location api: use ids by default 2017-11-27 16:06:55 +01:00
Laura Klünder
31297ac39a fix include_type 2017-11-27 15:44:22 +01:00
Laura Klünder
480850b8ea improve route serialization 2017-11-27 15:41:25 +01:00
Laura Klünder
dfe7d10574 it's _name_cache not name_cache 2017-11-27 15:39:42 +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
Laura Klünder
c698c1d6c6 save and load router 2017-11-27 13:21:53 +01:00
Laura Klünder
dd3a885749 start implementing routing by creating new router 2017-11-27 02:16:20 +01:00
Laura Klünder
587b08a1e4 namedtuple subclasses should set __slots__=() 2017-11-26 18:35:00 +01:00
Laura Klünder
fcae62eb86 fix error which caused infinite loops by accessing deferred fields 2017-11-26 14:18:41 +01:00
Laura Klünder
01e8eade8e make sure colors are in the right order (looks nicer in export source) 2017-11-26 13:17:39 +01:00
Laura Klünder
ed8e351556 shorter groundcolor name 2017-11-26 13:13:20 +01:00
Laura Klünder
d6fa4fce23 use nicer color names in renderer 2017-11-26 13:10:31 +01:00
Laura Klünder
c9b9c8b38d make sure triangulate_rings does not create triangles with no area 2017-11-26 13:03:26 +01:00
Laura Klünder
0b4964f629 deal with zero-length normals 2017-11-26 02:48:09 +01:00
Laura Klünder
0419d82d97 register changed geometries when some important attribute changes 2017-11-26 00:25:24 +01:00
Laura Klünder
05030bc91c fix missing holes in obstacles 2017-11-25 23:25:52 +01:00
Laura Klünder
a915e4401e simplify obstacle height calculation to fix rendering bugs 2017-11-25 22:53:50 +01:00
Laura Klünder
11017f0329 improve/fix stair obstacle cutting (again) 2017-11-25 21:42:42 +01:00
Laura Klünder
0ce53c0af5 improve german height/altitude translation 2017-11-25 21:10:03 +01:00
Laura Klünder
86a7c8b847 use same template in both lists 2017-11-25 20:40:44 +01:00
Laura Klünder
536f63eab7 add parenthesis and spaces and access restriction to connection list 2017-11-25 20:39:20 +01:00
Laura Klünder
b6f93e7bb0 fix fatal error when active node is reset 2017-11-25 20:34:30 +01:00