Modify

Opened 7 years ago

Closed 7 years ago

#15877 closed enhancement (fixed)

roof:color <-> roof:colour / building:color

Reported by: rza31 Owned by: team
Priority: normal Milestone: 18.05
Component: Core validator Version:
Keywords: color colour deprecated mapcss Cc: Klumbumbus

Description

The validator note that roof:color and building:color is out of date.
I suggest to repair automatic to roof:colour, building:colour. It is just a syntax correctur.

Attachments (0)

Change History (4)

comment:1 by Don-vip, 7 years ago

Cc: Klumbumbus added
Keywords: color colour deprecated mapcss added

From deprecated.mapcss, #10329:

*[/:color/]{
  throwWarning: tr("{0} is deprecated", "{0.key}");
  suggestAlternative: ":colour";
  group: tr("deprecated tagging");
  assertNoMatch: "way color=red";
  assertMatch: "way roof:color=grey";
}

comment:2 by Klumbumbus, 7 years ago

Anyone knows if one solution is faster?
*[color][colour][tag(color)=tag(colour)] vs. *[color][colour][color*=colour]

comment:3 by Klumbumbus, 7 years ago

Milestone: 18.05

comment:4 by Klumbumbus, 7 years ago

Resolution: fixed
Status: newclosed

In 13788/josm:

fix #15877 - autofix roof:color and building:color to roof:colour and building:colour (as long as not both keay with different values are present)

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.