This is a static archive of our old OSM Help Site. Please post any new questions and answers at community.openstreetmap.org.

Find all junction next to way which has the tag landuse=meadow

0

Hello everybody,

I try to create a request to find all junction next to way which has the tag landuse=meadow in a certain radius.

// Find nodes up to 1000m  around a point
node(around:1000,49.0809183333  ,9.2923300000)
->.aroundnodes;
way(bn.aroundnodes)["junction"]["roundabout"]["landuse"="meadow"]->.allways;
// determine nodes belonging to found ways
    node(w.allways)->.waynodes;
    ( 
    // determine intersection of all ways' nodes and nodes around center point  
    node.waynodes.aroundnodes;  
    // and return ways (intersection is just a workaround for a bug)  
    way.allways.allways; 
    );
out;

Where is my mistake? Help is much appreciated.

asked 26 Jun '18, 08:37

Gustav9999's gravatar image

Gustav9999
11223
accept rate: 0%

1
(26 Jun '18, 14:55) SK53 ♦

Yeah but I dont receive any help, sugesstions or an answer. What a great admin.

(27 Jun '18, 06:15) Gustav9999