如何在谷歌地图中获取郊区的纬度和经度边界点
当我们在google maps中键入一个郊区时,它会给subrubs地区的边界和特定颜色的区域.我想做这个确切的事情.但是我需要一种获取郊区边界的经纬度坐标来绘制多边形的方法.
When we type into google maps a suburb, it gives the subrubs region's boundary and the area in a particular colour. I would like to do this exact thing. But I need a way of getting the suburbs boundary latitude and longitude coordinates to draw my polygons.
我相信Google不会公开有关郊区边界的信息.您可以自己将点存储在边界中,并用多边形显示它们.
I believe that Google does not expose the information about the suburb's boundary. You could store the points in boundary yourself, and display them with a Polygon.
对于美国,人口普查局拥有有关大都市边界的信息,请参见 http://www.census.gov/geo/www/cob/
For the US, the Census Bureau has information about metropolitan boundaries, see http://www.census.gov/geo/www/cob/
For Canada, look here: http://geodepot.statcan.gc.ca/2006/180506051805140305/06180505162102/92-160-072305/2006001/200102120519/20010212055_4_1-eng.htm
祝你好运!