#23836 closed defect (invalid)
highway=bus_stop should not be suspicious with addr:*
| Reported by: | NeatNit | Owned by: | team |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Core validator | Version: | tested |
| Keywords: | addr highway | Cc: |
Description
highway=bus_stop is only meant to be used on nodes, and isn't really a highway. I think it shouldn't be marked as suspicious if it also has an address.
I should also mention, in Israel we used to have imports of bus stops from govt data (GTFS) and the data included addresses for a large number of them. These were imported and now there's a lot of this "issue" in Israel.
If you think this combination is still suspicious, I'll be happy to hear your opinion why.
I believe this is the line responsible: https://josm.openstreetmap.de/browser/josm/trunk/resources/data/validator/combinations.mapcss#L461
/* #9811, #11491, #12865, #14310 */
*[place][place!=farm][place!=plot][/^(addr:housenumber|addr:housename|addr:flats|addr:conscriptionnumber|addr:street|addr:place|addr:city|addr:country|addr:full|addr:hamlet|addr:suburb|addr:subdistrict|addr:district|addr:province|addr:state|addr:interpolation|addr:interpolation|addr:inclusion)$/],
/* addr:postcode is used together with place in some countries */
*[boundary][/^addr:/],
*[highway][/^addr:/][highway!=services][highway!=rest_area][!"addr:postcode"] {
throwWarning: tr("{0} together with {1}", "{0.key}", "addr:*");
group: tr("suspicious tag combination");
assertMatch: "node place=foo addr:housenumber=5";
assertMatch: "node place=foo addr:housenumber=5 addr:postcode=12345";
assertNoMatch: "node place=foo addr:postcode=12345";
}
To fix, I have never seen this language before, but I guess add [!highway=bus_stop] to the end of the highway line?
Attachments (0)
Change History (5)
comment:1 by , 17 months ago
comment:2 by , 17 months ago
I have never been in Israel, so far, but I doubt that bus stops have addresses. This sounds more like a description for the location of the bus stop and should not have been imported as addr:*=*. If you really want to add this information, take a look at Key:object:*.
comment:3 by , 17 months ago
Ooh, you may be right, I wasn't aware of object:*=*. In that case, I will probably change the mapped tags in the near future, and you can consider this ticked solved.
follow-up: 5 comment:4 by , 17 months ago
| Component: | Core → Core validator |
|---|---|
| Keywords: | addr highway added |
| Resolution: | → invalid |
| Status: | new → closed |
| Version: | → tested |
Fine, you might want to inform the persons who imported the GTFS data to use object:*=* instead of addr:*=* in the future, as well.
comment:5 by , 17 months ago
Replying to skyper:
Fine, you might want to inform the persons who imported the GTFS data to use
object:*=*instead ofaddr:*=*in the future, as well.
Well, that import has not been active since 2020. I am currently working on recreating that import process in a better way, and I will be sure to do that.



Oops, I definitely meant [highway!=bus_stop].