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.
![]()
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 ...
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.
![]()
Hi,
What you can do is get the coordinates from every waypoint on the route. Of course that is not every meter![]()
rgds, Wilfried Mestdagh
www.mestdagh.biz
www.comfortsoftware.be
www.expertsoftware.be
MapPoint coding demo
MapPoint 2011 available, buy now
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
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
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.
Well you can't do what you are asking,then. What is the larger application? There might be a different approach...
Richard
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
Actually, we have code that does this for Florida municipalities that require handicapped-access at fixed intervals along specific routes. It is tricky stuff.
Could you just adjust the speeds, say make everything 60 miles per hour?
Eric
~ Order MapPoint MapPoint 2011 Here and Get Free Access to the MapForums Downloads ~
~~
~ Upgrade to Get Access to the MapForums Downloads ~
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
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
Winwaed Software Technology LLC
http://www.winwaed.com
See http://www.mapping-tools.com for MapPoint Tools
There are currently 1 users browsing this thread. (0 members and 1 guests)