Commit graph

2192 commits

Author SHA1 Message Date
Laura Klünder
16c57560bc tileserver: cache tiles using memcached 2017-11-21 03:27:11 +01:00
Laura Klünder
763749327c fix error if the upstream response has no ETag 2017-11-21 02:48:10 +01:00
Laura Klünder
82cbc3e4ed add thread to tileserver to reload cache packages regularly 2017-11-21 02:47:38 +01:00
Laura Klünder
2185c1ac6a enable using the tileserver with minimal requirements 2017-11-21 02:12:00 +01:00
Laura Klünder
11678251bf merge requirements/production-extra.txt 2017-11-21 01:49:10 +01:00
Laura Klünder
d74d9a8a77 speedup tileserver by factor 2x (not 0.6ms per request) 2017-11-21 01:29:35 +01:00
Laura Klünder
0f6b372b92 tileserver: complete request handling, but without caching so far 2017-11-21 00:47:55 +01:00
Laura Klünder
7ccfe058f6 allow specifying tile access permissions directly if authorized 2017-11-21 00:41:19 +01:00
Laura Klünder
bf98f54b55 refactor tile code in meny places to allow reusing it 2017-11-21 00:15:49 +01:00
Laura Klünder
a503c0de6a base for python based tileserver 2017-11-20 23:05:27 +01:00
Laura Klünder
7cdc7879cc read MapPackage 2017-11-20 23:05:16 +01:00
Laura Klünder
1fdcca4ae1 add view for external tile servers do load cache package 2017-11-20 22:48:05 +01:00
Laura Klünder
83de101969 import CachePackage in __init__ 2017-11-20 21:14:46 +01:00
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