Commit graph

2129 commits

Author SHA1 Message Date
Laura Klünder
5498e9f84f create cache packages for caching tile servers 2017-11-20 21:10:03 +01:00
Laura Klünder
7b16be8041 fix error on AccessRestrictionAffectedCells.add() 2017-11-20 17:45:46 +01:00
Laura Klünder
5d293a866d fix min/max x/y in GeometryIndexed.__getitem__ 2017-11-20 17:45:10 +01:00
Laura Klünder
ede7e4dc86 use AccessRestrictionAffected in MapRenderer 2017-11-20 17:29:53 +01:00
Laura Klünder
a6daeb6153 rename cache files for better overview 2017-11-20 17:25:21 +01:00
Laura Klünder
e06c71be61 add AccessRestrictionAffected as GeometryIndexed subclass 2017-11-20 17:21:19 +01:00
Laura Klünder
390cc4aeb4 LevelGeometryIndexed abstraction 2017-11-20 15:27:09 +01:00
Laura Klünder
f6304eca0a improve MapHistory docs 2017-11-20 14:57:19 +01:00
Laura Klünder
87d1e3e7f5 don't import anything in render.__init__ 2017-11-20 02:53:49 +01:00
Laura Klünder
94ae86d690 refactor even more data→geometry and levelrender 2017-11-20 02:38:35 +01:00
Laura Klünder
1596e9a130 isort 2017-11-20 02:28:41 +01:00
Laura Klünder
6bad1f9cc3 split up c3nav.mapdata.render.data 2017-11-20 02:28:08 +01:00
Laura Klünder
708620db0a split up c3nav.maputils.cache 2017-11-20 02:07:27 +01:00
Laura Klünder
116590b88f c3nav.mapdata.cache → c3nav.mapdata.utils.cache 2017-11-20 00:39:01 +01:00
Laura Klünder
14330de29e fix doc for binary maphistory format 2017-11-19 23:50:59 +01:00
Laura Klünder
302a90d2e0 import MapUpdate locally so MapHistory can be imported without Django 2017-11-19 23:48:17 +01:00
Laura Klünder
2216411494 we should get the unary union from the other geometrychangestracker 2017-11-19 23:27:41 +01:00
Laura Klünder
8ca49af02e use append for single elements, extend doesn't work 2017-11-19 23:24:26 +01:00
Laura Klünder
f214104187 match ramp altitudeareas even if their altitudes were swapped 2017-11-19 23:22:08 +01:00
Laura Klünder
1c831030a2 fallback no longer needed 2017-11-19 23:19:24 +01:00
Laura Klünder
d57c2dfcf9 add fallback for GeometryChangeTracker._unary_unions 2017-11-19 23:08:30 +01:00
Laura Klünder
f4b2eaf678 don't crash if there was no altitudearea match found 2017-11-19 23:02:31 +01:00
Laura Klünder
8b119c00c0 avoid useless stacktraces in celery log 2017-11-19 22:51:51 +01:00
Laura Klünder
0cdaec1862 cache unary_union in changed_geometries 2017-11-19 21:48:55 +01:00
Laura Klünder
9ffdf2052a GeometryField.get_final_value() for comparing new values with old values 2017-11-19 21:40:32 +01:00
Laura Klünder
b30fbe90d0 AltitudeArea.rebuild(): better match candidates based on altitude 2017-11-19 21:08:35 +01:00
Laura Klünder
80e713c0a7 fix obstacles to altitudeareas for ramps and spiral staircases 2017-11-19 20:40:10 +01:00
Laura Klünder
3b6a55dda7 outsource this duplicate code 2017-11-19 20:04:58 +01:00
Laura Klünder
4594c44539 avoid confusing the triangle library with too complex ring intersections 2017-11-19 19:54:22 +01:00
Laura Klünder
616af3fd18 avoid invalid geometries in changed_geometries 2017-11-19 16:16:06 +01:00
Laura Klünder
80f382bc8b altitudemarker invalidly placed? log an error instad of failing 2017-11-19 15:14:29 +01:00
Laura Klünder
26a27bed09 GeometryIndexed.composite() was a bit overenthusiastic during reindexing 2017-11-19 14:06:08 +01:00
Laura Klünder
e51e00c63b save newly created maphistory instances so they don't get created again 2017-11-19 13:22:23 +01:00
Laura Klünder
6487d9d0e8 remove todo that was already done 2017-11-19 13:20:12 +01:00
Laura Klünder
24c0f2c6a9 forgot offset in GeometryIndexed.__getitem__ with slice 2017-11-19 13:15:57 +01:00
Laura Klünder
ebed7aa42f don't send the key 2017-11-19 12:56:22 +01:00
Laura Klünder
bc83548da4 add X-ETag-Unencoded for debugging purposes 2017-11-19 12:52:25 +01:00
Laura Klünder
1d18b98199 allow navigating between levels in space geometry list 2017-11-19 12:41:19 +01:00
Laura Klünder
3bfc21d90c only focus first element 2017-11-19 12:17:38 +01:00
Laura Klünder
6a4ad6b584 revert 2017-11-19 01:02:21 +01:00
Laura Klünder
aa8e745b79 ground is ground 2017-11-19 00:57:37 +01:00
Laura Klünder
25794fb613 fix bases for non-full-level rendering or ramps 2017-11-19 00:30:08 +01:00
Laura Klünder
dcb0edcbd8 fix missing columns 2017-11-18 23:30:10 +01:00
Laura Klünder
6812edb8b3 Mesh() is not a namedtuple to improve performance 2017-11-18 23:07:22 +01:00
Laura Klünder
a679a81432 try to max out mpl wrapper performance 2017-11-18 22:53:17 +01:00
Laura Klünder
b700ccd46c try to call heavy shapely operations less often to improve performance 2017-11-18 22:44:06 +01:00
Laura Klünder
b6be667cfc no reason to save levels, we dont store anything in them anymore 2017-11-18 21:18:31 +01:00
Laura Klünder
747b97a2aa remove old commented out code 2017-11-18 20:58:47 +01:00
Laura Klünder
fd28cb5435 dont connect level altitudes using graphs, that was unelegant 2017-11-18 20:47:51 +01:00
Laura Klünder
e74bdfe614 cache space_buffer to improve performance 2017-11-18 20:42:19 +01:00