<div dir="ltr">Super, thanks for all replies. <div><br></div><div>I'll post another question soon with the full scope of this contact's queries: at this stage just kicking the tyres on it, but it seems Overpass will do just about whatever you want it to, if you ask nicely.</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Wed, 23 Oct 2019 at 17:17, Dave F via Talk-GB <<a href="mailto:talk-gb@openstreetmap.org">talk-gb@openstreetmap.org</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Try this:<br>
<a href="https://overpass-turbo.eu/s/Nor" rel="noreferrer" target="_blank">https://overpass-turbo.eu/s/Nor</a><br>
<br>
area(3601608485); // Sutton<br>
//node[amenity=grit_bin]<br>
nwr[building](area);<br>
out meta center;<br>
<br>
As you want a specific area, the way I do it is to get the relation <br>
boundary's id (from the link you gave in the forum)   & add it to <br>
3600000000 (which is the start of the databases numbering for relations <br>
so they don't overlap with ways & nodes).<br>
<br>
DaveF<br>
<br>
On 23/10/2019 16:32, Edward Bainton wrote:<br>
> This is Sutton the parish within the City of Peterborough unitary authority<br>
> (there is another in Beds and another in Norfolk).<br>
><br>
> OP here: <a href="https://forum.openstreetmap.org/viewtopic.php?id=67698" rel="noreferrer" target="_blank">https://forum.openstreetmap.org/viewtopic.php?id=67698</a><br>
><br>
> The challenge was to get Overpass to return grit bins in *this *Sutton, and<br>
> not in all places called Sutton.<br>
><br>
> The context (not in OP) was a query from someone who works with parish<br>
> councils asking whether OSM is a feasible GIS for their asset management -<br>
> because (1) parish councils are third parties to the Public Sector Mapping<br>
> Agreement and (2) they have just had a lot of  assets (or should that be<br>
> liabilities?) devolved to them from higher tiers of government.<br>
><br>
> Edward<br>
><br>
> On Wed, 23 Oct 2019 at 16:25, Dave F via Talk-GB <<a href="mailto:talk-gb@openstreetmap.org" target="_blank">talk-gb@openstreetmap.org</a>><br>
> wrote:<br>
><br>
>> Which Sutton?<br>
>><br>
>> Could you post the OP?<br>
>><br>
>> DaveF<br>
>><br>
>><br>
>><br>
>><br>
>><br>
>> On 23/10/2019 15:49, Edward Bainton wrote:<br>
>><br>
>> Hi all<br>
>> On the forum marczoutendijk gave me an Overpass query to find grit-bins in<br>
>> Sutton.<br>
>><br>
>> He added an admin-level to distinguish the parish of Sutton from the London<br>
>> borough.<br>
>><br>
>> The only issue is, there are at least three Suttons at admin_level=10 (as<br>
>> it happens, not far from each other).<br>
>><br>
>> They have ref numbers thus: ref:gss=E04001120 (for example)<br>
>><br>
>> Does anyone know what these are? There is a webpage in the wiki here, but I<br>
>> can't make sense of it.<a href="https://wiki.openstreetmap.org/wiki/Item:Q2647" rel="noreferrer" target="_blank">https://wiki.openstreetmap.org/wiki/Item:Q2647</a><br>
>><br>
>> Thanks,<br>
>><br>
>> Edward<br>
>><br>
>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> Talk-GB mailing listTalk-GB@openstreetmap.orghttps://<a href="http://lists.openstreetmap.org/listinfo/talk-gb" rel="noreferrer" target="_blank">lists.openstreetmap.org/listinfo/talk-gb</a><br>
>><br>
>><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>
<br>
<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>
</blockquote></div>