Commit graph

659 commits

Author SHA1 Message Date
Laura Klünder
6d7f012666 _location_details_loaded 2017-11-28 11:03:51 +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
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
31297ac39a fix include_type 2017-11-27 15:44:22 +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
dd3a885749 start implementing routing by creating new router 2017-11-27 02:16:20 +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
0419d82d97 register changed geometries when some important attribute changes 2017-11-26 00:25:24 +01:00
Laura Klünder
11017f0329 improve/fix stair obstacle cutting (again) 2017-11-25 21:42:42 +01:00
Laura Klünder
f7d5c3cdaf faster serialization for graphedges 2017-11-25 18:04:26 +01:00
Laura Klünder
32192e8fac height fields should not have negative values 2017-11-25 14:36:18 +01:00
Laura Klünder
bb6b726a89 remove unneeded superuser-access-code 2017-11-25 13:53:43 +01:00
Laura Klünder
7987aa08f3 fix broken q_for_request when wrapped querysets are used 2017-11-25 13:47:47 +01:00
Laura Klünder
cdca60b307 superusers should have all permissions for now 2017-11-25 13:47:31 +01:00
Laura Klünder
85698dc13b turn Source.name into a CharField to allow periods 2017-11-25 13:42:05 +01:00
Laura Klünder
d4e519e942 allow better translations 2017-11-23 01:08:18 +01:00
Laura Klünder
eb4a93084e remove bounds from GeometryMixin 2017-11-22 22:15:33 +01:00
Laura Klünder
cd27a6a099 only link to locations that can be searched 2017-11-22 20:50:34 +01:00
Laura Klünder
ec18cc7365 display links in location details 2017-11-22 19:04:29 +01:00
Laura Klünder
494c68e08a improve field display description 2017-11-22 18:23:08 +01:00
Laura Klünder
2185c1ac6a enable using the tileserver with minimal requirements 2017-11-21 02:12:00 +01:00
Laura Klünder
87d1e3e7f5 don't import anything in render.__init__ 2017-11-20 02:53:49 +01:00
Laura Klünder
94ae86d690 refactor even more data→geometry and levelrender 2017-11-20 02:38:35 +01:00
Laura Klünder
116590b88f c3nav.mapdata.cache → c3nav.mapdata.utils.cache 2017-11-20 00:39:01 +01:00
Laura Klünder
f214104187 match ramp altitudeareas even if their altitudes were swapped 2017-11-19 23:22:08 +01:00
Laura Klünder
f4b2eaf678 don't crash if there was no altitudearea match found 2017-11-19 23:02:31 +01:00
Laura Klünder
9ffdf2052a GeometryField.get_final_value() for comparing new values with old values 2017-11-19 21:40:32 +01:00
Laura Klünder
b30fbe90d0 AltitudeArea.rebuild(): better match candidates based on altitude 2017-11-19 21:08:35 +01:00
Laura Klünder
80e713c0a7 fix obstacles to altitudeareas for ramps and spiral staircases 2017-11-19 20:40:10 +01:00
Laura Klünder
80f382bc8b altitudemarker invalidly placed? log an error instad of failing 2017-11-19 15:14:29 +01:00
Laura Klünder
747b97a2aa remove old commented out code 2017-11-18 20:58:47 +01:00
Laura Klünder
fd28cb5435 dont connect level altitudes using graphs, that was unelegant 2017-11-18 20:47:51 +01:00
Laura Klünder
e74bdfe614 cache space_buffer to improve performance 2017-11-18 20:42:19 +01:00
Laura Klünder
3245837028 speed up AltitudeAreas.recalculate() even more using prepared geometries 2017-11-18 20:26:34 +01:00
Laura Klünder
7f5b614620 speedup cut_polygon_with_line calls by using list of polygons 2017-11-18 20:19:44 +01:00
Laura Klünder
f672ee107a speddup AltitudeArea.recalculate() using prepared geometries 2017-11-18 20:16:07 +01:00
Laura Klünder
8bdd3d174d show altitude marker altitude in title / list 2017-11-18 17:34:34 +01:00
Laura Klünder
abae816992 there is no reason to fill in columns 2017-11-18 16:38:22 +01:00
Laura Klünder
c1634c7520 fix obstacles near, but not touching ramps being rendered incorrectly 2017-11-18 16:08:58 +01:00
Laura Klünder
b9977676d6 fix cut trough empty space detection in cut_polygon_with_line 2017-11-18 15:52:16 +01:00
Laura Klünder
f65b15bb29 cut obstacles better to distribute them into altitude areas better 2017-11-18 14:38:25 +01:00
Laura Klünder
92749a5f16 fix get_altitudes() again 2017-11-18 13:56:25 +01:00
Laura Klünder
7575605aae refactor get_altitudes() 2017-11-18 13:53:40 +01:00
Laura Klünder
da25951555 ramp rendering 2017-11-18 13:30:20 +01:00
Laura Klünder
4e51969794 create ramp altitude areas 2017-11-18 00:07:23 +01:00
Laura Klünder
69bacc321f don't lock all mapupates during AltitudeArea.recalculate() 2017-11-17 22:01:07 +01:00
Laura Klünder
aaabc7e37c add ramp model 2017-11-17 20:31:29 +01:00
Laura Klünder
fdce9a9ab1 obstacles should not be able to “expand” an altitude area outside spaces 2017-11-17 18:37:36 +01:00