Commit graph

192 commits

Author SHA1 Message Date
Laura Klünder
7a9f4da4c1 remove everything about the editor from mapdata app 2017-06-21 12:47:28 +02:00
Laura Klünder
edfb083c61 fix get_color() on ModelInstanceWrapper 2017-06-16 18:38:41 +02:00
Laura Klünder
8fef2a81a9 reimplement wrapped prefetch_related 2017-06-16 18:19:52 +02:00
Laura Klünder
e8ffe20413 optimize queries in mapdata API 2017-06-11 15:10:48 +02:00
Laura Klünder
1498b7aeb0 rename Section back to Level 2017-06-11 14:43:14 +02:00
Laura Klünder
d01732e589 show spaces from other sections in space view and hightlight space better 2017-06-11 13:26:35 +02:00
Laura Klünder
6a8b7e33ae Space.outside not means „only outside of building“, so False means nothing 2017-06-11 13:18:25 +02:00
Laura Klünder
bf95b1c9cc highlight sections on top 2017-06-11 12:29:12 +02:00
Laura Klünder
9910b3ed83 replace Space.level with secondary sections on top of primary sections 2017-06-10 15:00:47 +02:00
Laura Klünder
b19a8b7356 introducing column model 2017-06-09 15:22:30 +02:00
Laura Klünder
98501dbf3a move holes from sections to spaces 2017-06-08 15:19:12 +02:00
Laura Klünder
c6a5ed399b add original_geometry to building in editor geometry api 2017-05-29 10:14:39 +02:00
Laura Klünder
e8099850c4 editor: fly to relevant areas 2017-05-27 16:19:49 +02:00
Laura Klünder
53d8ebbddc rename empty string Space level and category to normal 2017-05-26 20:25:24 +02:00
Laura Klünder
46dc1627e1 show geometries in editor… introducing the editor API 2017-05-21 23:39:26 +02:00
Laura Klünder
8c4540c656 remove unneeded variable 2017-05-21 23:34:09 +02:00
Laura Klünder
4ef273fc00 swap space color logic 2017-05-13 21:33:05 +02:00
Laura Klünder
50a8b19e31 draw stuffed areas 2017-05-13 21:32:13 +02:00
Laura Klünder
31160e1141 render space inventory 2017-05-13 21:26:33 +02:00
Laura Klünder
6512ef7905 colorize spaces 2017-05-13 16:39:01 +02:00
Laura Klünder
d644ac614e add Space.outside (for correct rendering) 2017-05-12 23:11:11 +02:00
Laura Klünder
40375585e1 add location→types API endpoint 2017-05-11 21:34:36 +02:00
Laura Klünder
6bbac4a7ba new REST API 2017-05-11 21:02:01 +02:00
Laura Klünder
fd17c3c29d convert general-area-AreaLocations to Areas and poi-AreaLocations to Points 2017-05-10 20:41:22 +02:00
Laura Klünder
8290083fd4 Create new Location model structure 2017-05-10 19:02:31 +02:00
Laura Klünder
e8e4e9fd40 add Point model 2017-05-10 15:30:54 +02:00
Laura Klünder
84b826e261 s/stuffedareas/areas/ 2017-05-10 15:30:02 +02:00
Laura Klünder
b7f5f359a5 support for point geometries in GeometryField 2017-05-10 15:24:52 +02:00
Laura Klünder
47d2616469 rename StuffedArea to Area with boolean field „stuffed“ 2017-05-10 15:15:55 +02:00
Laura Klünder
af30d9532b add Door.level 2017-05-09 13:48:55 +02:00
Laura Klünder
e70eaea471 rename Space.layer to Space.level 2017-05-09 13:42:09 +02:00
Laura Klünder
cf374d5c61 improve docstrings and add defaults for Space fields 2017-05-09 13:20:25 +02:00
Laura Klünder
2da1bf0bd5 add some more type hinting 2017-05-09 13:16:36 +02:00
Laura Klünder
a845f23cee convert the model mixins to abstract models 2017-05-09 12:50:32 +02:00
Laura Klünder
65ccf1d92f reimplement GEOMETRY_MODELS etc. 2017-05-09 09:36:08 +02:00
Laura Klünder
9a1ce01fdb flake8 and sort imports 2017-05-08 21:55:45 +02:00
Laura Klünder
963694395e turn abstract models into mixins 2017-05-08 16:40:22 +02:00
Laura Klünder
9e79ca74ae add geomtype to GeometryField and remove it from GeometryFeature 2017-05-08 16:17:47 +02:00
Laura Klünder
c9661e4edb rename Level to Section 2017-05-07 12:39:24 +02:00
Laura Klünder
d1fe5bce5c Spaces are public by default 2017-05-06 17:50:55 +02:00
Laura Klünder
dd9ea849ff rename Area to Space 2017-05-06 17:40:06 +02:00
Laura Klünder
83ca6abd00 convert mapdata.models.geometry into python package 2017-05-06 17:24:09 +02:00