osm-ToniE / ptna

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

Errors: show also 'name' for Ways and Nodes #15

Closed osm-ToniE closed 6 years ago

osm-ToniE commented 6 years ago

When printing errors for nodes and ways, not only show ID and the links to iD adn JOSM, ... but also the name of the street, bus-stop, platform - if 'name' is set and makes sense for the particular type of error.

osm-ToniE commented 6 years ago

More easy: pass undef, 'name;ref', 'name' or 'ref' as 2nd parameter to the printXxxTemplate() functions and they can do the job.

osm-ToniE commented 6 years ago

Done, and 1st parameter if the ID of the object and vie this, all other information can be retrieved.