Hi Neil,

Thanks, I didn't realise there was such a delay on areas.

Tom

web: http://tomchance.org
twitter: http://twitter.com/tom_chance
facebook: http://www.facebook.com/TomChanceGP

On 28 April 2016 at 08:33, Neil Pilgrim <osm-talk...@kepier.clara.net>
wrote:

> Hi Tom,
>
> My guess would be that since this wad was added very recently, then the
> corresponding 'area', which is updated less frequently (only within
> overpass) does not generate results for you. You can see this if you
> comment out certain parts of your last query:
> - the line showing the relation (A) works fine
> - the line generating points around the edges of the relation (A) works
> fine
> - the line generating points within the area (a) derived from the relation
> (A) shows no difference, ie. it doesn't work!
>
> Perhaps keeping trying, or just try waiting a day or so and try again :)
>
> --
> Neil
>
>
> On 28 April 2016 at 08:08, Tom Chance <t...@acrewoods.net> wrote:
>
>> Okay, another one with a problem.
>>
>> Using the exact same query for this ward relation:
>> https://www.openstreetmap.org/relation/6173643
>>
>> Returns an empty dataset:
>> http://overpass-turbo.eu/s/fWi
>>
>> 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:
>> http://overpass-turbo.eu/s/fWj
>>
>> Any suggestions gratefully received!
>>
>> Tom
>>
>> web: http://tomchance.org
>> twitter: http://twitter.com/tom_chance
>> facebook: http://www.facebook.com/TomChanceGP
>>
>> On 25 April 2016 at 16:45, Tom Chance <t...@acrewoods.net> wrote:
>>
>>> Thanks Neil,
>>>
>>> I think I'll just have to go with that solution and then delete the ways
>>> I don't want.
>>>
>>> Tom
>>>
>>> web: http://tomchance.org
>>> twitter: http://twitter.com/tom_chance
>>> facebook: http://www.facebook.com/TomChanceGP
>>>
>>> On 23 April 2016 at 16:42, Neil Pilgrim <osm-talk...@kepier.clara.net>
>>> wrote:
>>>
>>>> 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:
>>>>   http://overpass-turbo.eu/s/fPR (waaaay over-commented ;))
>>>> As you'll see, this does include these roads, but does also include
>>>> roads leaving the area.
>>>> If you un-comment the relation, then that shows the boundary too, which
>>>> I found useful for debugging.
>>>> 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 :)
>>>> 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.
>>>>
>>>> Hope that gives some other ideas, if nothing else :)
>>>>
>>>> --
>>>> Neil
>>>>
>>>>
>>>> On 23 April 2016 at 14:20, Tom Chance <t...@acrewoods.net> wrote:
>>>>
>>>>> Hi all,
>>>>>
>>>>> It has been a very long time since I last posted here!
>>>>>
>>>>> 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?
>>>>>
>>>>> Here's the example I'm working with:
>>>>> http://overpass-turbo.eu/s/fPI
>>>>>
>>>>> The problem is that some roads aren't being downloaded with the query.
>>>>>
>>>>> 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.
>>>>>
>>>>> 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.
>>>>>
>>>>> 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.
>>>>>
>>>>> I hope this all makes sense, and maybe somebody can help?
>>>>>
>>>>> Tom
>>>>>
>>>>> web: http://tomchance.org
>>>>> twitter: http://twitter.com/tom_chance
>>>>> facebook: http://www.facebook.com/TomChanceGP
>>>>>
>>>>> _______________________________________________
>>>>> Talk-GB mailing list
>>>>> Talk-GB@openstreetmap.org
>>>>> https://lists.openstreetmap.org/listinfo/talk-gb
>>>>>
>>>>>
>>>>
>>>> _______________________________________________
>>>> Talk-GB mailing list
>>>> Talk-GB@openstreetmap.org
>>>> https://lists.openstreetmap.org/listinfo/talk-gb
>>>>
>>>>
>>>
>>
>
> _______________________________________________
> Talk-GB mailing list
> Talk-GB@openstreetmap.org
> https://lists.openstreetmap.org/listinfo/talk-gb
>
>
_______________________________________________
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb

Reply via email to