Re: [Talk-GB] Reference numbers for UK admin areas?

2019-10-31 Thread Andy G Wood
Great work Roland. I am beginning to understand what an amazing tool Overpass is. Andy. On Wednesday, 30 October 2019 19:17:31 GMT Roland Olbricht wrote: > Hi all, > > I'm at the moment writing a documentation for the Overpass API. > > The challenge was to get Overpass to return grit bins in

Re: [Talk-GB] Reference numbers for UK admin areas?

2019-10-30 Thread Roland Olbricht
Hi all, I'm at the moment writing a documentation for the Overpass API. The challenge was to get Overpass to return grit bins in /this /Sutton, and not in all places called Sutton. Coincidentially, I just have translated a section about that type of question:

Re: [Talk-GB] Reference numbers for UK admin areas?

2019-10-24 Thread Edward Bainton
Super, thanks for all replies. 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. On Wed, 23 Oct 2019 at 17:17, Dave F via Talk-GB wrote:

Re: [Talk-GB] Reference numbers for UK admin areas?

2019-10-23 Thread Dave F via Talk-GB
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 36 (which is the

Re: [Talk-GB] Reference numbers for UK admin areas?

2019-10-23 Thread Colin Smale
The London Borough of Sutton has admin_level=8. Admin_level=10 is for civil (not ecclesiastical) parishes, or community councils in Wales and Scotland. The GSS code refers to the geometry of the area; if the boundary is modified (by law) a new code is assigned. On 23 October 2019 16:49:07

Re: [Talk-GB] Reference numbers for UK admin areas?

2019-10-23 Thread Edward Bainton
PS 'grit bin' is arbitrary: I knew Sutton had only one or two, so it made playing around with the database easier. On Wed, 23 Oct 2019 at 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

Re: [Talk-GB] Reference numbers for UK admin areas?

2019-10-23 Thread Edward Bainton
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

Re: [Talk-GB] Reference numbers for UK admin areas?

2019-10-23 Thread Dave F via Talk-GB
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

Re: [Talk-GB] Reference numbers for UK admin areas?

2019-10-23 Thread SK53
They are current ONS 9-character codes ('E' for England). These codes cover a wide range of administrative geographies. There is absolutely no need to add a reference to the local authority to street furniture objects as OSM is a geographical database & this can be determined from the data. Note

[Talk-GB] Reference numbers for UK admin areas?

2019-10-23 Thread Edward Bainton
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