Permalink
Browse files

catching other grade-separated roads with a trick

  • Loading branch information...
saranrapjs committed Apr 19, 2017
1 parent 08bb6f1 commit 65d755490b34327438a98b069d48f346f55947e7
Showing with 11 additions and 1 deletion.
  1. +11 −1 scene.js
@@ -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;
}
}
}
},

0 comments on commit 65d7554

Please sign in to comment.