Better stop sign placement -- degenerate roads shouldn't get them. Not

sure why this wasn't done before.

Regenerated all maps... but this happens to expose some lane-changing crashes.
This commit is contained in:
Dustin Carlino 2021-06-22 17:05:18 -07:00
parent e08ddba241
commit 48076a4c5b
2 changed files with 2 additions and 1 deletions

View File

@ -562,6 +562,7 @@ fn get_area_type(tags: &Tags) -> Option<AreaType> {
"landuse",
vec![
"cemetery",
"flowerbed",
"forest",
"grass",
"meadow",

View File

@ -96,7 +96,7 @@ impl ControlStopSign {
// Degenerate roads and deadends don't need any stop signs. But be careful with
// roundabouts; we want it to be lower priority to enter a roundabout than continue through
// it.
if ss.roads.len() <= 1
if ss.roads.len() <= 2
&& ss
.roads
.keys()