在哪里/如何从Google Maps API获取Polygon数据? [英] Where/How can I get Polygon data from Google Maps API?

查看:113
本文介绍了在哪里/如何从Google Maps API获取Polygon数据?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我真的想保持这个问题的简短,所以..我想知道如果Google地图拥有详细的信息,在这种情况下,我需要多边形(坐标数组)市内的自治市(即麦德林市的 Envigado ,)有没有办法获取这种类型的数据?



编辑:我不确定Google地图是否显示我需要的多边形地理特征的类型,如答案中所述,可能不是,但是一个简单的查询显示有趣的是:

解决方案

除了通过调用反向地理编码器(不会通过Google Maps API提供地图块边界(当前) t返回一个多边形,只是该位置的信息)。 Natural Earth数据集包含国家和州边界,但不包括您正在查找的详细程度。

您可以要求添加此功能(我没有看到一个现有的请求,但您应该在添加之前进行检查):

http://code.google.com/p/gmaps-api-issues/issues/list



我认为这是您要查找的功能请求:



https://code.google.com/p/gmaps-api-issues/issues/detail?id=109


I really want to keep this question short, so.. I'd like to know If Google Maps possesses detailed info, in this case I need the polygon (array of coordinates) for a particular Municipality inside a city (ie. Envigado in the city of Medellin, Co)

Is there a way to obtain this type of data?

EDIT: I'm not sure if Google Maps is displaying the type of polygon geographic feature I need, as stated in an answer maybe not, but a simple query shows something interesting:

解决方案

The boundaries on the map tiles aren't (currently) available through the Google Maps APIs except via calls to the reverse geocoder (which doesn't return a polygon, just the information for that location). The Natural Earth data set contains country and state boundaries, but not the level of detail you are looking for.

You could request that feature be added (I don't see an existing request, but you should check before adding one):

http://code.google.com/p/gmaps-api-issues/issues/list

I think this is the feature request you are looking for:

https://code.google.com/p/gmaps-api-issues/issues/detail?id=109

这篇关于在哪里/如何从Google Maps API获取Polygon数据?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆