geofabrik / osmi_pubtrans3

code which powers the "new" Public Transport view of OSM Inspector
GNU General Public License v3.0
9 stars 5 forks source link

Route inspector does not recognize entry_only or exit_only stops #23

Open eternaltyro opened 2 years ago

eternaltyro commented 2 years ago

PTv2 spec specifies that one should tag stop_entry_only or stop_exit_only for first and last stops respectively. But OSMI does not recognize these roles in route relations .

OSMI gives the error No stop or platform as first member = true if first stop role is stop_entry_only or platform_entry_only

Example rel_id=11599082

eternaltyro commented 2 years ago

Actually, OSMI does parse entry/exit only stops : https://github.com/geofabrik/osmi_pubtrans3/blob/38fe5b23b0e5e18669e2e8704a414530524c3e7a/src/ptv2_checker.cpp#L36-L42

I might be wrong. Checking