Opened 14 years ago

Last modified 12 years ago

#6039 closed defect

highway=road when tagged looks like boundary=administrative — at Version 2

Reported by: rickmastfan67 Owned by: team
Priority: major Milestone: 14.01
Component: Internal mappaint style Version: latest
Keywords: Cc:

Description (last modified by mrwojo)

highway=road (even as a temporary tag till somebody tags it correctly) shouldn't be shown in the same way as an Administrative boundary. People wouldn't know to double check it because of that. It should be shown in a different way.

Maybe show it as a normal road with a red outline? Kinda like how the "tiger:reviewed=no" is done except use red instead of yellow.

Change History (3)

by simon04, 14 years ago

Attachment: 6039.patch added

non-working patch

comment:1 by simon04, 14 years ago

The attached patch (attachment:6039.patch) does not work as expected. Where is the problem?

comment:2 by mrwojo, 13 years ago

Description: modified (diff)

source:/josm/trunk/src/org/openstreetmap/josm/gui/mappaint/xml/XmlStyleSource.java#L238

There's a comment there: "do not use overlay if linestyle is from the same rule (example: railway=tram)". Thus if a line and a linemod are specified in the same rule, the linemod will apply only if the line style is not applied.

I think the conditional application of linemod should be explicit in the rule somehow.

Note: See TracTickets for help on using tickets.