United Kingdom - Regions
Download (83 KB)
To render the map use the following code:
$('#map').vectorMap({map: 'uk_regions_mill'});
Download (74 KB)
To render the map use the following code:
$('#map').vectorMap({map: 'uk_regions_merc'});
Codes
1 | UKF | East Midlands |
2 | WLS | Wales |
3 | NIR | Northern Ireland |
4 | UKK | South West |
5 | UKJ | South East |
6 | UKI | London |
7 | UKH | East |
8 | UKG | West Midlands |
9 | SCT | Scotalnd |
10 | UKE | Yorkshire and the Humber |
11 | UKD | North West |
12 | UKC | North East |
Processor config
[{
"name": "read_data",
"projection": "mill",
"file_name": "ne_10m_admin_1_states_provinces_lakes/ne_10m_admin_1_states_provinces_lakes.shp",
"filter": "iso_a2 = \"GB\""
},{
"name": "join_data",
"data": [
["East", "UKH", "East"],
["East Midlands", "UKF", "East Midlands"],
["East Wales", "WLS", "Wales"],
["Eastern", "SCT", "Scotalnd"],
["Greater London", "UKI", "London"],
["Highlands and Islands", "SCT", "Scotalnd"],
["North East", "UKC", "North East"],
["North Eastern", "SCT", "Scotalnd"],
["North West", "UKD", "North West"],
["Northern Ireland", "NIR", "Northern Ireland"],
["South East", "UKJ", "South East"],
["South West", "UKK", "South West"],
["South Western", "SCT", "Scotalnd"],
["West Midlands", "UKG", "West Midlands"],
["West Wales and the Valleys", "WLS", "Wales"],
["Yorkshire and the Humber", "UKE", "Yorkshire and the Humber"]
],
"fields": [{
"name": "region",
"type": 4,
"width": 100
},{
"name": "region_code",
"type": 4,
"width": 10
},{
"name": "region_name",
"type": 4,
"width": 100
}],
"on": "region"
},{
"name": "union",
"by": "region_code"
},{
"name": "remove_small_polygons",
"minimal_area": 100000
},{
"name": "write_data",
"format": "jvectormap",
"params": {
"code_field": "region_code",
"name_field": "region_name",
"name": "uk_regions"
}
}]
Data source
This map is based on data available at http://www.naturalearthdata.com/downloads/10m-cultural-vectors/10m-admin-1-states-provinces/.
Data is in public domain.