Sponsored links

Go Back   MP3Car.com > Mp3Car Technical > Software & Software Development


Reply
 
Share Thread Tools Display Modes
Old 12-16-2006, 08:19 PM   #1
Low Bitrate
 
VBWizz's Avatar
 
Join Date: Aug 2004
Location: Cleveland , OHIO
Posts: 77
VBWizz is on a distinguished road
An attempt to fix MapPoint Highway rerouting

Hey Guys

I have been trying for a while to get mappoint to route from a location on a highway and as every one knows it just draws a line to the nearest road and then the route is way off.

Here is what I came up with.

In the RouteAfterCalculate event I check the Directions Instructions for all the directions if the First One Contains Local Road(s) then I am assuming I am on a freeway ( I know Assumtion is the key to all F**k ups) But any way.
after that I iterate all the directions untill I find one that says take ramp
which would mean that puts me back on the freeway.. I use the locaiton object of that direction as my starting point. and calculate the route but that does not seem to work.

any body have any ideas..
__________________
LilliPut Housing Complete
MAP POINT WITH EARTH MATE
TV/FM/XM
1.7 GHZ 500MB RAM , 60 GB HD
SLIM LINE DVD DRIVE
FRONT END: CUSTOM A.N.D.I. - M.P
VBWizz is offline   Reply With Quote
Advertisement
 
Advertisement
Sponsored links

Old 12-26-2006, 04:33 PM   #2
Low Bitrate
 
VBWizz's Avatar
 
Join Date: Aug 2004
Location: Cleveland , OHIO
Posts: 77
VBWizz is on a distinguished road
Quote: Originally Posted by VBWizz View Post
Hey Guys

I have been trying for a while to get mappoint to route from a location on a highway and as every one knows it just draws a line to the nearest road and then the route is way off.

Here is what I came up with.

In the RouteAfterCalculate event I check the Directions Instructions for all the directions if the First One Contains Local Road(s) then I am assuming I am on a freeway ( I know Assumtion is the key to all F**k ups) But any way.
after that I iterate all the directions untill I find one that says take ramp
which would mean that puts me back on the freeway.. I use the locaiton object of that direction as my starting point. and calculate the route but that does not seem to work.

any body have any ideas..


Ok So I got the above to work, Any body have an Idea how to draw a line from the current location to the that of the starting point. I and I mean not a strieght line, but a line that snaps to the road..
__________________
LilliPut Housing Complete
MAP POINT WITH EARTH MATE
TV/FM/XM
1.7 GHZ 500MB RAM , 60 GB HD
SLIM LINE DVD DRIVE
FRONT END: CUSTOM A.N.D.I. - M.P
VBWizz is offline   Reply With Quote
Old 12-27-2006, 10:43 AM   #3
Low Bitrate
 
RickS's Avatar
 
Join Date: Nov 2005
Location: Bethesda, MD
Posts: 86
RickS is on a distinguished road
If someone knows how to do this, I'd love to see it. Apparently this is what MS has done with S&T...if you look closely when you are on the highway and create a route it creates a triangle between your location, the closest local road, and the first on ramp on your route.
RickS is offline   Reply With Quote
Old 12-27-2006, 05:14 PM   #4
Low Bitrate
 
VBWizz's Avatar
 
Join Date: Aug 2004
Location: Cleveland , OHIO
Posts: 77
VBWizz is on a distinguished road
You Know I found a snap to road Function On one of the mappoint web sites however it is in Delphi, and I dont understand it.. If i can find a C# or VB version, that may be a good starting point..
__________________
LilliPut Housing Complete
MAP POINT WITH EARTH MATE
TV/FM/XM
1.7 GHZ 500MB RAM , 60 GB HD
SLIM LINE DVD DRIVE
FRONT END: CUSTOM A.N.D.I. - M.P
VBWizz is offline   Reply With Quote
Sponsored links
Advertisement
 
Advertisement
Reply

Bookmarks

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
mappoint wont install on network chewEboy GPS 4 01-24-2006 06:39 PM
BMv2 Mappoint 800 * 480 .Skin Files IntellaWorks RR Skins 0 11-14-2005 04:03 PM
RR 3-30-05 ... Mappoint ... guino Road Runner 122 04-06-2005 01:47 AM
GPS and MapPoint 2004 questions. wampa MediaCar 3 07-15-2004 06:40 PM
Some warnings about Deluo Routis 2004, MapPoint 2004 & XPort dumpper GPS 13 07-15-2004 01:07 AM



All times are GMT -5. The time now is 01:52 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO 3.3.2
Copyright © 1999 - 2008 Mp3Car.com Inc.Ad Management by RedTyger
Message Board Statistics