0

I have an iOS app that uploads coordinates to a server. These coordinates can then be viewed in a map, through Google Maps. This is shown as a simple polyline. However, due to the GPS not being very precise, the polyline is often off-road.

Screenshot

I tried using Google's direction service, but it has a limit on how many requests you can send (and there can be a few thousand points on the polyline).

I have no idea how I can solve this problem. Could anybody help me?

4

1 回答 1

0

我怀疑这样做的唯一方法是手动干预。我能想到以编程方式执行此操作的唯一方法将涉及对方向服务的大量查询(以获得“快速到路”功能),并且可能仍然需要有人检查它是否正确(或至少需要包括一些代码来寻找额外的循环来转弯或绕到没有意义的小路上)。

然而,如果有人从头到尾获得方向,然后拖动它们以匹配轨道,那么获得遵循道路的轨道版本将非常简单。

此线程中讨论的论文可能会给您一些想法

于 2012-07-26T12:51:08.057 回答