我正在尝试获得英国的地区地图,http://en.wikipedia.org/wiki/Regions_of_England,在GeoJSON格式上使用它在网站上的网络访问地图。有没有地方可以获取不同国家的GeoJSON格式的数据?
发布于 2012-11-22 22:48:57
您可以从以下地址下载英国行政边界:https://www.ordnancesurvey.co.uk/opendatadownload/products.html
向下滚动页面,直到您看到边界线。
您需要使用GIS工具将形状文件转换为geojson。下面是一个分步教程:
http://blog-en.openalfa.com/how-to-add-interactive-maps-to-a-web-site/
条例测量所提供的形状档案有不同程度的详细资料。听起来您只需要转换european_region_region.shp
形状文件。
ogr2ogr -f GeoJSON european_region_region.json european_region_region.shp
编辑:如果你想使用Leaflet、谷歌地图等,别忘了使用convert from Northing/Easting to Lat/Long
ogr2ogr -t_srs WGS84 -f GeoJSON european_region_region.json european_region_region.shp
《条例调查》有一项许可政策,您需要遵守:
https://www.ordnancesurvey.co.uk/oswebsite/docs/licences/os-opendata-licence.pdf
发布于 2015-06-12 18:51:19
有一个有用的github存储库,其中包含从ONS https://github.com/martinjc/UK-GeoJSON转换而来的英国GeoJSON边界数据
英格兰、苏格兰和Wales
使用
由于政府机构“公开”信息的严格许可,北爱是个例外。
发布于 2014-03-21 21:34:52
如果您只需要包含英国边界(包括NI)的GeoJson文件,则只需使用- http://mapit.mysociety.org
北爱LGD (理事会)边界- http://mapit.mysociety.org/areas/LGD.html
https://stackoverflow.com/questions/13455842
复制相似问题