mirror of
https://github.com/a-b-street/abstreet.git
synced 2025-01-01 19:04:50 +03:00
fix mt baker a little, at least get the north half of i90 included. lots
of jams along rainier.
This commit is contained in:
parent
82876647b2
commit
5ae94168f6
@ -5,7 +5,7 @@ mt_baker
|
||||
-122.25105489228434 47.539525691920986
|
||||
-122.27415675676858 47.53976374235018
|
||||
-122.30723470517704 47.58702022932231
|
||||
-122.30771026739033 47.59690874702425
|
||||
-122.3145932614657 47.59708340697138
|
||||
-122.27742929838222 47.59616642089007
|
||||
-122.25298349775787 47.566027044907486
|
||||
END
|
||||
|
@ -100,6 +100,7 @@ pub fn nice_map_name(name: &str) -> &str {
|
||||
"intl_district" => "International District and I90",
|
||||
"lakeslice" => "Lake Washington corridor",
|
||||
"montlake" => "Montlake and Eastlake",
|
||||
"mt_baker" => "Mt Baker",
|
||||
"west_seattle" => "West Seattle",
|
||||
// Outside Seattle
|
||||
"barranquilla" => "Barranquilla, Colombia",
|
||||
|
@ -20,6 +20,9 @@ pub fn info(ctx: &EventCtx, app: &App, details: &mut Details, id: IntersectionID
|
||||
// TODO The spacing is ignored, so use -
|
||||
txt.add(Line(format!("- {}", r)));
|
||||
}
|
||||
if app.opts.dev {
|
||||
txt.add(Line(format!("OSM node ID: {}", i.orig_id.osm_node_id)).secondary());
|
||||
}
|
||||
rows.push(txt.draw(ctx));
|
||||
|
||||
rows
|
||||
|
@ -36,6 +36,9 @@ fn main() {
|
||||
};
|
||||
let mut opts = options::Options::default();
|
||||
opts.dev = args.enabled("--dev");
|
||||
if args.enabled("--lowzoom") {
|
||||
opts.min_zoom_for_detail = 1.0;
|
||||
}
|
||||
|
||||
if let Some(x) = args.optional("--color_scheme") {
|
||||
let mut ok = false;
|
||||
|
@ -67,6 +67,7 @@ fn main() {
|
||||
utils::raw_to_map(&name);
|
||||
});
|
||||
handles.push(handle);
|
||||
// TODO Bug: if regenerating map and scenario at the same time, this doesn't work.
|
||||
}
|
||||
|
||||
if job.scenario {
|
||||
|
@ -620,7 +620,13 @@ impl IntersectionSimState {
|
||||
// for now.
|
||||
fn allow_block_the_box(osm_node_id: i64) -> bool {
|
||||
// 23rd and Madison
|
||||
osm_node_id == 53211694 || osm_node_id == 53211693 || osm_node_id == 53045512
|
||||
osm_node_id == 53211694 || osm_node_id == 53211693 ||
|
||||
// 31st and S Jackson
|
||||
osm_node_id == 53045512 ||
|
||||
// 23rd and Rainier
|
||||
osm_node_id == 53212741 || osm_node_id == 3496255252 ||
|
||||
// Rainier and Dearborn
|
||||
osm_node_id == 4607162574
|
||||
}
|
||||
|
||||
// TODO Various problems (bad geometry, multi-intersection turn restrictions) cause
|
||||
|
Loading…
Reference in New Issue
Block a user