I am creating an app for tracking trains. When the train comes near to a railway station the system should identify it.
To do that I want to gather GPS coordinates near the station and save them. Then when trains send GPS coordinates to the system, it will compare saved coordinates and identify the station name ...
How to find all longitude and latitudes (all gps coordinates)within the line from start point to end point?
If line is short (like 100 m long) i want to find all gps points in that line, so that I can save them in a database ..
thats why i want collect gps points in that line