[Talk-GB] Parish Councils needs

Edward Bainton bainton.ete at gmail.com
Fri Oct 25 11:19:59 UTC 2019


A follow-up to my earlier, narrower query (subject line now changed)

Can Overpass measure the length of roads?

Eg, if a parish council wants to know how many miles of roads it has to
sweep. (Assume filtering by road type is possible to exclude driveways,
etc; assume all roads their responsibility.)

What about area of grass to cut? (add together all parks, football pitches,
etc - assume tagged *operator=Footon Parish Council*).

Thanks as ever,

Edward eteb3

---------- Forwarded message ---------
From: Dave F via Talk-GB <talk-gb at openstreetmap.org>
Date: Wed, 23 Oct 2019 at 17:17
Subject: Re: [Talk-GB] Reference numbers for UK admin areas?
To: Talk-GB at openstreetmap.org <talk-gb at openstreetmap.org>


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
>>


_______________________________________________
Talk-GB mailing list
Talk-GB at openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-gb/attachments/20191025/44f26963/attachment.html>


More information about the Talk-GB mailing list