创建新的地理地图数据或使用修改后的地图

发布于 2024-12-08 03:12:35 字数 523 浏览 1 评论 0原文

我正在开发一个 iPhone 应用程序,该应用程序需要在有限区域内进行路由,例如公园、历史名胜、热门市场或该国的偏远地区。

鉴于谷歌地图、openstreetmaps 或任何其他地图不应该在我的应用程序应该工作的区域内具有确切的兴趣地点,执行此要求的最佳或可能的方法是什么?

我知道我可以编辑地图(例如 OSM)来标记 POI,但我不希望在未经我许可的情况下更改这些地图(可能我需要在编辑后将它们托管在我的服务器上?)

我还需要提供路由和根据用户当前位置对同一区域的导航支持。根据许可证:

http://code.google.com/intl/ de/apis/maps/iphone/terms.html

如果我使用 Google 地图,则不允许实时路由。

如果我想为该地区创建自己的地图是否可取?

I am working on an iphone application that requires routing within a limited area such as parks, historical places, popular markets or remote areas in the country.

Given that google maps, openstreetmaps or any other maps is not supposed to have the exact places of interest within the area my application is supposed to work, what is the best or possible ways to carry out this requirement ?

I know I can edit the maps (such as OSM) to mark the POIs but I don't want those to change without my permission (possibly I'll require hosting them on my server after editing ?)

I also need to provide routing and navigation support for the same area depending upon the current location of the user. According to the license:

http://code.google.com/intl/de/apis/maps/iphone/terms.html

Real time routing is not allowed if I use Google Maps.

Would it be advisable if I want to create my own map for the area.

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

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

发布评论

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

评论(1

残月升风 2024-12-15 03:12:35

原则上,没有什么可以阻止您获取 OpenStreetMap 数据的某个区域,将其存储在您自己的服务器或设备上,然后就不再从 OpenStreetMap 社区引入任何进一步的更新,从而消除了对 OpenStreetMap 贡献者无需更改内容的任何担忧。您的许可。

在实践中,您需要做一些相当深入的开发工作来构建由一些 OSM 数据支持的 iPhone 应用程序。我不是在描述开箱即用的解决方案。实现此功能时,首先您可以选择栅格格式(表示为平铺图像的地图区域)或矢量格式(osm XML 格式,或者您自己的格式)。实际上,您需要矢量表示来进行路由计算,但您也许可以使用平铺栅格显示,并将路由查询结果作为叠加层。您需要决定是否希望路由计算在设备上运行还是在您自己的服务器上运行。

首先获取一大块 OpenStreetMap 数据,添加到其中,然后将其分开......这很简单:-)

In principle there's nothing to stop you taking an area of OpenStreetMap data, store this on your own server or on the device, and then just don't bring in any further updates from OpenStreetMap community, thereby eliminating any worries about OpenStreetMap contributors changing things without your permission.

In practice you'll be needing to do some fairly in depth development work to build an iPhone app backed by some OSM data. I'm not describing an out-of-the-box solution. When implementing this, firstly you have a choice of raster format (an area of map represented as tile images) or vector format (osm XML format, or you're own format perhaps). Actually you need a vector representation to do routing calculations, but you could perhaps have a tiled raster display with route query results as an overlay. You'd need to decide if you wanted the routing calculations running on-device or running on your own server.

Taking a chunk of OpenStreetMap data in the first place, adding to it, and keeping it separate... That's the easy bit :-)

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