Commit graph

203 commits

Author SHA1 Message Date
Laura Klünder
eeae2d019b display coordinates details 2017-11-28 21:24:08 +01:00
Laura Klünder
ee20019417 fix data for level selector 2017-11-28 20:38:37 +01:00
Laura Klünder
3392226c44 allow more decimal digits in custom location id, but round them away 2017-11-28 20:25:52 +01:00
Laura Klünder
9b2b70f46f levels_by_short_label_for_request 2017-11-28 20:24:39 +01:00
Laura Klünder
dc46173668 custom locations are something that we want 2017-11-28 20:15:31 +01:00
Laura Klünder
dfe7d10574 it's _name_cache not name_cache 2017-11-27 15:39:42 +01:00
Laura Klünder
c9b9c8b38d make sure triangulate_rings does not create triangles with no area 2017-11-26 13:03:26 +01:00
Laura Klünder
05030bc91c fix missing holes in obstacles 2017-11-25 23:25:52 +01:00
Laura Klünder
c9f160e8fb don't store update list as tuple, we can't modify it then 2017-11-25 14:57:34 +01:00
Laura Klünder
d0a4a71118 make GeometryIndexed slicing even faster 2017-11-21 16:24:10 +01:00
Laura Klünder
624d6f281c shorten etag before b2a_base64 2017-11-21 16:13:03 +01:00
Laura Klünder
01d80220bc use binascii.b2a_base64 instead of base64.b64encode because its faster 2017-11-21 16:05:42 +01:00
Laura Klünder
948ac26488 use base64 instead of base85, we want valid memcached keys 2017-11-21 14:59:10 +01:00
Laura Klünder
790835bc44 shorter etags 2017-11-21 14:25:10 +01:00
Laura Klünder
0fec7ff89c fix parse_tile_access_cookie 2017-11-21 04:27:05 +01:00
Laura Klünder
2185c1ac6a enable using the tileserver with minimal requirements 2017-11-21 02:12:00 +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
7cdc7879cc read MapPackage 2017-11-20 23:05:16 +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
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
1596e9a130 isort 2017-11-20 02:28:41 +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
4594c44539 avoid confusing the triangle library with too complex ring intersections 2017-11-19 19:54: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
2d735cf7fc speedup cut_polygon_with_line using line_prep 2017-11-18 20:39:23 +01:00
Laura Klünder
7f5b614620 speedup cut_polygon_with_line calls by using list of polygons 2017-11-18 20:19:44 +01:00
Laura Klünder
31886d829d cleanup geometry cache and improve cut_polgon_with_line speed again 2017-11-18 19:59:05 +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
b7a8d15111 fix an edge case in cut_polygon_with_line 2017-11-18 14:37:31 +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
73f27300ca save all mesh coordinates as mm-ints to avoid floating point errors 2017-11-14 02:49:02 +01:00
Laura Klünder
f8e75584d9 more stuff better cut 2017-11-13 22:38:49 +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
4fedecd6a2 add clean_cut_polygon 2017-11-13 18:21:37 +01:00
Laura Klünder
811b8b3467 remove debug statements 2017-11-13 17:55:53 +01:00
Laura Klünder
817e800149 add one more comment 2017-11-13 17:55:31 +01:00
Laura Klünder
cd7e68038e cut_polygon_with_line() cut of polygons inside holes and add comments 2017-11-13 17:52:38 +01:00
Laura Klünder
bcdc77d2b2 simplify cut_polygon_with_line() 2017-11-13 17:09:26 +01:00
Laura Klünder
47ff4fe788 make cut_polygon_with_line work() correctly 2017-11-13 17:04:43 +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
2786b397de fix assert_multilinestring docs 2017-11-12 20:21:08 +01:00
Laura Klünder
87d92a2eca assert multilinestring 2017-11-12 19:47:31 +01:00