diff --git a/map_machine/road.py b/map_machine/road.py index cfb8df8..1aca58f 100644 --- a/map_machine/road.py +++ b/map_machine/road.py @@ -431,6 +431,9 @@ class Road(Tagged): width = self.matcher.default_width if extra_width and self.tags.get("bridge") == "yes": color = Color("#666666") + if extra_width and self.tags.get("ford") == "yes": + color = Color("#88BBFF") + width += 2 if extra_width and self.tags.get("embankment") == "yes": color = Color("#666666") width += 4 @@ -446,6 +449,8 @@ class Road(Tagged): } if extra_width and self.tags.get("embankment") == "yes": style["stroke-dasharray"] = "1,3" + if extra_width and self.tags.get("tunnel") == "yes": + style["stroke-dasharray"] = "3,3" path.update(style) svg.add(path)