I try to get a list of all streets/addresses for a single geocodeArea. E.g.
{{geocodeArea:Heidelberg}}->.searchArea;
(
nwr[highway=highway][name](area.searchArea);
nwr[highway=living_street][name](area.searchArea);
nwr[highway=residential][name](area.searchArea);
nwr[highway=primary][name](area.searchArea);
nwr[highway=secondary][name](area.searchArea);
);
(._;>;);
out;
With that, for the primary and secondary highways I also get bus_stop (Node 3205201698) and tram_stops because they relate to the chosen highway type. I tried removing them with the difference operator but with no luck so far.
Where am I wrong?