Click here to Skip to main content
15,896,063 members
Please Sign up or sign in to vote.
2.50/5 (2 votes)
See more:
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
Posted
Comments
Sergey Alexandrovich Kryukov 29-May-11 13:48pm    
Not enough info.
--SA

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
 
Share this answer
 
v3
Comments
Sergey Alexandrovich Kryukov 29-May-11 14:52pm    
Yes and no. You correctly point out that the problem is lack if essential detail in information. You cannot restore the exact root it you don't have enough intermediate points. My 5 for this note. First, let me note that if you enhance the time resolution, uncertain situations will be eliminated but not 100% of them in 100% of situations. Imagine that a car is moving faster around some finer street structure. (Yes, I understand that the driver can get a ticket, but what is not. Isn't that what happens in action movies when somebody is trying to leave a crime scene? :-)

However, this is not an excuse for showing the car running through a building. This is still a bug. I don't know how to handle such situations. Maybe, routing algorithm should select most likely but uncertain path and show it in different color. Something like that, but not running through buildings, for goodness sake :-)
--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.

[EDIT]
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
 
Share this answer
 
v2
Comments
Manfred Rudolf Bihy 29-May-11 14:09pm    
I think you missed the point, SA. Please see my solution for more information.
Sergey Alexandrovich Kryukov 29-May-11 14:55pm    
I updated my answer and commented on yours, please see.
--SA
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.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900