<div dir="ltr"><div><div><div><div><div><div>I've had a play with this since I've been working with overpass turbo a bit recently; the best I've come up with so far is something like this:<br>  <a href="http://overpass-turbo.eu/s/fPR">http://overpass-turbo.eu/s/fPR</a> (waaaay over-commented ;))<br></div>As you'll see, this does include these roads, but does also include roads leaving the area.<br></div>If you un-comment the relation, then that shows the boundary too, which I found useful for debugging.<br></div>This may be able to be simplified/optimised, but I've gone with what works, and I switched to using a timeout/json as I'm used to that :)<br></div>If the ways missing were part of the relation then I think way(r.A)[highway][name] should select them too, but that's not how the relation is composed.<br><br></div>Hope that gives some other ideas, if nothing else :)<br><br>--<br></div>Neil<br><br></div><div class="gmail_extra"><br><div class="gmail_quote">On 23 April 2016 at 14:20, Tom Chance <span dir="ltr"><<a href="mailto:tom@acrewoods.net" target="_blank">tom@acrewoods.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div><div><div><div><div><div><div>Hi all,<br><br></div>It has been a very long time since I last posted here!<br><br></div>I'm trying to use the Overpass API to extract all the roads within the bounds of a relation, in this case a local government ward. Can anyone spot the problem in the data?<br><br></div>Here's the example I'm working with:<br><a href="http://overpass-turbo.eu/s/fPI" target="_blank">http://overpass-turbo.eu/s/fPI</a><br><br></div>The problem is that some roads aren't being downloaded with the query.<br><br>If you follow that link and run the query, you'll see that the top section of Belvedere Road, and all of Landsdowne Place, are excluded. There are a few others like this on the edges of the area.<br><br>I thought it might be because the way used by the boundary relation runs down the same nodes as those roads. But just at the top of those roads, the A-Road Church Road is downloaded despite being represented in the data in the same way.<br><br></div>I tried putting a 'kink' in the boundary way down at the other end of Landsdowne Place where it meets Fox Hill so it 'encompasses' a node, but that didn't help.<br><br></div>I hope this all makes sense, and maybe somebody can help?<br><br></div>Tom<br><div><div><div><div><br clear="all"><div><div><div><div><div><div><div><div><div dir="ltr"><div><div dir="ltr"><div><div dir="ltr"><div style="font-size:small"><div><div>web: <a href="http://tomchance.org/" style="color:rgb(17,85,204)" target="_blank">http://tomchance.org</a></div><div>twitter: <a href="http://twitter.com/tom_chance" style="color:rgb(17,85,204)" target="_blank">http://twitter.com/tom_chance</a></div></div>facebook: <a href="http://www.facebook.com/TomChanceGP" style="color:rgb(17,85,204)" target="_blank">http://www.facebook.com/TomChanceGP</a></div></div></div></div></div></div></div></div>
</div></div></div></div></div></div></div></div></div></div></div>
<br>_______________________________________________<br>
Talk-GB mailing list<br>
<a href="mailto:Talk-GB@openstreetmap.org">Talk-GB@openstreetmap.org</a><br>
<a href="https://lists.openstreetmap.org/listinfo/talk-gb" rel="noreferrer" target="_blank">https://lists.openstreetmap.org/listinfo/talk-gb</a><br>
<br></blockquote></div><br></div>