Commit graph

74 commits

Author SHA1 Message Date
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
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
fdce9a9ab1 obstacles should not be able to “expand” an altitude area outside spaces 2017-11-17 18:37:36 +01:00
Laura Klünder
c890ae6bbf better logging in many places 2017-11-16 20:54:59 +01:00
Laura Klünder
1d770e3e43 altitudeareas should not span over holes 2017-11-16 14:33:51 +01:00
Laura Klünder
6c1e17f6c9 fix multiple errors in cut_polygon_with_line 2017-11-16 04:11:01 +01:00
Laura Klünder
85788d33b0 hotfix to be debugged later 2017-11-16 03:09:14 +01:00
Laura Klünder
d023af3531 fix terrible glitches 2017-11-13 23:35:13 +01:00
Laura Klünder
f8e75584d9 more stuff better cut 2017-11-13 22:38:49 +01:00
Laura Klünder
dfdeb784aa fix orient again 2017-11-13 21:03:22 +01:00
Laura Klünder
a9b1ed1914 fix orientation problem on levels with no stairs 2017-11-13 20:58:02 +01:00
Laura Klünder
0253d378ed simplify altitudearea recalculate code 2017-11-13 19:36:11 +01:00
Laura Klünder
53af5d59ad properly use cut_polygon_with_lines 2017-11-13 18:54:38 +01:00
Laura Klünder
88fc75022e introducing cut_polygon_with_line() for better stair/altitude processing 2017-11-13 01:25:08 +01:00
Laura Klünder
b6cb29b907 use unary_union instead of the old cascaded_union 2017-11-11 02:36:02 +01:00
Laura Klünder
8bc5015caf use area.geometry_prep for intersects 2017-11-11 02:26:05 +01:00
Laura Klünder
38240fcbde speedup AltitudeArea.recalculate() by using shapely prepared 2017-11-11 02:09:33 +01:00
Laura Klünder
9879b86f86 fix error if two identical stairs exist 2017-11-11 00:21:44 +01:00
Laura Klünder
949b88389e add Location.details_display() 2017-11-02 13:35:58 +01:00
Laura Klünder
247d6b119e fix subtitles if space_cache or level_cache are empty 2017-10-31 14:08:01 +01:00
Laura Klünder
f83b77ed8b improve location api caching again and improve subtitles/descriptions 2017-10-28 20:50:02 +02:00
Laura Klünder
2124b4a536 move cache.py to mapdata root 2017-10-23 19:32:11 +02:00
Laura Klünder
5af314d282 register updated geometries for tile cache invalidation 2017-10-23 19:25:15 +02:00
Laura Klünder
c3cb12d2bc simple renderer for tiles 2017-10-10 17:49:53 +02:00
Laura Klünder
3c9013220e new stair interpolation based on dijkstra 2017-08-07 18:12:33 +02:00
Laura Klünder
5f848104a2 add missing properties in serialization 2017-08-07 15:30:50 +02:00
Laura Klünder
055df254e2 add space and obstacle heights 2017-08-07 15:29:52 +02:00
Laura Klünder
ca08315598 remove debug statements 2017-08-07 14:24:13 +02:00
Laura Klünder
2cdef6e188 move obstacle altitude code etc. from scad render to compilealtitudes 2017-08-07 14:22:32 +02:00
Laura Klünder
7b141aa87b areas → all_areas 2017-08-06 21:37:51 +02:00
Laura Klünder
b9de22fb1c save areas in buildaltitudes 2017-08-06 20:06:46 +02:00
Laura Klünder
5c474e73b5 connect altitudes between levels before interpolating 2017-08-06 19:12:38 +02:00
Laura Klünder
faec957984 last fallback: level base_altitude 2017-08-05 16:51:08 +02:00
Laura Klünder
b7e909645c remaining areas which belong to a room that has an altitude somewhere 2017-08-05 16:45:29 +02:00
Laura Klünder
f58b30910e remove debug statement 2017-08-05 16:22:45 +02:00