World - country shapes
Published by OpenDataSoft
A geographic dataset providing country boundary shapes together with ISO 3166-1 alpha-2 country codes, covering countries worldwide. It is published via the Opendatasoft public data platform and can be used for mapping, geocoding, or joining other datasets to country-level administrative boundaries using standard ISO codes.Country shapes and Country code ISO 3166-1 alpha-2
Trust score
How is this computed?Weighted across five axes. Tap a ring for what it measures.
Data quality
Data schema (9 fields)
Dictionary: 2 of 9 labelled · 9 described · 0 with a unit · 9 with example values
Click a field to see example values.
| Fill | Field | Type | Description |
|---|---|---|---|
| 100% | geo_point_2dGeo Point | geo_point_2d | Geographic coordinates of the country's centroid.Geographic coordinates of the country's centroid. |
| 100% | geo_shapeShape | geo_shape | Geometric boundary shape of the country as GeoJSON.Geometric boundary shape of the country as GeoJSON. |
| 100% | cntry_nameCountryLabel in English (en), as the source serves it | text | Name of the country or territory.Name of the country or territory. |
| 100% | join_nameJoin name | text | Name used for joining with other datasets.Name used for joining with other datasets. |
| 33.3% | iso2_2Iso2 2 | text | ISO 3166-1 alpha-2 country code (alternate field).ISO 3166-1 alpha-2 country code (alternate field). |
| 64.3% | iso_a2Iso a2 | text | ISO 3166-1 alpha-2 country code.ISO 3166-1 alpha-2 country code. |
| 100% | iso2 | text | ISO 3166-1 alpha-2 country code.ISO 3166-1 alpha-2 country code. |
| 100% | cou_iso3_codeCou iso3 code | text | ISO 3166-1 alpha-3 country code.ISO 3166-1 alpha-3 country code. |
| 100% | iso3 | text | ISO 3166-1 alpha-3 country code.ISO 3166-1 alpha-3 country code. |
Schema captured from opendatasoft 3 days ago.
Query the data
Pick columns and a sort, then fetch a live preview straight from the source. Choose an API-filterable column (marked ▾) under “Where” to pick from its list of values.
Sample data (5 records)
Record 1iso2: VG · iso3: VGB
{
"iso2": "VG",
"iso3": "VGB",
"iso2_2": "VG",
"iso_a2": null,
"geo_shape": {
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
115.82192993164097,
10.711942672729498
],
[
115.82026672363295,
10.712219238281298
],
[
115.81442260742197,
10.724441528320398
],
[
115.82276916503898,
10.731525421142598
],
[
115.83401489257798,
10.730691909789998
],
[
115.84081268310497,
10.721108436584496
],
[
115.82762908935497,
10.717081069946396
],
[
115.82192993164097,
10.711942672729498
]
]
],
[
[
[
114.37220764160197,
9.699720382690487
],
[
114.36943054199197,
9.701387405395618
],
[
114.36831665039097,
9.704998016357479
],
[
114.37024688720697,
9.707775115966738
],
[
114.37359619140598,
9.708332061767688
],
[
114.37776184081997,
9.706108093261829
],
[
114.37719726562497,
9.702775955200138
],
[
114.37220764160197,
9.699720382690487
]
]
]
]
},
"properties": {}
},
"join_name": "Spratly Islands",
"cntry_name": "Spratly Islands",
"geo_point_2d": {
"lat": 10.5629339971,
"lon": 115.59794854
},
"cou_iso3_code": "VGB"
}Record 2iso2: NA · iso3: NA
{
"iso2": "NA",
"iso3": "NA",
"iso2_2": null,
"iso_a2": null,
"geo_shape": {
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
112.33748626708997,
16.943607330322298
],
[
112.33387756347697,
16.943607330322298
],
[
112.33138275146497,
16.945827484130895
],
[
112.33083343505899,
16.949161529541097
],
[
112.33415222167999,
16.951385498046996
],
[
112.33748626708997,
16.949996948242198
],
[
112.33888244628898,
16.946941375732393
],
[
112.33748626708997,
16.943607330322298
]
]
],
[
[
[
112.74720764160197,
16.653606414794897
],
[
112.74192810058597,
16.655273437500096
],
[
112.73532867431697,
16.666870117187496
],
[
112.74713134765598,
16.660549163818395
],
[
112.74720764160197,
16.653606414794897
]
]
],
[
[
[
111.71388244628899,
16.447494506835895
],
[
111.70584869384797,
16.460723876953196
],
[
111.71652221679697,
16.451522827148395
],
[
111.71388244628899,
16.447494506835895
]
]
]
]
},
"properties": {}
},
"join_name": "Paracel Islands",
"cntry_name": "Paracel Islands",
"geo_point_2d": {
"lat": 16.7016881529,
"lon": 112.375558865
},
"cou_iso3_code": "NA"
}Record 3iso2: BW · iso3: BWA
{
"iso2": "BW",
"iso3": "BWA",
"iso2_2": null,
"iso_a2": "BW",
"geo_shape": "[large value omitted]",
"join_name": "Botswana",
"cntry_name": "Botswana",
"geo_point_2d": {
"lat": -22.1820037049,
"lon": 23.8150278309
},
"cou_iso3_code": "BWA"
}Record 4iso2: HK · iso3: HKG
{
"iso2": "HK",
"iso3": "HKG",
"iso2_2": null,
"iso_a2": null,
"geo_shape": {
"type": "Feature",
"geometry": {
"type": "MultiPolygon",
"coordinates": [
[
[
[
114.23203125,
22.210546875000027
],
[
114.20722656250004,
22.195166015625002
],
[
114.13447265625004,
22.292236328124968
],
[
114.24687500000012,
22.263574218749987
],
[
114.23203125,
22.210546875000027
]
]
],
[
[
[
113.99775390625015,
22.21049804687501
],
[
113.87734374999994,
22.21044921875011
],
[
113.83886718749991,
22.241699218750078
],
[
114.04394531250009,
22.3333984375001
],
[
113.99775390625015,
22.21049804687501
]
]
],
[
[
[
114.33525390625002,
22.39624023437502
],
[
114.26796874999994,
22.295556640624934
],
[
113.89648437499997,
22.428173828124947
],
[
114.18818359375015,
22.564990234375127
],
[
114.33525390625002,
22.39624023437502
]
]
]
]
},
"properties": {}
},
"join_name": "Hong Kong",
"cntry_name": "Hong Kong",
"geo_point_2d": {
"lat": 22.3870824159,
"lon": 114.121139933
},
"cou_iso3_code": "HKG"
}Record 5iso2: KM · iso3: COM
{
"iso2": "KM",
"iso3": "COM",
"iso2_2": "KM",
"iso_a2": null,
"geo_shape": "[large value omitted]",
"join_name": "Comoros",
"cntry_name": "Comoros",
"geo_point_2d": {
"lat": -11.89275515,
"lon": 43.6759171207
},
"cou_iso3_code": "COM"
}Live sample captured at profiling time — values may have changed upstream.
Verification Status
Requests to public.opendatasoft.com through this register, last 30 days
Day by day on the status pageUsing the API
Configuration
- Base URL
- https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/country_shapes
License
- ✓ Redistributable
- ○ Attribution required
Query examples
curl -s 'https://public.opendatasoft.com/api/explore/v2.1/catalog/datasets/country_shapes/records?limit=20' -H 'Accept: application/json'First 20 records of the dataset as JSON.
Uses the Opendatasoft Explore v2.1 syntax — supports select, where, group_by and order_by.
Rate limits
Dataset
Volume & freshness
License
No license declared upstream.
Source: opendatasoft
Machine-readable & source
Embed this badge in a README or wiki — it always shows the latest verification state and ranking tier.