Commit graph

100 commits

Author SHA1 Message Date
Laura Klünder
0bbcc400ca add models for space-based route description 2017-12-18 15:31:28 +01:00
Laura Klünder
64664fbc66 don't use tokens as primary keys 2017-12-18 14:54:45 +01:00
Laura Klünder
936b2c4b3d fix get_color() error when space geometries are created in a changeset 2017-12-18 00:36:25 +01:00
Laura Klünder
5ebddc8ed8 add WifiMeasurement model 2017-12-16 12:43:14 +01:00
Laura Klünder
b4fe83b453 SpaceGeometryMixin: geojson opacity 2017-12-14 22:00:22 +01:00
Laura Klünder
a7c140a2ac don't cast ugettext_lazy calls to str, as our json encoder is now clever 2017-11-30 01:10:49 +01:00
Laura Klünder
dfe7d10574 it's _name_cache not name_cache 2017-11-27 15:39:42 +01:00
Laura Klünder
0419d82d97 register changed geometries when some important attribute changes 2017-11-26 00:25:24 +01:00
Laura Klünder
32192e8fac height fields should not have negative values 2017-11-25 14:36:18 +01:00
Laura Klünder
cd27a6a099 only link to locations that can be searched 2017-11-22 20:50:34 +01:00
Laura Klünder
ec18cc7365 display links in location details 2017-11-22 19:04:29 +01:00
Laura Klünder
2185c1ac6a enable using the tileserver with minimal requirements 2017-11-21 02:12:00 +01:00
Laura Klünder
116590b88f c3nav.mapdata.cache → c3nav.mapdata.utils.cache 2017-11-20 00:39:01 +01:00
Laura Klünder
8bdd3d174d show altitude marker altitude in title / list 2017-11-18 17:34:34 +01:00
Laura Klünder
aaabc7e37c add ramp model 2017-11-17 20:31:29 +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
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
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
055df254e2 add space and obstacle heights 2017-08-07 15:29:52 +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
6930e1bb7c new altitude modeling 2017-08-05 11:56:29 +02:00
Laura Klünder
613f421f2e convert point geometries to circles in javascript 2017-07-14 12:30:55 +02:00
Laura Klünder
591dd86476 remove LEVEL_MODELS and SPACE_MODELS 2017-07-13 17:18:28 +02:00
Laura Klünder
d2859f1452 move Area.stuffed into a Location Group 2017-07-13 13:01:38 +02:00
Laura Klünder
f2913dd8ac rename Point to POI 2017-07-08 16:29:12 +02:00
Laura Klünder
edfb083c61 fix get_color() on ModelInstanceWrapper 2017-06-16 18:38:41 +02:00
Laura Klünder
e8ffe20413 optimize queries in mapdata API 2017-06-11 15:10:48 +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
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
50a8b19e31 draw stuffed areas 2017-05-13 21:32:13 +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
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
dd9ea849ff rename Area to Space 2017-05-06 17:40:06 +02:00
Renamed from src/c3nav/mapdata/models/geometry/area.py (Browse further)