#9258 closed enhancement (fixed)
[PATCH] display bicycle=yes; foot=designated; highway=path in default paint style [path]
Reported by: | mkoniecz | Owned by: | team |
---|---|---|---|
Priority: | normal | Milestone: | 14.05 |
Component: | Internal mappaint style | Version: | |
Keywords: | Cc: |
Description
[bicycle=designated; foot=designated; highway=path] is displayed as green and purple dashes
I suggest that
[bicycle=yes; foot=designated; highway=path] would be displayed with long green dashes and very short purple ones
and
[bicycle=designated; foot=yes; highway=path] would be displayed with long purple dashes and very short green ones
Attachments (2)
Change History (14)
comment:1 by , 11 years ago
Component: | Core imagery → Internal mappaint style |
---|
comment:2 by , 11 years ago
Summary: | display [bicycle=yes; foot=designated; highway=path] in default paint style → display bicycle=yes; foot=designated; highway=path in default paint style |
---|
comment:3 by , 11 years ago
by , 11 years ago
Attachment: | dashes footway cycleway.png added |
---|
follow-up: 6 comment:4 by , 11 years ago
The code for this would be (add it in elemstyle after the block way[highway=path][bicycle=designated][foot=designated],
way[highway=path][bicycle=official][foot=official] which ends at the moment at line 599):
way[highway=cycleway][foot=yes], way[highway=path][bicycle=designated][foot=yes], way[highway=path][bicycle=official][foot=yes] { width: 1; realwidth: 2; color: bicycle#b100ff; dashes: 21,7; dashes-background-color: foot#00ff00; } way[highway=footway][bicycle=yes], way[highway=path][bicycle=yes][foot=designated], way[highway=path][bicycle=yes][foot=official] { width: 1; realwidth: 2; color: foot#00ff00; dashes: 21,7; dashes-background-color: bicycle#b100ff; }
comment:5 by , 11 years ago
Summary: | display bicycle=yes; foot=designated; highway=path in default paint style → display bicycle=yes; foot=designated; highway=path in default paint style [path] |
---|
comment:6 by , 11 years ago
Replying to Klumbumbus:
The code for this would be (add it in elemstyle after the block way[highway=path][bicycle=designated][foot=designated],
way[highway=path][bicycle=official][foot=official] which ends at the moment at line 599):
Thanks, but is it possible for you to supply a proper patch ? See wiki:DevelopersGuide/PatchGuide. Minimum would be an unified diff
. Cheers
by , 11 years ago
Attachment: | dashes cycleway footway.patch added |
---|
follow-up: 10 comment:7 by , 11 years ago
OK. I created a patch file. I hope this is correct, I didn't know about diff and patch before. Can you please check, if everything is ok with the patch file (I edited the first two lines manually)? What happens if someone edits the elemstyle.mapcss before this patch is executed? (The patchfile is not correct then anymore.)
comment:8 by , 11 years ago
Summary: | display bicycle=yes; foot=designated; highway=path in default paint style [path] → [PATCH] display bicycle=yes; foot=designated; highway=path in default paint style [path] |
---|
follow-up: 11 comment:10 by , 11 years ago
Replying to Klumbumbus:
OK. I created a patch file. I hope this is correct, I didn't know about diff and patch before.
Thanks, patch file was correct.
Can you please check, if everything is ok with the patch file (I edited the first two lines manually)? What happens if someone edits the elemstyle.mapcss before this patch is executed? (The patchfile is not correct then anymore.)
The patch software will try to apply it anyway. This works well, unless the same lines in the source file are changed.
comment:11 by , 11 years ago
Replying to bastiK:
The patch software will try to apply it anyway. This works well, unless the same lines in the source file are changed.
Fine. Thanks.
comment:12 by , 11 years ago
Milestone: | → 14.05 |
---|
Example of way that would be affected: http://www.openstreetmap.org/browse/way/239836501
Repository Root: http://josm.openstreetmap.de/svn
Build-Date: 2013-11-09 02:35:12
Last Changed Author: Don-vip
Revision: 6381
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
URL: http://josm.openstreetmap.de/svn/trunk
Last Changed Date: 2013-11-08 14:41:01 +0100 (Fri, 08 Nov 2013)
Last Changed Rev: 6381
Identification: JOSM/1.5 (6381 en_GB) Windows 7 32-Bit
Memory Usage: 247 MB / 247 MB (69 MB allocated, but free)
Java version: 1.7.0_45, Oracle Corporation, Java HotSpot(TM) Client VM
Dataset consistency test: No problems found
Plugin: OpeningHoursEditor (29854)
Plugin: notes (v0.6)