Modify

Opened 9 years ago

Last modified 7 weeks ago

#7120 new enhancement

Check: Railway end node near other railway

Reported by: newsScott@… Owned by: team
Priority: normal Milestone:
Component: Core validator Version:
Keywords: unconnected_way railway Cc:

Description

There allready exists a "Way end node near other highway" check. The same would be very helpful to improve the quality of railway data.

Some false positives may be avoidable if the code would also check for the tag "railway:buffer_stop" in the end node.

Attachments (0)

Change History (5)

comment:1 Changed 9 years ago by anonymous

i realized that there is allready some support of this. But i think the current implementation needs some changes:

in org/openstreetmap/josm/data/validation/tests/UnconnectedWays.java:

The default distance (mindist) of 10 meters is not useful for checking railways. I my experiments, something like 1-2 meters is best. So should there be a mindist_highway and mindist_railway?

The code finds some false positives: many platforms are still tagged "railway=platform" instead of "public_transport=platform". In member function "visit", ways tagged with railway=platform should not be taken into account:

something like

if (w.hasKey("highway")
w.hasKey("railway") && !w.get("railway").equals("platform")) {

set = endnodes_highway;

}

comment:2 Changed 9 years ago by simon04

Component: CoreCore validator

comment:3 Changed 9 years ago by simon04

Keywords: unconnected_way added

comment:4 Changed 3 years ago by Don-vip

Keywords: railway added

comment:5 Changed 7 weeks ago by skyper

The test was reworked. Does it work better, now?

Last edited 7 weeks ago by skyper (previous) (diff)

Modify Ticket

Change Properties
Set your email in Preferences
Action
as new The owner will remain team.
as The resolution will be set.
to The owner will be changed from team to the specified user.
The owner will change to newsScott@gmx.de
as duplicate The resolution will be set to duplicate.The specified ticket will be cross-referenced with this ticket
The owner will be changed from team to anonymous.

Add Comment


E-mail address and name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.