Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
catching other grade-separated roads with a trick
  • Loading branch information
saranrapjs committed Apr 19, 2017
1 parent 08bb6f1 commit 65d7554
Showing 1 changed file with 11 additions and 1 deletion.
12 changes: 11 additions & 1 deletion scene.js
Expand Up @@ -41,8 +41,18 @@
visible: false
},
major_road: {
filter: {
kind: "major_road",
not: function() {
return feature.kind_detail === "primary" && feature.shield_text;
},
},
trunk_primary: {
filter: { kind_detail: ["primary"] }
// this leaves *most* crossable primary roads, trying to exclude
// roads with shield text aka highway-like roads?
filter: function() {
return feature.kind_detail === "primary" && !feature.shield_text;
}
}
}
},
Expand Down

0 comments on commit 65d7554

Please sign in to comment.