Commit graph

268 commits

Author SHA1 Message Date
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
Laura Klünder
c890ae6bbf better logging in many places 2017-11-16 20:54:59 +01:00
Laura Klünder
c754f046ee get_changed_geometry(): operate on cleaned geometry 2017-11-16 19:55:23 +01:00
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