osm-ToniE / ptna

Public Transport Network Analysis for OSM
GNU General Public License v3.0
19 stars 5 forks source link

Wrong Sketch-Line #122

Closed KristjanESPERANTO closed 3 years ago

KristjanESPERANTO commented 3 years ago

When I'm clicking in the analyses page [1] the tram line 1 of Halle (Saale) I'm getting the Sketch-Line of the tram line 1 from Leipzig [2].

[1] https://ptna.openstreetmap.de/results/DE/SN/DE-SN-MDV-Analysis.html#tram_1 [2] https://overpass-api.de/api/sketch-line?ref=1&network=MDV&style=wuppertal&bg=%23fbba00&fg=%23000000

osm-ToniE commented 3 years ago

I will add 'operator' to the API call of sketch-line to make the search more precise/unique

osm-ToniE commented 3 years ago

This issue has to be transferred to the repository 'ptna' though.

KristjanESPERANTO commented 3 years ago

That would be nice. Thank you for all the work you put into this project.

osm-ToniE commented 3 years ago

Easy fix ... will mark all analysis results for all networks as having changes ... some of them invisible (HTML-tags changed only)

KristjanESPERANTO commented 3 years ago

That was fast. Thank you!

The same problem appears also when I'm in the Sketch-Line and click another line. But this isn't part of ptna, isn't it?

osm-ToniE commented 3 years ago

Right, sketch-line is part of the Overpass API.

All I can provide/pass to the API is 'ref', 'network' and 'operator' (and some 'colour' = back-ground and foreground information)