Modify

Opened 10 years ago

Closed 10 years ago

Last modified 10 years ago

#10346 closed enhancement (fixed)

drop rendering of bridge/tunnel/oneway = true/1

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

Description

Currently elemstyles.mapcss is often written like way[bridge?]{} So it also renders for bridge=true and bridge=1. I think this is bad tagging because only "yes" should be used. Same for tunnel, oneway, noexit, motorroad, area, ford,... I would change this to way[bridge=yes]{}. Same for the other keys. I would create the diff file, if it gets accepted. I just want to ask before I do the work.

Attachments (0)

Change History (8)

comment:1 by Don-vip, 10 years ago

I agree this is bad tagging but I don't think this is worth the trouble.

comment:2 by naoliv, 10 years ago

It should not be dropped at the rendering, but fixed in the data itself.
Or, if you like, have another validator rule for these values (which could also include a fix for true|1yes)

comment:3 by Don-vip, 10 years ago

Resolution: wontfix
Status: newclosed

There is no added value in changing the rendering, let's keep it as it is.
I checked the numbers of *=true, this tag is already very uncommon, and does not need a specific test neither.

comment:4 by Klumbumbus, 10 years ago

Resolution: wontfixfixed

In 8137/josm:

fix #10346 - drop rendering of bridge/tunnel/noexit/motorroad = true/1, add validator warning for oneway=1

comment:5 by Klumbumbus, 10 years ago

Milestone: 15.03

Only some minor changes.

in reply to:  3 comment:6 by stoecker, 10 years ago

Replying to Don-vip:

I checked the numbers of *=true, this tag is already very uncommon, and does not need a specific test neither.

I'm happy that I succeeded here. It was my decision that I don't like multiple boolean values and JOSM should only produce yes and no whenever possible. :-) JOSM has influence!

in reply to:  description ; comment:7 by aceman, 10 years ago

Replying to Klumbumbus:

Currently elemstyles.mapcss is often written like way[bridge?]{} So it also renders for bridge=true and bridge=1. I think this is bad tagging because only "yes" should be used.

You mean bridge=yes and bridge=<some of the different types of bridge> is to be supported.

in reply to:  7 comment:8 by Klumbumbus, 10 years ago

Replying to aceman:

You mean bridge=yes and bridge=<some of the different types of bridge> is to be supported.

Yes, see http://josm.openstreetmap.de/browser/josm/trunk/styles/standard/elemstyles.mapcss#L111 for supportet values.

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.