Modify

Opened 17 months ago

Closed 17 months ago

Last modified 17 months ago

#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 NeatNit, 17 months ago

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

comment:2 by skyper, 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 anonymous, 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.

comment:4 by skyper, 17 months ago

Component: CoreCore validator
Keywords: addr highway added
Resolution: invalid
Status: newclosed
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.

in reply to:  4 comment:5 by anonymous, 17 months ago

Replying to skyper:

Fine, you might want to inform the persons who imported the GTFS data to use object:*=* instead of addr:*=* 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.

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.