GeoDesk for C++: Query OSM Data at Lightning Speed

A parent is the relation to which a feature belongs, or the way of a node. These queries are useful to discover to which bus routes a street belongs, or which roads meet at a certain intersection.

routes = street.parents("r[route]")
roads = world("w[highway]").parents_of(intersection)
1 Like