车辆跟踪系统正确的路径查找 [英] Vehicle Tracking System correct path finding

查看:97
本文介绍了车辆跟踪系统正确的路径查找的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

你好,
我正在研究车辆追踪系统.我可以在来自数据库的点之间画一条线.每隔10分钟,GPS工具就会向数据库发送一个信号.
当我显示组合这些点的线时,我看到那辆汽车像是穿过建筑物,而不是穿过确切的道路.
我怎么解决这个问题?你有什么建议吗?我应该在Google中搜索哪个关键字?我不知道.
请帮帮我.
Sevcan

Hello,
I''m studying a Vehicle Tracking System. I can draw a line between the points which come from Database.Every 10 minutes GPS tool sents a signal to Database.
When I show the lines which combine the points, I see that car someting like goes through buildings, not the exact road.
How can I solve this problem? Do you have any suggestion? Which keyword I should search in google? I don''t know.
Please help me.
Sevcan

推荐答案

如果您的位置测量值确实相隔10分钟,恐怕对您没有太大帮助.看一下:一辆以50 km/h的速度行驶10分钟(一小时的1/6)的汽车将行驶8.3 km.使用某种路由算法,您可能仅有的机会就是找出汽车从A到B可能采取的所有可能的路线.如果汽车也发送行驶距离,那么您的机会会增加可以将可能的路线长度与实际行驶距离进行比较.

如果可以的话,您可以调整测量间隔.

问候,

-MRB
If your location measurements are really 10 minutes apart, I''m afraid there is not much help for you. Look at it: A car travelling at 50 km/h for 10 minutes (1/6 of an hour) will have travelled 8.3 km. The only chance you might have, using a some routing algorithm, is to find out all the possible routes the car might have taken for getting from A to B. Your chances could improve if the car would also send the distance it drove, as you could compare the possible routes'' length to the actual driving distance.

If it''s possible to do so you could adjust the interval at which the measurements are taken.

Regards,

-MRB


没有Google关键字可以帮助您查找错误.您需要找到它,仅此而已.

我无法想象我们如何根据您的信息为您提供帮助.如果您挖出可疑的代码段,但又找不到解决方法,则可以尝试将其发布并寻求帮助.


请参阅我与Manfred的讨论.我认为这仍然是一个错误(也许是设计错误),正如我在评论中解释的那样.请参阅我对Manfred解决方案的评论,我建议可以采取的措施.我不确定是否可以选择提高时间分辨率.如果是这样,肯定会有所帮助.

—SA
No Google keyword will help you to find a bug. You need to find it, that''s all.

I cannot imagine how could we help you based on your information. If you dig out suspect piece of code but cannot figure out how to fix things, you can try to post it and ask for help.


Please see my discussion with Manfred. I maintain this is still a bug (maybe a design bug) as I explain it in my comments. Please see my comment to the solution by Manfred where I suggest what could be done. I''m not sure if improving of the time resolution is an option. If it is, it would certainly help.

—SA


我的意思是考虑一下我们有一个矩形建筑物,其角分别为A,B,C,D.大约10分钟前,我的车在A拐角处,然后我的车在对角线C处.当我对googlemap.subgurim说时,在A和C之间画一条折线,googlemapsubgurim在对角线上画一条线.这意味着汽车要经过建筑物.
这是不正确的绘图.它无语.车都没走
首先是从A到B,然后是C或
首先是从A到D,然后是C.
我的问题是:如何找到
既不是从A到B,也不是从B到C或
从A到D,后来从D到C.
因为,汽车只能穿过道路,而不能穿过建筑物.
请给我更多评论.
谢谢.
I mean just think about we have a rectangle shape building and its corners are A,B,C,D respectively. My car is on the A corner about 10 minutes ago, and then now my car is on the diagonal corner C. When I say to googlemap.subgurim draw a polyline between A and C, googlemapsubgurim draws a line on the diagonal. That means car someting like goes over the building.
This is not correct drawing. Its meamingless. Car neither goes
firstly from A to B, and then C or
firstly from A to D, and then C.
My question is this: How can I find the point between
neither from A to B,later from B to C or
from A to D,later from D to C.
Because, car only goes the roadway, not not goes over the buildings.
Please give me more comments.
Thank you.


这篇关于车辆跟踪系统正确的路径查找的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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