Modify

Opened 9 years ago

Closed 9 years ago

#11023 closed defect (fixed)

Display restriction icons on nodes only if tagged together with traffic_sign=*

Reported by: Klumbumbus Owned by: team
Priority: normal Milestone: 15.02
Component: Internal mappaint style Version:
Keywords: template_report Cc:

Description

The icon for maxspeed on nodes should only be displayed if tagged together with traffic_sign=*
(The value of traffic_sign could be "maxspeed", some combination "maxspeed;overtaking" or some country code "DE:274" or "DE:274.1[30]". So I think just check for the presence of the traffic_sign key is enough and simplifies the selector)

Same for minspeed, maxweight, maxlength, maxheight, maxwidth, access, bicycle, foot, ggods, hgv, horse, motortcycle, motorcar, psv, motorboat

The validator already warns about maxspeed on nodes without traffic_sign=maxspeed. (Not for the other keys.)

Revision: 7987
Repository Root: http://josm.openstreetmap.de/svn
Relative URL: ^/trunk
Last Changed Author: Don-vip
Last Changed Date: 2015-01-25 03:37:12 +0100 (Sun, 25 Jan 2015)
Build-Date: 2015-01-26 02:35:32
URL: http://josm.openstreetmap.de/svn/trunk
Repository UUID: 0c6e7542-c601-0410-84e7-c038aed88b3b
Last Changed Rev: 7987

Identification: JOSM/1.5 (7987 en) Windows 7 32-Bit
Memory Usage: 247 MB / 742 MB (105 MB allocated, but free)
Java version: 1.8.0_31, Oracle Corporation, Java HotSpot(TM) Client VM
VM arguments: [-Djava.security.manager, -Djava.security.policy=file:C:\Program Files\Java\jre1.8.0_31\lib\security\javaws.policy, -DtrustProxy=true, -Djnlpx.home=<java.home>\bin, -Djnlpx.origFilenameArg=C:\Program Files\josm-latest.jnlp, -Djnlpx.remove=true, -Djava.util.Arrays.useLegacyMergeSort=true, -Djnlpx.heapsize=256m,768m, -Djnlpx.splashport=49305, -Djnlpx.jvm=<java.home>\bin\javaw.exe, -Djnlpx.vmargs=LURqYXZhLnV0aWwuQXJyYXlzLnVzZUxlZ2FjeU1lcmdlU29ydD10cnVlAA==]
Program arguments: [--debug]
Dataset consistency test: No problems found

Attachments (0)

Change History (1)

comment:1 by Klumbumbus, 9 years ago

Resolution: fixed
Status: newclosed

In 8012/josm:

fix #11023 - Display restriction icons on nodes only if tagged together with traffic_sign=*; allow access preset also for closed ways

Modify Ticket

Change Properties
Set your email in Preferences
Action
as closed The owner will remain team.
as The resolution will be set.
The resolution will be deleted. Next status will be 'reopened'.

Add Comment


E-mail address and name can be saved in the Preferences .
 
Note: See TracTickets for help on using tickets.