0

我正在android中创建一个应用程序。我需要使用我收集的数据执行地图匹配。通过推送我收集的数据或在客户端本身具有来自服务器的主数据副本,哪种方式更好地在服务器上执行地图匹配?

4

2 回答 2

0

That depends on the amount of data and process time you your dealing with. In a traditional architecture your server should handle all the heavy load, but depending on the requirements you can decide to process it on the client.

Your should ask yourself questions like: How big is your data? What kind of match do you need to do? How expensive is the operation?

于 2012-08-11T02:34:30.780 回答
0

Map Matching should be done on server as it requires some complex computation. Map Box and Google both have their proprietary Map Matching API's. There is open source OSRM Apis as well.

PS: I see this question is 5 years old and mostly people today already know whats the right way to do it

于 2018-07-11T18:39:12.840 回答