[Talk-GB] Reference numbers for UK admin areas?
Dave F
davefoxfac63 at btinternet.com
Wed Oct 23 16:17:19 UTC 2019
Try this:
https://overpass-turbo.eu/s/Nor
area(3601608485); // Sutton
//node[amenity=grit_bin]
nwr[building](area);
out meta center;
As you want a specific area, the way I do it is to get the relation
boundary's id (from the link you gave in the forum) & add it to
3600000000 (which is the start of the databases numbering for relations
so they don't overlap with ways & nodes).
DaveF
On 23/10/2019 16:32, Edward Bainton wrote:
> This is Sutton the parish within the City of Peterborough unitary authority
> (there is another in Beds and another in Norfolk).
>
> OP here: https://forum.openstreetmap.org/viewtopic.php?id=67698
>
> The challenge was to get Overpass to return grit bins in *this *Sutton, and
> not in all places called Sutton.
>
> The context (not in OP) was a query from someone who works with parish
> councils asking whether OSM is a feasible GIS for their asset management -
> because (1) parish councils are third parties to the Public Sector Mapping
> Agreement and (2) they have just had a lot of assets (or should that be
> liabilities?) devolved to them from higher tiers of government.
>
> Edward
>
> On Wed, 23 Oct 2019 at 16:25, Dave F via Talk-GB <talk-gb at openstreetmap.org>
> wrote:
>
>> Which Sutton?
>>
>> Could you post the OP?
>>
>> DaveF
>>
>>
>>
>>
>>
>> On 23/10/2019 15:49, Edward Bainton wrote:
>>
>> Hi all
>> On the forum marczoutendijk gave me an Overpass query to find grit-bins in
>> Sutton.
>>
>> He added an admin-level to distinguish the parish of Sutton from the London
>> borough.
>>
>> The only issue is, there are at least three Suttons at admin_level=10 (as
>> it happens, not far from each other).
>>
>> They have ref numbers thus: ref:gss=E04001120 (for example)
>>
>> Does anyone know what these are? There is a webpage in the wiki here, but I
>> can't make sense of it.https://wiki.openstreetmap.org/wiki/Item:Q2647
>>
>> Thanks,
>>
>> Edward
>>
>>
>>
>>
>> _______________________________________________
>> Talk-GB mailing listTalk-GB at openstreetmap.orghttps://lists.openstreetmap.org/listinfo/talk-gb
>>
>>
>> _______________________________________________
>> Talk-GB mailing list
>> Talk-GB at openstreetmap.org
>> https://lists.openstreetmap.org/listinfo/talk-gb
>>
More information about the Talk-GB
mailing list