Latitude/Longitude dataset for country borders [closed]

℡╲_俬逩灬. 提交于 2019-11-30 11:19:57

问题


I'm writing a program to display the expected lifetime of our product as it relates to average weather conditions in various locations across the globe and I'd like my map to reflect the latest country borders.

Can anyone recommend somewhere to get a dataset of latitude/longitude points for the world's latest country borders?


回答1:


You can get the world country borders for free from Natural Earth:

Natural Earth

Layer Admin 0 contains the country borders




回答2:


I'm aware this question is three years old, but someone might find this useful:

If a somewhat rough outline is acceptable, you may want to have a look at these KML files: https://www.google.com/fusiontables/DataSource?docid=1uL8KJV0bMb7A8-SkrIe0ko2DMtSypHX52DatEE4#rows:id=1

I only needed the Germany file, so I only tested that one, but I found it to be quite satisfying for my purpose. The border is described with about a hundred coordinates and major islands are included as well.

There is also a second set of KMLs which are even more generalised, but include more islands (again, at least for the Germany file): https://www.google.com/fusiontables/data?docid=1zn8cjdD6qlAFI7ALMEnwn89g50weLi1D-bAGSZw#rows:id=1




回答3:


The most accurate dataset that I have found is from "Global Administrative Areas"

http://www.gadm.org/country

You can download files per country in your preferred format. I think it is the dataset used by Google Earth as well.




回答4:


You can use Google's Geocoding service to find the bounds of any country or city area, etc, as discussed in this answer to a similar question - https://stackoverflow.com/a/31305319/243392.




回答5:


I found this https://simplemaps.com/resources/free-country-cities. Hope that helps someone :)



来源:https://stackoverflow.com/questions/13959218/latitude-longitude-dataset-for-country-borders

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!