通过坐标获取地形类型

发布于 2024-12-19 04:35:27 字数 319 浏览 2 评论 0原文

我正在寻找一种能够通过给定坐标确定景观类型的解决方案,例如检查当前位置是否是水/森林/城镇/道路等。我找到了 google.maps.MapTypeStyleElementType 对象规范 在 Google 地图规范中,但不确定它是否对我有帮助。

也许还有其他具有此类功能的 Maps API?或者也许我应该参考不同类型的离线地图?

I'm looking for a solution to be able determine landscape type by a given coordinate, for example check if current position is water/forest/town/road and so on. I found google.maps.MapTypeStyleElementType object specification in the Google Maps specification, but not sure if it could help me or not.

Probably, there are some another Maps API with such functioality? Or maybe I should refer to the different types of offline maps?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

梦初启 2024-12-26 04:35:27

不,您发送的链接只是为了设计适当的功能,而不是告诉哪个功能位于给定坐标。如果您对景观感兴趣,那么Corine Land Cover就是您正在寻找的东西。它描述了生物群落的类型,如森林、水,还有土地利用——草地、田野、建筑物等。但是,我不知道是否有这样的在线服务可以查询特定的坐标。您的其他解决方案是将这些 GIS 图层(它们是免费提供的)导入您自己的 GIS 地图服务器。也许这个问题已经部分解决,因为有例如项目如何将这些合并到openstreetmap中。

Nope, the link you send is just for styling the proper features, not to tell which feature is at a given coordinate. If you are interested in landscape, then Corine Land Cover is the thing you are looking for. It describes the types of biotops like forest, water, but also land use - meadow, field, buildings etc. However, I don't know if there is such an online service where you could query particular coordinates. Other solution for you would be to import these GIS layers (they are freely available) to your own gis map server. Maybe this is partially solved as there are e.g. projects how to incorporate these into openstreetmap.

嗫嚅 2024-12-26 04:35:27

来接近您要查找的内容

不完全是这样,但是您可以通过使用 Google Reverse Geocoder 和 Google Places API Google Reverse Geocoding
http://code.google.com/apis/maps/documentation/geocoding/ #ReverseGeocoding

如果您向服务发送地理编码,它将发回地址类型和/或多个地址组件之一http://code.google.com/apis/maps/documentation/geocoding/#Types

Google 地方信息 API
http://code.google.com/apis/maps/documentation/places/

您可以使用 Google 地点 API 来搜索附近的内容。如果地理编码位于湖中央,Places API 可能会返回类似“密歇根湖”的内容,然后您就可以清楚地了解地形。

Well not quite, but you could get close to what you're looking for by using the Google Reverse Geocoder and the Google Places API

Google Reverse Geocoding
http://code.google.com/apis/maps/documentation/geocoding/#ReverseGeocoding

If you send the service a geocode it will send back an address type and/or one of several adress components http://code.google.com/apis/maps/documentation/geocoding/#Types

Google Places API
http://code.google.com/apis/maps/documentation/places/

You could use the Google places API to search for for what's near. If the geocode is in the middle of the lake, the Places API may return something like "Lake Michigan" and then you'd know the terrain obviously.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文