Skip to content

Commit

Permalink
Use sharrows for bicycle=designated streets. Fix #389
Browse files Browse the repository at this point in the history
  • Loading branch information
Phyks committed Mar 22, 2021
1 parent 7d7c1cc commit 1ba9c96
Show file tree
Hide file tree
Showing 4 changed files with 62 additions and 14 deletions.
2 changes: 2 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,8 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0

* Fix names not rendered in some alphabts. Fix #489.
* Render train stations when tagged on buildings (polygons). Fix #527.
* Use sharrows for `bicycle=designated` streets instead of regular arrow.
Fix #389.



Expand Down
4 changes: 4 additions & 0 deletions LICENSE.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,9 @@ style and are licensed under CC0 public domain.
The icons in `symbols/osmandapp` are taken from the
[OsmAnd app resources](https://github.com/osmandapp/OsmAnd-resources).

The icons in `symbols/nounproject` are taken from [The Noun
Project](https://thenounproject.com/) and are licensed under a CC BY-NC-ND 2.0
license.

The inner tube bicycle icon is based on
https://www.flaticon.com/free-icon/inner-tube_1575936.
15 changes: 1 addition & 14 deletions labels.mss
Original file line number Diff line number Diff line change
Expand Up @@ -491,26 +491,13 @@
designated/marker-max-error: 0.5;
designated/marker-spacing: 50;
designated/marker-fill: @cycle-fill;
designated/marker-file: url(symbols/oneway.svg);
designated/marker-file: url(symbols/nounproject/sharrows.svg);
[oneway='-1'] { designated/marker-file: url(symbols/oneway-reverse.svg); }
[zoom=15] {
designated/marker-transform: "scale(0.75)";
designated/marker-spacing: 40;
}
}
[bicycle='designated'][oneway = 'yes'][oneway_bicycle = 'no'],
[bicycle='designated'][oneway = '-1'][oneway_bicycle = 'no'],
[bicycle='designated'][oneway != 'yes'][oneway != '-1'][oneway_bicycle != 'yes'][oneway_bicycle != '-1'] {
designated/marker-placement: line;
designated/marker-max-error: 0.5;
designated/marker-spacing: 50;
designated/marker-fill: @cycle-fill;
designated/marker-file: url(symbols/oneway-cycle.svg);
[zoom=15] {
designated/marker-transform: "scale(0.75)";
designated/marker-spacing: 40;
}
}
}


Expand Down
55 changes: 55 additions & 0 deletions symbols/nounproject/sharrows.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit 1ba9c96

Please sign in to comment.