I'm trying to get all the nodes of one street in a district in Berlin.
I've written the following expression, but it returns all Holteistraße
in Germany. Anyone know how I would write a correct syntax?
[out:json];
(
area["Berlin, Friedrichshain"];
way[highway][name="Holteistraße"];
);
out body;
>;
out skel qt;
Best Answer
Navigate to overpass-turbo.eu and enter the following the wizard popup:
This will create the following query, which includes
(area.searchArea)
as a reference to the previously found area. Also, the area needs to match exactly the existing tagging of a way or relation.area["Berlin, Friedrichshain"];
would simply try to find a way/relation with the key "Berlin, Friedrichshain". Obviously, no such object exists.