Commit Graph

711 Commits

Author SHA1 Message Date
Dustin Carlino
a610575701 changing ezgui API to return Bounds, not Rect 2018-11-01 15:31:06 -07:00
Dustin Carlino
b593d3f5cf WIP plugin to highlight lanes with movement 2018-11-01 14:42:43 -07:00
Dustin Carlino
294e6683d9 dealing with panics from anywhere in the UI event handling 2018-11-01 14:10:08 -07:00
Dustin Carlino
e60fe0f0fe logging that repeats after a verbose setup 2018-11-01 13:24:15 -07:00
Dustin Carlino
161081da6d simplify intersection polygon code a bit, then handle the degenerate cases 2018-11-01 13:10:28 -07:00
Dustin Carlino
c255f3aa28 fix crosswalk markings, which drifted out of the intersection polygon 2018-10-31 15:23:07 -07:00
Dustin Carlino
8c83c22002 revamping trim_lines for lanes to use the intersection polygon 2018-10-31 15:08:19 -07:00
Dustin Carlino
01b230b47f fix location of stop signs / signals, based on bad center 2018-10-31 12:29:31 -07:00
Dustin Carlino
841944f84c force some intersections with similar angles between incident roads to use the line projection fix too. now things are looking great mostly \o/ 2018-10-31 12:19:46 -07:00
Dustin Carlino
ab1254870a fixing some of the 3-way cases... others arent even detected, seemingly 2018-10-31 12:02:18 -07:00
Dustin Carlino
e2a21cf5af simplifying the code a bit more to prepare for handling 3-ways 2018-10-31 11:21:57 -07:00
Dustin Carlino
dc12555b03 simplified the intersection polygon algorithm to just look at angle-adjacent pairs of lines. same results, simpler code. almost ready to fix the triangle intersections. 2018-10-31 10:55:59 -07:00
Dustin Carlino
0ac633905b remove duplicate points in intersection geom, after understanding why they happen 2018-10-31 09:43:16 -07:00
Dustin Carlino
be7bd2ede5 calculating a much simpler, more robust intersection polygon!!! \o/ 2018-10-31 09:38:34 -07:00
Dustin Carlino
c22ec98259 get_bounds for PolyLine 2018-10-31 08:31:16 -07:00
Dustin Carlino
27406a5a5c rotating stop signs (really an excuse to start using the geo crate in geom...) 2018-10-30 16:04:46 -07:00
Dustin Carlino
60246dc7f1 woops, fix timer API change 2018-10-30 15:47:23 -07:00
Dustin Carlino
8a1ee5c32b slight improvements to Timer API and output 2018-10-30 15:17:04 -07:00
Dustin Carlino
4a1d2c8bb6 making import.sh more magic 2018-10-30 15:07:22 -07:00
Dustin Carlino
23a1adfd95 using timer more thoroughly in convert_osm 2018-10-30 14:55:55 -07:00
Dustin Carlino
7bb1bab755 pulling sidewalk width from KML 2018-10-30 14:15:57 -07:00
Dustin Carlino
de8f6760b6 improving debugging of extra shapes 2018-10-30 13:24:00 -07:00
Dustin Carlino
a6bc3ed2a0 progress for KML parsing 2018-10-30 13:18:24 -07:00
Dustin Carlino
b7e184eeca adjusting scripts to convert OSM polygons 2018-10-29 15:53:04 -07:00
Dustin Carlino
f8f2ea3f95 switching to a simpler GPS<->Pt2D scheme that's bijective 2018-10-29 15:01:15 -07:00
Dustin Carlino
bb9c98b54e splitting into two Bounds types 2018-10-29 14:16:30 -07:00
Dustin Carlino
cc9f0289ab exporting polygons in the osmosis format... wait, may need to change the
coordinate system first. let's first refactor bounds to be more careful
about existing code.
2018-10-29 12:29:11 -07:00
Dustin Carlino
949529b780 adding some initial neighborhood summary for an a/b test 2018-10-29 11:24:01 -07:00
Dustin Carlino
20347a6de9 splitting up code in playground 2018-10-29 11:03:39 -07:00
Dustin Carlino
ab38836c70 debug offsets in weird polylines, remove unused polyline methods 2018-10-29 10:38:48 -07:00
Dustin Carlino
cb4f4dcb9e adding better controls to the playground GUI 2018-10-29 10:17:25 -07:00
Dustin Carlino
dda3355415 massively speed up map saving with buffering ;) 2018-10-28 20:09:00 -07:00
Dustin Carlino
0eacc4c040 track un-labeled time per span 2018-10-28 19:37:27 -07:00
Dustin Carlino
19bb98b347 fixing Timer.done() order 2018-10-28 19:07:58 -07:00
Dustin Carlino
3a62ed8695 refactor get_bbox 2018-10-28 18:43:36 -07:00
Dustin Carlino
a074ab1890 speeding up neighborhood summary with quadtree 2018-10-28 18:34:29 -07:00
Dustin Carlino
c7d7c93503 printing timer output live without indention 2018-10-28 17:44:30 -07:00
Dustin Carlino
a98b9c350d make other crates build again 2018-10-28 17:25:10 -07:00
Dustin Carlino
a45521e1a6 using Timer with read_binary 2018-10-28 17:17:35 -07:00
Dustin Carlino
f011f8f56d making hierarchial progress timer to replace flamegraphs. using in many,
but not all, places
2018-10-28 16:40:37 -07:00
Dustin Carlino
51fa5a0aba adding progress to UI stuff and speeding up steepness viz initialization
very slightly
2018-10-28 15:18:08 -07:00
Dustin Carlino
245d1707db handling few new OSM highway types 2018-10-28 14:09:37 -07:00
Dustin Carlino
15da2fe9cd using quadtrees to MASSIVELY speed up sidewalk matching 2018-10-28 13:59:54 -07:00
Dustin Carlino
65d8c92f63 investigating and fixing orphaned intersections 2018-10-28 12:50:15 -07:00
Dustin Carlino
c78b721bce implementing progress bars and trackers for large file readers, using in map loading phases that might be slow 2018-10-28 08:31:51 -07:00
Dustin Carlino
8c5716d7c4 trim back bldg front path lines to not overlap sidewalk 2018-10-26 15:36:20 -07:00
Dustin Carlino
37006369af fix other crates that have Color constants 2018-10-26 15:00:04 -07:00
Dustin Carlino
a61abca478 extract areas from OSM relations 2018-10-26 14:29:07 -07:00
Dustin Carlino
19ba0b02c0 use OSM road type colors 2018-10-26 13:13:48 -07:00
Dustin Carlino
e7e3ceddb2 not caching Colors in renderables, which cleans up DrawMap construction 2018-10-26 10:39:23 -07:00