Country Borders provides a complete list of countries together with the land border countries (the neighbouring countries). The data come in form of CSV format, and you can easily import into any relational database for query. Furthermore, this data use ISO3166-1 for the country code allowing you to retrieve and use the information with ease.
The data file: GEODATASOURCE-COUNTRY-BORDERS.CSV
Below are the fields supported in the Country Borders.
|country_code||Two-character country code based on ISO 3166.|
|country_name||Name of country.|
|country_border_code||Two-character country code based on ISO 3166.|
|country_border_name||Name of country border.|
The Country Borders data is licensed under Creative Commons Attribution-ShareAlike 4.0 International License. It is free for personal or commercial use with attribution required by mentioning the use of this data as follows,
This site or product includes Country Borders data available from https://www.geodatasource.com.