-
-
Notifications
You must be signed in to change notification settings - Fork 29
Description
I stumbled across the public transport feature and it seems very cool :-)
AddisMapTransit recently did lots of Public Transport mapping in Addis Ababa, and the bus routes are not shown there for on OsmApp.
Example:
https://osmapp.org/node/11035607130#17.00/9.0107/38.7636
If I change the query to the simpler version
const overpassQuery = `[out:csv(ref, colour; false; ';')];
${featureType}(${id});
rel(bn)["route"~"bus|train|tram|subway|light_rail|ferry|monorail"];
out;`;
it would work, as you can see in the following screenshot from localhost:
@Dlurak can you explain the query introduced here?
EDIT: actually you already did explain it in the PR - sorry for the noise.
Mapping Requirement:
It's important to note that for this enhancement to work, stops must be correctly mapped with the stop_area
relation. In cases where this mapping is not done accurately, the query will not find any routes at all.
So it might be a shortcoming in mapping in that area because the stop_area relation is not used.
I am not sure if this is a hard requirement in the public transport v2 mapping schema.
I also saw, that probably highway=bus_stop should be added to most of the stops, for rendering them on the map.