Dustin Carlino
0a417bb450
color roads under construction in unzoomed mode based on the underlying road type.
...
technically this affects stop sign placement, but not wort regenerating
maps yet.
2020-07-28 13:49:39 -07:00
Dustin Carlino
2b9123d261
fix border intersection geometry when the road is too short. closes #251
...
while regenerating, also pick up landuse=grass as a park area. noticed
missing in krakow.
2020-07-28 13:41:12 -07:00
Dustin Carlino
edb1cb87cd
Make all vehicles, including buses, start with ~0 length when spawning
...
from borders and gradually appear. This looks more realistic and lets
more trips succeed, especially buses spawning at short borders.
This fixes #220 in a hopefully simpler way. Extending the geometry of
incoming roads is possible, but it may look visually overwhelming,
because two border intersections could sometimes overlap.
2020-07-28 11:39:57 -07:00
Michael Kirk
5f9e94cfcc
use monospace font to avoid clock layout jitter ( #250 )
...
* use monospace font to avoid clock layout jitter
* conventional naming
2020-07-28 10:39:18 -07:00
Dustin Carlino
6c3e6aef10
buttons to jump to start/end of a future trip when theres no prebaked data
2020-07-28 10:04:19 -07:00
Dustin Carlino
748db3c9b2
point to fixed 0.2.5 build, to help with #249
2020-07-28 09:41:38 -07:00
Dustin Carlino
0fe8b028ea
[rebuild] to fix ezgui widget crashes in 0.2.5
2020-07-28 08:24:05 -07:00
Dustin Carlino
e1e265db14
tighten up Polygon constructors to enforce an outer ring... in most
...
cases now.
2020-07-27 14:03:55 -07:00
Dustin Carlino
6a11a13d36
fix the remainder?! of pathfinding bugs for #190 . have to make sure the
...
candidate route has the stops in the correct order. now people correctly
ride a bus off-map!
regen everything now!
2020-07-27 12:36:46 -07:00
Michael Kirk
fff938180f
Commuter Patterns: Larger shapes for border intersections ( #247 )
...
* Commuter Patterns: Larger shapes for border intersections
A substantial portion of traffic has an origin/destination off the map.
We were correctly tracking all this data, attributing it to a
"block" the size of the border "intersection"; However, the design
didn't accommodate the small "size" of the border intersections:
1. it was too small to meaningfully reason about the heatmap visualization
2. it was too small of a "hit" area for clicking and hovering
3. when in the "locked" mode, the hover text overlay was illegible.
Now we draw a larger arrow, representing the inward/outward/both-ways
direction of traffic which makes it easier to reason about the heatmap
color and accommodates an adequate hit area.
And the hover text is now printed over a white pill to maintain
legibility.
* Commuter Patterns: Draw border *behind* directional icon
* Code Review: code cleanup - no changes to behavior.
2020-07-27 12:07:51 -07:00
Dustin Carlino
74bf6e0974
get riding off-map to work for #190 .
...
- handle living streets that allow buses in berlin
- don't connect LeaveMap nodes to anything else; people were getting
creative and using them as shortcuts to effectively warp to a border,
then come back into the map
- make should_use_transit understand transfers (and still just return
the first leg)
- warp to bus routes by ID
still at least one weird bug left, seen in krakow. working on it next,
trying to keep these commits "small." not regenerating maps quite yet.
2020-07-27 10:37:21 -07:00
Dustin Carlino
90291777fd
somehow dropdown and persistent split widgets also broke. be more careful about letting inner menus populate outcome.
2020-07-27 09:07:19 -07:00
Dustin Carlino
2239059961
UI fixes discovered during riding buses off-map
...
- speed limit dropdown crash
- link to bus route from bus stop panel, not some currently running bus
- show number of waiting people per stop in route panel and route dash
2020-07-27 08:19:14 -07:00
Dustin Carlino
e79e186784
ALMOST make people ride the bus off-map, for #190 . the pathfinding
...
gymnastics isn't quite right. still want to commit this though, with it
disabled.
found a few bugs along the way...
2020-07-27 07:54:33 -07:00
Dustin Carlino
e83e2f2d72
search by building name/address!
2020-07-27 06:37:05 -07:00
Dustin Carlino
f056080106
fix area under curve on jump-to-time when active agents isnt 0 at end of day. also... fail loudly when we make it to the end of the day and too many active agents are left. at some point lakeslice broke and I didnt notice. :( ... but actually it's just a crowd of people waiting on a bus that isnt managing to spawn.
2020-07-26 22:50:45 -07:00
Dustin Carlino
24740e9852
somehow autocomplete broke and I didnt notice till now, right after a
...
release :(
2020-07-26 20:49:16 -07:00
Dustin Carlino
a1e1e51b10
obviate need for make_arrow_outline by just putting together a
...
reasonable make_arrow polygon in the first place
2020-07-26 20:25:38 -07:00
Dustin Carlino
d6a5a3d840
new release
2020-07-26 16:06:57 -07:00
Dustin Carlino
2ec9c6620f
get san jose to import [rebuild]
2020-07-26 15:58:14 -07:00
Dustin Carlino
a4e09ca91f
add border stop/start to route info panel. move the route drawing there, stop being a weird layer.
2020-07-26 13:13:48 -07:00
Dustin Carlino
4c86f568d0
fix transit network's show all routes. no more loops, but do have border
...
starts/ends.
2020-07-26 12:40:44 -07:00
Dustin Carlino
649c79f784
easily see busiest bus route from dash
2020-07-26 12:23:30 -07:00
Dustin Carlino
90bb4ac020
change text checkboxes to instead use toggles
2020-07-26 12:06:43 -07:00
Dustin Carlino
fe41928cc8
explicitly allow osm highway types, instead of trying to deny stuff.
...
part of #231 . handles construction much better.
2020-07-25 17:06:09 -07:00
Dustin Carlino
0c15b06922
detect invalid .osm with duplicate nodes/ways/relations in parser. closes #212
2020-07-25 15:00:52 -07:00
Dustin Carlino
c4cfad8157
attempt to deploy mdbook
2020-07-25 14:35:55 -07:00
Dustin Carlino
04883418f5
same for traffic sim docs
2020-07-25 14:22:37 -07:00
Dustin Carlino
f1e9718805
reorganize map article into the book
2020-07-25 14:17:27 -07:00
Dustin Carlino
7a00839553
ditch osm-xml, make a new osm parser from scratch based on roxmltree.
...
skip unreferenced objects, make the output extremely easy to consume.
also fix timers in importer. this helps with #212 , although the actual
problem there is weird.
regen everything. some parking lots change a bit, but not horribly, and
that code needs some attention anyway.
2020-07-25 13:52:41 -07:00
Dustin Carlino
eb4acdc2f6
split parking lot code from building code, for #231
2020-07-25 07:09:43 -07:00
Mateusz Konieczny
a4a545cc79
handle more OSM tags - especially POIs ( #244 )
...
also, add graveyards like cemeteries
2020-07-25 07:01:55 -07:00
Dustin Carlino
fc761ae032
stop bringing in railway=rail for seattle. it's cosmetic only, and it messes up some geometry in south seattle and causes gridlock. not worth it yet.
2020-07-24 20:22:33 -07:00
Dustin Carlino
643073b4d5
for #231 , pass data between osm_reader and split in a way less horrible way
2020-07-24 19:33:35 -07:00
Dustin Carlino
bebfac1322
for #231 , split out parking methods in convert_osm
2020-07-24 19:20:31 -07:00
Dustin Carlino
f06c2764f5
fix broken parking layer counts, closes #241
2020-07-24 18:51:00 -07:00
Dustin Carlino
450befcc87
more useful error when prebaked missing. closes #238
2020-07-24 18:08:37 -07:00
Michael Kirk
bf1394e571
Commuter Patterns: Show secondary stats for commute on hover ( #235 )
...
* Commuter Patterns: Show secondary stats for commute on hover
2020-07-24 18:04:27 -07:00
Dustin Carlino
7bf6cb47f5
better UI for loading edits, split proposals and player edits. #113
2020-07-24 12:11:09 -07:00
Michael Kirk
6a074a0921
Commuter Pattern: label heatmap scale accruately (by max, not total) ( #236 )
2020-07-23 21:40:44 -07:00
Dustin Carlino
37630439d1
make the LC penalty understand when not all lanes go to the target road.
...
and bring in a few more osm fixes for marginal way. [rebuild]
2020-07-23 16:41:52 -07:00
Dustin Carlino
88380550b6
just commit the new walking turn code, to stop rebasing
2020-07-23 15:37:29 -07:00
Dustin Carlino
f66af5ad49
list all edits in the loader. only try to validate them after selection. display clear error if loading fails. #113
2020-07-23 15:27:24 -07:00
Dustin Carlino
61b5441bd8
also apply some of the new lane choice penalties to CH pathfinding for #217 . this is necessary, because we wont opportunistically LC around an uber turn. validated near montlake/520.
...
also bring in fresh osm with some south seattle fixes... [rebuild]
2020-07-23 14:42:20 -07:00
Dustin Carlino
dd3f3d14ab
add a signal policy for half signals, inadvertently brought in by fe94357332
. update a signal in south seattle.
...
will regenerate in the next change
2020-07-23 13:52:49 -07:00
Dustin Carlino
adbbc8764a
much smarter opportunistic lane-changing. almost got #217 . but we don't
...
do opportunistic LCing when approaching an uber-turn, so we need to use
these costs when building the CH also...
2020-07-23 12:39:00 -07:00
Dustin Carlino
d278739f49
fix shameful bug introduced in f1ef02b907
. regenerate all data, with fresh krakow osm
2020-07-23 11:51:19 -07:00
Dustin Carlino
9757750bfa
gather penalties based on sim state too. #217
2020-07-23 10:58:25 -07:00
Dustin Carlino
23a1b1a397
calculate and visualize penalties for turns that cut over lots of lanes. a step towards #217
2020-07-23 10:20:16 -07:00
Dustin Carlino
328cbcd1f1
stop melting my laptop when generating scenarios
2020-07-23 09:15:25 -07:00