Re: [Talk-GB] ISO 3166-2:GB

2020-09-01 Thread Ed Loach
The values seem to be in OSM in the ISO3166-2 tag (a couple twice)

https://taginfo.openstreetmap.org.uk/keys/ISO3166-2#values

 

I tried to get overpass turbo to display them but I either got a timeout or a 
very large amount of data returned. I zoomed in and got GB-ENG, GB-ESS, GB-SOS 
and whatever Suffolk is (GB-SFK) showing, but Suffolk seemed to be under 
England so I couldn’t click on it. I removed ways and nodes from the gather 
generated by the wizard and increased the timeout to get

 

[out:json][timeout:55];

// gather results

(

  // query part for: “"ISO3166-2"=*”

  relation["ISO3166-2"]({{bbox}});

);

// print results

out body;

>;

out skel qt;

 

Ed

 

From: Steve Pointer 
Sent: 26 August 2020 18:19
To: Talk-GB 
Subject: [Talk-GB] ISO 3166-2:GB

 

Hi

 

Is there a OSM overlay map of any type that shows the Second-level subdivisions 
as outlied in ISO_3166-2:GB

 

So that would be:

 


Code

Subdivision name (en <https://en.wikipedia.org/wiki/English_language> )

Subdivision category

Parent subdivision


GB-BKM

Buckinghamshire <https://en.wikipedia.org/wiki/Buckinghamshire> 

two-tier county

 <https://en.wikipedia.org/wiki/England> ENG


GB-CAM

Cambridgeshire <https://en.wikipedia.org/wiki/Cambridgeshire> 

two-tier county

 <https://en.wikipedia.org/wiki/England> ENG


GB-CMA

Cumbria <https://en.wikipedia.org/wiki/Cumbria> 

two-tier county

 <https://en.wikipedia.org/wiki/England> ENG


GB-DBY

Derbyshire <https://en.wikipedia.org/wiki/Derbyshire> 

two-tier county

 <https://en.wikipedia.org/wiki/England> ENG


GB-DEV

Devon <https://en.wikipedia.org/wiki/Devon> 

two-tier county

 <https://en.wikipedia.org/wiki/England> ENG


GB-DOR

Dorset <https://en.wikipedia.org/wiki/Dorset> 

two-tier county

 <https://en.wikipedia.org/wiki/England> ENG


GB-ESX

East Sussex <https://en.wikipedia.org/wiki/East_Sussex> 

two-tier county

 <https://en.wikipedia.org/wiki/England> ENG


GB-ESS

Essex <https://en.wikipedia.org/wiki/Essex> 

two-tier county

 <https://en.wikipedia.org/wiki/England> ENG

...

 

And so on?

 

Many Thanks

Steve P

 

___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb


[Talk-GB] ISO 3166-2:GB

2020-08-26 Thread Steve Pointer
Hi

Is there a OSM overlay map of any type that shows the Second-level subdivisions 
as outlied in ISO_3166-2:GB

So that would be:

Code
Subdivision name (en )
Subdivision category
Parent subdivision
GB-BKM
Buckinghamshire 
two-tier county
ENG 
GB-CAM
Cambridgeshire 
two-tier county
ENG 
GB-CMA
Cumbria 
two-tier county
ENG 
GB-DBY
Derbyshire 
two-tier county
ENG 
GB-DEV
Devon 
two-tier county
ENG 
GB-DOR
Dorset 
two-tier county
ENG 
GB-ESX
East Sussex 
two-tier county
ENG 
GB-ESS
Essex 
two-tier county
ENG 
...

And so on?

Many Thanks
Steve P
___
Talk-GB mailing list
Talk-GB@openstreetmap.org
https://lists.openstreetmap.org/listinfo/talk-gb