Welcome to MapForums!

When you are signed in, this message, the ads in this row, and the red-underlined link ads all go away.

How to get GPS coordinates by interval on the route in mappoint

This is a discussion on How to get GPS coordinates by interval on the route in mappoint within the MapPoint Desktop Discussion forums, part of the Map Forums category; Hi, I need help on how to predict GPS coordinates on the route in mappoint. If I have start point ...

1. Junior Member White Belt
Join Date
Jan 2011
Posts
3

How to get GPS coordinates by interval on the route in mappoint

Hi,
I need help on how to predict GPS coordinates on the route in mappoint. If I have start point A and End Point B. Mappoint can find the best route AB for me. How can I get GPS coordinates by interval (every meter) on route AB. Thank a lot.

2. Senior Member Black Belt
Join Date
Nov 2004
Location
Belgium
Posts
2,433

Re: How to get GPS coordinates by interval on the route in mappoint

Hi,

What you can do is get the coordinates from every waypoint on the route. Of course that is not every meter

3. Re: How to get GPS coordinates by interval on the route in mappoint

By distance, no you can't.
Each direction has its own location stored with it, but this is for the best view for that direction instruction - ie. there is no guarantee that it is even on the road.

The best you can do is, choose "shortest route" (NOT fastest route) and set the rest stops to be every minute. This will mess up your travel time, but the rest stops have locations. Use these for your coordinates.

Richard

4. Junior Member White Belt
Join Date
Jan 2011
Posts
3

Re: How to get GPS coordinates by interval on the route in mappoint

Richard,

Thanks for the suggestion. I try out the method that stopped every minute on the route. The distance between points vary depends on road speed and exits (anywhere from .2 to 5 miles). In my application, I needed the route to be separated on a fixed interval. This method will not work for me.

thanks,
Terry,
Last edited by Eric Frost; 01-18-2011 at 10:10 PM.

5. Re: How to get GPS coordinates by interval on the route in mappoint

Well you can't do what you are asking,then. What is the larger application? There might be a different approach...

Richard

6. Re: How to get GPS coordinates by interval on the route in mappoint

Actually, we have code that does this for Florida municipalities that require handicapped-access at fixed intervals along specific routes. It is tricky stuff.

7. Re: How to get GPS coordinates by interval on the route in mappoint

Could you just adjust the speeds, say make everything 60 miles per hour?

Eric

8. Junior Member White Belt
Join Date
Jan 2011
Posts
3

Re: How to get GPS coordinates by interval on the route in mappoint

I wanted to try by finding the closest point to the route. Starting by a list of points offset from the route starting point, by calculating the distances between those points to the route. The minimum distance (point that intersect with the route would be used as the next point.
This method would require the route direction. Could anybody let me know if we can find the directions on a route ?

thanks

9. Re: How to get GPS coordinates by interval on the route in mappoint

There are direction objects but these are text. You could, possibly use their locations (intended for viewing) as a guide, but in the general case (eg. a road that bends back on itself), I think you are going to have to widen the search space and not rely on "direction hints".

It will also be slow.

Richard