Commit graph

1131 commits

Author SHA1 Message Date
Laura Klünder
5184206b49 allow -2 and -1 zoom 2017-11-28 14:14:03 +01:00
Laura Klünder
344eb53d14 maxZoom is now 5 2017-11-28 11:15:12 +01:00
Laura Klünder
6d7f012666 _location_details_loaded 2017-11-28 11:03:51 +01:00
Laura Klünder
ddd87d2523 always describe from the viewpoint of the request and save queries 2017-11-28 00:16:43 +01:00
Laura Klünder
1ac5d554f2 use only can_describe=True locations to describe routes 2017-11-27 23:38:55 +01:00
Laura Klünder
e5f53aa399 rebuild router when processing updates 2017-11-27 16:53:56 +01:00
Laura Klünder
6d13725e13 location api: use ids by default 2017-11-27 16:06:55 +01:00
Laura Klünder
31297ac39a fix include_type 2017-11-27 15:44:22 +01:00
Laura Klünder
dfe7d10574 it's _name_cache not name_cache 2017-11-27 15:39:42 +01:00
Laura Klünder
5f2ca60432 getting a route 2017-11-27 15:01:58 +01:00
Laura Klünder
dd3a885749 start implementing routing by creating new router 2017-11-27 02:16:20 +01:00
Laura Klünder
587b08a1e4 namedtuple subclasses should set __slots__=() 2017-11-26 18:35:00 +01:00
Laura Klünder
fcae62eb86 fix error which caused infinite loops by accessing deferred fields 2017-11-26 14:18:41 +01:00
Laura Klünder
01e8eade8e make sure colors are in the right order (looks nicer in export source) 2017-11-26 13:17:39 +01:00
Laura Klünder
ed8e351556 shorter groundcolor name 2017-11-26 13:13:20 +01:00
Laura Klünder
d6fa4fce23 use nicer color names in renderer 2017-11-26 13:10:31 +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
0b4964f629 deal with zero-length normals 2017-11-26 02:48:09 +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
05030bc91c fix missing holes in obstacles 2017-11-25 23:25:52 +01:00
Laura Klünder
a915e4401e simplify obstacle height calculation to fix rendering bugs 2017-11-25 22:53:50 +01:00
Laura Klünder
11017f0329 improve/fix stair obstacle cutting (again) 2017-11-25 21:42:42 +01:00
Laura Klünder
e4f3ba5ea2 simplify GeometryField 2017-11-25 18:30:40 +01:00
Laura Klünder
f7d5c3cdaf faster serialization for graphedges 2017-11-25 18:04:26 +01:00
Laura Klünder
f4c39a1393 remove debug color from svg renderer 2017-11-25 15:22:45 +01:00
Laura Klünder
94a093d4dc renderer: lowest levels should always be extend downwards 2017-11-25 15:16:15 +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
b846f6d0ad add fallback for empty geometries 2017-11-25 14:45:43 +01:00
Laura Klünder
3720fbd0ff dont render obstacles with zero height 2017-11-25 14:37:06 +01:00
Laura Klünder
32192e8fac height fields should not have negative values 2017-11-25 14:36:18 +01:00
Laura Klünder
d5ad497327 don't add height to short walls in svg renderer 2017-11-25 14:12:47 +01:00
Laura Klünder
bb6b726a89 remove unneeded superuser-access-code 2017-11-25 13:53:43 +01:00
Laura Klünder
7987aa08f3 fix broken q_for_request when wrapped querysets are used 2017-11-25 13:47:47 +01:00
Laura Klünder
cdca60b307 superusers should have all permissions for now 2017-11-25 13:47:31 +01:00
Laura Klünder
85698dc13b turn Source.name into a CharField to allow periods 2017-11-25 13:42:05 +01:00
Laura Klünder
bc1cbc5f24 only read affected access restrictions if needed 2017-11-23 01:40:02 +01:00
Laura Klünder
d4e519e942 allow better translations 2017-11-23 01:08:18 +01:00
Laura Klünder
eb4a93084e remove bounds from GeometryMixin 2017-11-22 22:15:33 +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
494c68e08a improve field display description 2017-11-22 18:23:08 +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
0346301f8e fix error 500 if CACHE_TILES is active 2017-11-21 05:52:19 +01:00
Laura Klünder
443d58965d add settings to use external cached tile server 2017-11-21 04:34:43 +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