Skip to content

False positive "Stop_position is not part of a way" for monorail stops #42

@claudiush

Description

@claudiush

What steps will reproduce the problem?

  • Load the monorail route relation ​4568069 (This contains stop positions tagged as public_transport=stop_position + monorail=yes on track tagged as railway=monorail)
  • Run JOSM Validator on that data

What is the expected result?

No public transport warnings to be flagged for this data

What happens instead?

"PT: Stop_position is not part of a way" error flagged for a bunch of these stop positions

This actually seems to be caused by the PT Assistant validation and the fact that "monorail" (as in ways tagged as railway=monorail) is not an accepted value for the isWaySuitableForPublicTransport() function:

String[] acceptedRailwayTags = new String[] {"tram", "subway", "light_rail", "rail" };

See also original report at JOSM bugtracker: https://josm.openstreetmap.de/ticket/18034

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions