openstreetmap / iD

🆔 The easy-to-use OpenStreetMap editor in JavaScript.
https://www.openstreetmap.org/edit?editor=id
ISC License
3.34k stars 1.2k forks source link

Highlight streets with no name #5187

Open nighto opened 6 years ago

nighto commented 6 years ago

Hi all. I think it would be interesting to highlight streets with no name (i.e., highway=motorway|trunk|primary|secondary|tertiary|unclassified|residential|pedestrian with no name=* and with no noname=yes).

Rationale: Here in Brazil we have an overlay image layer from which we have authorization to copy names from, the IBGE Mapa de Setores Urbanos, and with it activated it is often hard to see which streets you have already copied names, and which you still haven't. Of course it would be useful for other situations / countries as well.

image

Other editors: JOSM has a style that highlights that have no name. Can't test on Potlatch 2 because I don't have Flash on my system.

My render style suggestion would be to render just like JOSM does. Copying their style code:

way[highway][!name]
{
    width: 3;
    dashes: 10,10;
    dashes-background-color: red;
}
tordans commented 6 years ago

@nighto I guess that would fit into https://github.com/openstreetmap/iD/issues/3452, right? More +1 on that Issue might help :).

nighto commented 6 years ago

Hi @tordans thanks for your time reviewing that issue. Could be done that way, but not necessarily, as it is easy to know for the freshly downloaded data which ways have no names (vs. other types of checks which would be more suited on KeepRight indeed).

bhousel commented 6 years ago

@nighto I guess that would fit into #3452, right? More +1 on that Issue might help :).

I checked KeepRight and I don't think it actually highlights streets without names, but I could be wrong. There may be another Q/A tool that does this, and I'm definitely interested in more Q/A tool integration with iD.

1ec5 commented 6 years ago

Potlatch also has an option to very subtly highlight unnamed streets (with a pink casing).

bhousel commented 6 years ago

haha 7 upvotes?

Would it be maybe better if iD offered a way to highlight/select features that match an overpass query?

matkoniecz commented 5 years ago

highway=motorway|trunk|primary|secondary|tertiary|unclassified|residential|pedestrian with no name=* and with no noname=yes).

At least in Poland highlighting motorways without name would be pointless. It is rare for motorway to be named here and adding noname=yes to each segment is not something that should be strongly encouraged (for example Vespucci highlights roads that have neither name, ref nor noname=yes).

danieldegroot2 commented 2 months ago

Superseded by #6371

cc: @tyrasd