To store Geo data, I had decided to use the start and end location. But there were some problem:
How can I know which route did he choose?
How can I know the distance of his starting and ending point?
There are also some brainstorm needed about storing it in mongoDB
To resolve these, I thought of introducing checkpoints. On some events, the location data from transport vehicle would be uploaded and the route would be determined from that.
Currently I have two things in mind: intersections & interval
If I go on a straight road, there is no reason to change direction. Only multiple road can disrupt the straight line. So on intersections we will take the new checkpoint.
Also with some time period we will take the location of the vehicle; though we're planning a live location feature but let's keep it this way for now.