<div dir="ltr"><div><div><div><div><div>Okay, another one with a problem.<br><br></div>Using the exact same query for this ward relation:<br><a href="https://www.openstreetmap.org/relation/6173643">https://www.openstreetmap.org/relation/6173643</a><br><br></div>Returns an empty dataset:<br><a href="http://overpass-turbo.eu/s/fWi">http://overpass-turbo.eu/s/fWi</a><br><br></div>If I run the equivalent query suggesting by Neil, it downloads some of ways that are near to the boundary, but not all, and not the ways within the boundary:<br><a href="http://overpass-turbo.eu/s/fWj">http://overpass-turbo.eu/s/fWj</a><br><br></div>Any suggestions gratefully received!<br><br></div>Tom<br></div><div class="gmail_extra"><br clear="all"><div><div class="gmail_signature"><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>
<br><div class="gmail_quote">On 25 April 2016 at 16:45, 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">Thanks Neil, <div><br></div><div>I think I'll just have to go with that solution and then delete the ways I don't want.</div><span class="HOEnZb"><font color="#888888"><div><br></div><div>Tom</div></font></span></div><div class="gmail_extra"><span class=""><br clear="all"><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>
<br></span><div><div class="h5"><div class="gmail_quote">On 23 April 2016 at 16:42, Neil Pilgrim <span dir="ltr"><<a href="mailto:osm-talk-gb@kepier.clara.net" target="_blank">osm-talk-gb@kepier.clara.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>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" target="_blank">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"><div><div>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></div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div><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></div></div><span>_______________________________________________<br>
Talk-GB mailing list<br>
<a href="mailto:Talk-GB@openstreetmap.org" target="_blank">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></span></blockquote></div><br></div>
<br>_______________________________________________<br>
Talk-GB mailing list<br>
<a href="mailto:Talk-GB@openstreetmap.org" target="_blank">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></div></div>
</blockquote></div><br></div>