You are not logged in.

#1 2018-06-26 08:42:12

Gustav9999
Member
Registered: 2018-06-04
Posts: 5

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

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.

Offline

Board footer

Powered by FluxBB