Commit graph

59 commits

Author SHA1 Message Date
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
Laura Klünder
4188d97056 space_areas tmpid 2017-08-05 16:22:25 +02:00
Laura Klünder
834c83b804 interpolate documentation 2017-08-05 16:18:55 +02:00
Laura Klünder
2f433d8e2d interpolate altitudes 2017-08-05 16:18:19 +02:00
Laura Klünder
7179039925 splitting areas does not imply splitting their connections 2017-08-05 16:15:28 +02:00
Laura Klünder
451a863026 when splitting areas along stairs, update connected_to attribute 2017-08-05 15:54:33 +02:00
Laura Klünder
d685a07e5b assign altitudes by altitudemarkers 2017-08-05 15:17:15 +02:00
Laura Klünder
3690bac467 fix lookup table space_areas 2017-08-05 15:16:00 +02:00
Laura Klünder
31c4feca73 improve altitude area performance again using lookup table 2017-08-05 14:50:07 +02:00
Laura Klünder
eff2cefd8f document altitude area creation and improve performance 2017-08-05 14:35:25 +02:00
Laura Klünder
cb4a4c1b33 cut altitude areas 2017-08-05 14:17:24 +02:00
Laura Klünder
9ca07be935 reorder imports 2017-08-05 12:13:15 +02:00
Laura Klünder
6930e1bb7c new altitude modeling 2017-08-05 11:56:29 +02:00
Laura Klünder
506cf7cc60 access restrictions for doors 2017-07-13 23:49:00 +02:00
Laura Klünder
20924b9845 remove property "public", add AccessRestriction model 2017-07-13 18:43:03 +02:00
Laura Klünder
591dd86476 remove LEVEL_MODELS and SPACE_MODELS 2017-07-13 17:18:28 +02:00