How did google get the outline for postcodes on maps?

ぐ巨炮叔叔 提交于 2019-12-22 05:40:48

问题


For example: http://g.co/maps/2dpkj has the outline around the postcode area. I understand this is unavailable through the API , but where else can I get this data, eg in a KML format.

This is for UK Data


回答1:


Most likely Google have a licensing agreement with Ordnance Survey that allows them to use the Code Points with Polygons data - I imagine they've then done some processing of the data to generate a KML file. Depending on your GIS skills and your ability to read the source file (ESRI/MapInfo), you should be able to do the same.

An alternative is to use the Code Point dataset, which has the virtue of being free and is supplied as a CSV file, however you'll need to re-process it to re-generate the polygons. There's a project on Google Code that I think will help you with this, geocoordconversion. Adrian Hills has a blog here on using the DLL with the Code Points dataset.




回答2:


Is this what you're after?

https://www.google.com/fusiontables/data?docid=1jgWYtlqGSPzlIa-is8wl1cZkVIWEm_89rWUwqFU#rows:id=1

There are polygons for each postcode area, which was certainly good enough for my application.




回答3:


Even if I don't know exactly where they got it from I would assume from the TIGER Data.

OK, so what TIGER is for the US is INSPIRE for Europe. INSPIRE claims all European countries to publish their spatial data. I think this directive is already in charge so you should checkout their portal and see if you find what you are looking for.




回答4:


Here is a very useful API to do this now, create complex geo spatial queries(multiple postal districts,etc..)

UK Postal Code(ex. ZE1 0AE) ,Sector, District, City, and Wards Boundaries returns GeoJson, so you can integrate easily in google maps!

Simple monthly subscription model.. quick REST call :

 /boundary/uk?postal-sector=ab16 9&postal-unit=ab16 9uw

Image of the results in GooleMap:



来源:https://stackoverflow.com/questions/9886500/how-did-google-get-the-outline-for-postcodes-on-maps

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