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 |
|
Laura Klünder
|
e5c3f2509f
|
check_svg_renderer → check_speedups
|
2017-11-11 02:45:07 +01:00 |
|
Laura Klünder
|
cfbe7c07f6
|
some linter stuff
|
2017-11-10 02:19:58 +01:00 |
|
Laura Klünder
|
1e625dd443
|
remove openscad utils
|
2017-11-09 17:33:13 +01:00 |
|
Laura Klünder
|
3e41ac9e14
|
use HybridGeometry to precache triangulations
|
2017-11-08 18:04:07 +01:00 |
|
Laura Klünder
|
7d0eb3975d
|
add contains_points to mpl utils and move mpl utils to mapdata
|
2017-11-08 16:03:32 +01:00 |
|
Laura Klünder
|
596dc48f33
|
don't use quality meshing. we want to get a result, not freeze the device
|
2017-11-08 12:32:31 +01:00 |
|
Laura Klünder
|
a07c7506dd
|
add missing keep_holes
|
2017-11-07 23:04:18 +01:00 |
|
Laura Klünder
|
bee51f000b
|
move triangulate_polygon into c3nav.mapdata.utils.mesh
|
2017-11-07 22:58:47 +01:00 |
|
Laura Klünder
|
df451f9143
|
cleanup render code to make room for the opengl rendering engine
|
2017-11-04 23:21:36 +01:00 |
|
Laura Klünder
|
f7291ff237
|
disable altitudearea shadow rendering for now (takes too long)
|
2017-11-03 14:59:55 +01:00 |
|
Laura Klünder
|
4216998ec6
|
cast elevation to float so we can multiply it with floats
|
2017-11-03 13:00:06 +01:00 |
|
Laura Klünder
|
a58bf3753d
|
fix json reindender for coordinates
|
2017-11-02 13:44:44 +01:00 |
|
Laura Klünder
|
554b36d22f
|
utils.svg: skip LineStrings with no fill set
|
2017-11-01 14:20:08 +01:00 |
|
Laura Klünder
|
23e096b2b3
|
better space geometries so representative points never get places ind holes
|
2017-10-31 20:10:05 +01:00 |
|
Laura Klünder
|
fd74ca3258
|
calculate better representative point for geometries
|
2017-10-31 19:20:28 +01:00 |
|
Laura Klünder
|
94a23454a1
|
change short urls to not rely on doule slashes
|
2017-10-31 18:35:42 +01:00 |
|
Laura Klünder
|
6ae559e26a
|
fix cache key for get_location_by_slug_for_request
|
2017-10-31 17:32:37 +01:00 |
|
Laura Klünder
|
620323b808
|
export entire location query logic into mapdata.utils.locations and cache
|
2017-10-31 15:22:12 +01:00 |
|
Laura Klünder
|
55f0f481fe
|
optimized empty png image in SVGImage
|
2017-10-29 14:24:45 +01:00 |
|
Laura Klünder
|
4ad4083456
|
rendering background color to RGB instead of RGBA PNGs
|
2017-10-29 13:36:34 +01:00 |
|
Laura Klünder
|
a3be7b2842
|
flip every y,x to x,y
|
2017-10-29 11:32:44 +01:00 |
|
Laura Klünder
|
cce476c37a
|
using id() as a cache key was a very bad idea
|
2017-10-29 09:47:53 +01:00 |
|
Laura Klünder
|
bfe1491efc
|
add border to map renderings
|
2017-10-29 09:32:15 +01:00 |
|
Laura Klünder
|
5fe03c4c8e
|
add simple_geometry to location api
|
2017-10-28 21:36:52 +02:00 |
|
Laura Klünder
|
cd09cbab68
|
take shortcut in get_png if this is an empty tile rendering
|
2017-10-20 22:37:54 +02:00 |
|
Laura Klünder
|
e93b9dc222
|
fix LineString serialization
|
2017-10-20 17:03:56 +02:00 |
|
Laura Klünder
|
5ede164761
|
warn during system check it shapely speedups are not available
|
2017-10-20 16:11:40 +02:00 |
|