'How can I find all peaks near a road (asphalt)
I would like to find all the peaks for a country which are around a road (200m)
Currently I have this query:
area["name"="Italy"]->.boundaryarea;
(
nwr(area.boundaryarea)[natural=peak](if:t["ele"]>100)({{bbox}});
);
out meta;
Next I need to filter these peaks to return only the peaks which are near a road (asphalt|paved)
I try this which doesn't work:
area["name"="Italy"]->.boundaryarea;
(
way(area.boundaryarea)[surface="asphalt"];
(node[natural=peak](around:200.0);
);
);
/*added by auto repair*/
(._;>;);
/*end of auto repair*/
out meta;
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
Solution | Source |
---|