Commit graph

155 commits

Author SHA1 Message Date
Laura Klünder
0dea6561fa fix typo 2017-11-16 19:33:19 +01:00
Laura Klünder
8c9346a074 try to fix MapHistory updating 2017-11-16 19:24:49 +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
fd74ca3258 calculate better representative point for geometries 2017-10-31 19:20:28 +01:00
Laura Klünder
620323b808 export entire location query logic into mapdata.utils.locations and cache 2017-10-31 15:22:12 +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
d174451699 forgot one place where it still was y,x 2017-10-29 11:34:23 +01:00
Laura Klünder
5fe03c4c8e add simple_geometry to location api 2017-10-28 21:36:52 +02: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
24a2fe9522 write binary map history index 2017-10-24 00:11: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
9a538f8255 GeometryManager with within 2017-10-10 17:49:30 +02:00
Laura Klünder
99f9aac0c3 add geometry bounds for easier querying 2017-10-10 13:26:46 +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
822e3ed819 stairs have no direction anymore, our altitude system replaces this 2017-08-06 17:07:01 +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