[Talk-GB] ISO 3166-2:GB

Ed Loach edloach at gmail.com
Tue Sep 1 12:24:58 UTC 2020


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 <talk-gb at openstreetmap.org>
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

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstreetmap.org/pipermail/talk-gb/attachments/20200901/66a2d6cc/attachment.htm>


More information about the Talk-GB mailing list