Dustin Carlino
9d4587d000
Import some OSM fixes to render LCID better for a demo. #601
2021-04-15 10:32:26 -07:00
Dustin Carlino
b5a1eb48f2
Fix some crash with creating a rounded rectangle that seemed to happen during a loading screen. [rebuild] [release]
2021-04-15 09:13:51 -07:00
Dustin Carlino
5bcd2a5526
Fix the grid2demand import, when repeatedly importing different files.
2021-04-15 08:58:21 -07:00
Dustin Carlino
292945c841
Recalculate seattle collision data. The data format got out of sync at some point, and I just now noticed.
2021-04-14 18:02:02 -07:00
Dustin Carlino
179daa5d25
Clean up commented out code from #170 . Going to re-evaluate how problems along a trip are shown in the UI anyway.
2021-04-14 17:25:58 -07:00
Dustin Carlino
56f8f4e30d
Fix rustdoc build
2021-04-14 14:23:18 -07:00
Dustin Carlino
79fdf01690
Remove the fade overlay from the tutorial. It makes some of the arrows pointing at stuff hard to see. If we just use it on message screens without an arrow, it looks odd to appear/disappear.
...
Also prep a mid-week [rebuild] [release]...
2021-04-14 13:05:54 -07:00
Dustin Carlino
4a06a7285b
Change the grid2demand file picker to be async. #605
2021-04-14 09:54:04 -07:00
Dustin Carlino
1e94ba9b06
Update some tutorial wording from Yuwen's designs.
...
Internally, overhaul some of the crazy tutorial code to just use Text,
not Vec<String>.
2021-04-13 16:56:39 -07:00
Dustin Carlino
72c48cb1f9
Address misc PR feedback for #604
2021-04-13 15:13:36 -07:00
Dustin Carlino
ae6414abd5
Rename building path->driveway, since path is such an overloaded term.
2021-04-13 15:13:36 -07:00
Dustin Carlino
9923c1270a
Repair parking lot connections after road widening. #597
2021-04-13 15:13:36 -07:00
Dustin Carlino
b9a9e8e5c5
Redraw building paths when needed
2021-04-13 15:13:36 -07:00
Dustin Carlino
a649e0be77
Repair building connections after road widening. #597
...
Don't redraw the paths yet, or try to deal with failures to snap.
2021-04-13 15:13:36 -07:00
Dustin Carlino
ae59f22dba
Also need gtk on Linux for rfd
2021-04-13 14:51:46 -07:00
Dustin Carlino
f8583b9e36
Looks like rfd needs pango on Linux [rebuild]
2021-04-13 13:51:29 -07:00
Dustin Carlino
7852e1d2b8
Import scenarios from grid2demand's input_agents.csv directly from the UI! #603 [rebuild]
...
For reference, the input_agents.csv -> abst input is ported from
https://github.com/asu-trans-ai-lab/grid2demand/blob/main/src/demand_to_abst_scenario.py
2021-04-13 13:39:50 -07:00
Dustin Carlino
d5dfce6267
The docker output wasn't getting plumbed through the UI logging. #82
2021-04-13 10:38:34 -07:00
Dustin Carlino
dd6bdfca72
Document root file workaround for docker. #82
2021-04-13 10:12:57 -07:00
Dustin Carlino
096acd1fea
Properly interleave stdout and stderr when running the importer from the UI, for #602 and #82 .
...
This makes the logs understandable and should fix the issue where the
last line of one_step_import's output is sometimes a warning instead of
the map name.
2021-04-13 10:07:56 -07:00
Dustin Carlino
462baddf17
Robustify running the importer from the UI, for #602 and #82 :
...
- Echo process output to the main UI's stdout, for easier debugging
- Remove the timing breakdown from elevation import, since it breaks
when the function bails out early
2021-04-13 09:45:48 -07:00
Dustin Carlino
272589bbbc
Stop checking for osmconvert, unzip, and gunzip up-front in the importer. #602
...
Originally this check was useful for people to discover missing
dependencies before spending time trying to import. But the importing
process has changed considerably since then -- much of the time, it gets
called by one_step_import through the UI. It has no need for those 3
commands in that case. If somebody winds up needing any of these
external commands, they'll still get a good error eventually.
2021-04-12 17:10:18 -07:00
Dustin Carlino
361bd7b8ed
Shrink boundary around Tempe to focus on the campus
2021-04-12 14:28:49 -07:00
Dustin Carlino
a5f56e6011
new release
2021-04-11 10:14:27 -07:00
Dustin Carlino
4f821bf75c
Start linking to the versioned web build, since I constantly break dev. [rebuild] [release]
2021-04-11 09:03:29 -07:00
Dustin Carlino
417850cbed
Import a part of Singapore
2021-04-11 08:44:49 -07:00
Dustin Carlino
6b30bffc43
Recreate the road in the quadtree when modifying width. #597
2021-04-10 11:56:05 -07:00
Dustin Carlino
4a0635fa5a
Refactor: Just remember ID -> quadtree ID
2021-04-10 11:56:05 -07:00
Dustin Carlino
c16f185019
The new intersection polygon usually changes the trimming of all connected road center lines. #597
2021-04-10 11:56:05 -07:00
Dustin Carlino
10255c2835
Recalculate intersection geometry when road width changes. #579
...
No effect on the road geometry yet, though...
2021-04-10 11:56:05 -07:00
Dustin Carlino
169d3765dd
Fix a crash where you edit one lane normally, then add/delete lanes of the same road. #597
2021-04-09 14:39:30 -07:00
Dustin Carlino
711d144323
Upgrade proposal JSON. #579
...
And now regenerate all map data.
2021-04-09 14:35:49 -07:00
Dustin Carlino
e8b7019ef7
Use LaneSpec in map edits, letting width of each lane be modified too. #597
2021-04-09 14:35:49 -07:00
Dustin Carlino
68661f0efd
Actually, to keep all of the existing editing UIs from breaking, preserve LaneIDs when just editing lane types. #597
2021-04-09 14:35:49 -07:00
Dustin Carlino
3beb153bbf
Support adding lanes. #597
...
And in fact, unify the cases of deleting lanes, adding lanes, or just
modifying them in place.
2021-04-09 14:35:49 -07:00
Dustin Carlino
14609ab157
Fix lane geometry after changing the number of lanes. #597
2021-04-09 14:35:49 -07:00
Dustin Carlino
584c1be9e0
A humble start to deleting lanes. #597
2021-04-09 14:35:49 -07:00
Dustin Carlino
c6906f6153
Change Vec<Lane> to BTreeMap<LaneID, Lane> to prepare for
...
adding/deleting lanes. #597
Not regenerating all maps yet. Haven't evaluated performance impact yet.
2021-04-09 14:35:49 -07:00
Dustin Carlino
2a89b68121
Create a temporary dev-only UI for modifying the number of lanes in a road. #597
...
It crashes when actually trying to change the number of lanes, as
expected.
2021-04-09 14:35:49 -07:00
Dustin Carlino
b367fdcb27
Fix Road::get_half_polygon for left-hand driving.
2021-04-09 09:01:05 -07:00
Dustin Carlino
204d13177d
Make the 15m tool respect access-restricted zones.
2021-04-08 10:28:52 -07:00
Dustin Carlino
3060f94989
Start a pathfinding v2 API. #555 ( #596 )
...
The v1 path that all callers need is available by transforming PathV2 to
v1. The plan is to now gradually change callers to natively use PathV2
instead.
2021-04-08 08:57:59 -07:00
Dustin Carlino
618fcdad62
Collapse some methods for creating walking paths. This is leftover from
...
before the zone pathfinding simplification. #555
2021-04-07 15:52:03 -07:00
Dustin Carlino
1b5d9d7108
Remove _broken_path_v2_to_v1 for now. #555
2021-04-07 15:06:47 -07:00
Dustin Carlino
defcbf1bb9
Just splitting the v1 PathStep, Path, PathRequest into a separate module, so the transition to pathfinding v2 is easier to understand. #555
2021-04-07 12:05:39 -07:00
Dustin Carlino
23132a16f8
Now that the old code to build and cost graphs for pathfindng v1 is deleted, rename the v2 methods. #555
2021-04-07 11:06:57 -07:00
Dustin Carlino
e471000395
Remove the old zone_cost method. #555
2021-04-07 11:04:42 -07:00
Dustin Carlino
da3272e2ee
Convert the alternative path debugger to use directed roads, not lanes. #555
...
This lets us clean up some of the old pathfinding v1 code, removing some
duplicate code!
Also improve that debugger to show a different cost for each side of the
road. The cost to turn around and reach a building on the other side of
the road may be high, so this really makes the debugger more
understandable.
2021-04-07 10:58:48 -07:00
Dustin Carlino
b381856bd5
Convert the 15m biking isochrone to internally use directed roads, not lanes. #555
2021-04-07 10:18:26 -07:00
Dustin Carlino
ad5c573a27
Change congestion capping to pathfind avoiding roads, not lanes. #555
...
Capping only happens when you edit a road and introduce a per-hour
vehicle cap.
2021-04-07 10:04:00 -07:00