MapPoint Forums

MapForums

Community of VE/MapPoint Users and Developers




Force crossing point

This is a discussion on Force crossing point within the MapPoint 2006/2009 Discussion forums, part of the Map Forums category; Hello I am using mappoint Europe 2004 and access 2003 to map routes from London to France or elsewhere in ...


Go Back   MapPoint Forums > Map Forums > MapPoint 2006/2009 Discussion

Register Blogs FAQ Members List Calendar Search Today's Posts Mark Forums Read
  14 links from elsewhere to this Post. Click to view. #1 (permalink)  
Old 05-05-2007
Junior Member
Yellow Belt
 
Join Date: May 2007
Posts: 28
Force crossing point

Hello

I am using mappoint Europe 2004 and access 2003 to map routes from London to France or elsewhere in continental Europe, the resulting route always uses the “Calais Dover (East)” . My preferred route would by via the Euro Shuttle crossing. I have tried placing a drawing object over Dover and avoiding the object, this results in other sea ferry routes being chosen? Is it possible to force the use of the Shuttle??

Regards
Joe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #2 (permalink)  
Old 05-05-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Re: Force crossing point

Hi,

Maybe the most easy is to set 'via' points at the begin/end points of the shuttle ? Another approach could be to set 'avoided' on all but the shuttle's begin/end points ?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #3 (permalink)  
Old 05-05-2007
Junior Member
Yellow Belt
 
Join Date: May 2007
Posts: 28
Re: Force crossing point

Hi Wilfried

I have attempted to force the crossing using your suggested method. I have also attempted force the crossing by avoiding other ferry terminals, but mappoint insists on finding endless other ferry crossings, which makes it appear that it is not a true crossing point in the 2004 version?

Regards
Joe
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #4 (permalink)  
Old 05-05-2007
Senior Member
Black Belt
 
Join Date: Nov 2004
Posts: 2,055
Re: Force crossing point

Hi Joe,

Strange. Maybe a workaround is to calculate 2 routes ? 1 from start point to startpoint of shuttle, and the second from endpoint of shuttle to destination ?

If you do this from out of your own program the it will be not a problem I guess. If you have to do this from out of the standalone executable then you end up with 2 routes of course which may be not very confortable.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #5 (permalink)  
Old 05-05-2007
Eric Frost's Avatar
Senior Member
Black Belt
 
Join Date: Jul 1992
Posts: 2,304
Blog Entries: 1
Re: Force crossing point

I'm not quite picturing it.

JoeBo -- can you post a ptm file as an attachment ?

Could you set a stop at the shuttle location - this forces the route to go through that point.

If one stop doesn't work, try setting multiple stops along the route? (on either end of the Euro shuttle landing).

I gues you'd have to have some login in Access that says when there is a route with one end in the UK and the other in on continental Europe that it places the(se) extra stop(s) at the shuttle.

Eric
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #6 (permalink)  
Old 05-06-2007
Junior Member
Yellow Belt
 
Join Date: May 2007
Posts: 28
Re: Force crossing point

Hi All
I have attached a ptm for your information. I have tried all suggested mapping methods with exactly the same result. Mappoint fails to find the euro tunnel terminal using the address so the access point to the tunnel is forced through:
(Set Loc = objMap.GetLocation(51.09362, 1.12151, 100))
All other locations are mapped using:
Set Loc = objMap.FindAddressResults(StreetAddress, City, OtherCity, County, Postcode, Country)(1)
Regards
Joe
Attached Files
File Type: zip Map.zip (40.9 KB, 4 views)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
  #7 (permalink)  
Old 05-19-2007
Junior Member
Yellow Belt
 
Join Date: May 2007
Posts: 28
Smile Re: Force crossing point

Hi

I have managed to find the solution to this problem; I posted this query on the Microsoft site and was given much the same reply as Wilfred’s suggested method of placing waypoints at the start and end of the tunnel. Having tried this approach with no success I placed a waypoint mid channel (in the sea directly over the crossing) this had the desired result, forcing the use of the channel tunnel crossing. Code below.

'Code tested on form named "FrmRoute"

Dim mpApp As MapPoint.Application
Dim objMap As MapPoint.Map
Dim objRoute As MapPoint.Route
Dim PP As MapPoint.Pushpin
Dim WP As MapPoint.Waypoint
Dim Loc As MapPoint.Location
Set objMap = Forms.frmRoute.MappointControl3.ActiveMap

Set objRoute = objMap.ActiveRoute
objRoute.Clear

PushPinName = "Collection Address"
StreetAddress = Nz(Forms.frmRoute.Add1)
City = Nz(Forms.frmRoute.Town)
County = Nz(Forms.frmRoute.County)
Postcode = Nz(Forms.frmRoute.PCode)
Country = Nz(Forms.frmRoute.Country)
Set Loc = objMap.FindAddressResults(StreetAddress, City, OtherCity, County, Postcode, Country)(1)
Set PP = objMap.AddPushpin(Loc, PushPinName)
Set WP = objRoute.Waypoints.add(PP)
PushPinName = "Eurotunnel"
Set Loc = objMap.GetLocation(51.03828, 1.48679)
Set PP = objMap.AddPushpin(Loc, PushPinName)
Set WP = objRoute.Waypoints.add(PP)


PushPinName = "Delivery Address"
StreetAddress = Nz(Forms.frmRoute.Add2)
City = Nz(Forms.frmRoute.Town2)
County = Nz(Forms.frmRoute.County2)
Postcode = Nz(Forms.frmRoute.PCode2)
Country = Nz(Forms.frmRoute.Country2)
Set Loc = objMap.FindAddressResults(StreetAddress, City, therCity, County, Postcode, Country)(1)
Set PP = objMap.AddPushpin(Loc, PushPinName)
Set WP = objRoute.Waypoints.add(PP)
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!Spurl this Post!Reddit! Wong this Post!
Reply With Quote
Reply


LinkBacks (?)
LinkBack to this Thread: http://www.mapforums.com/force-crossing-point-5869.html

Posted By For Type Date
A More Compact Method for Obtaining Lat/Long - MapPoint Articles - MP2K Magazine This thread Refback 05-14-2007 01:41 PM
Using MapPoint In Delphi - MapPoint Articles - MP2K Magazine This thread Refback 05-14-2007 01:33 PM
Snap to a Road - MapPoint Articles - MP2K Magazine This thread Refback 05-14-2007 01:24 PM
Delphi Address Verifier - MapPoint Articles - MP2K Magazine This thread Refback 05-14-2007 01:22 PM
Calling MapPoint From C++ Without the MFC Safety Net - MapPoint Articles - MP2K Magazine This thread Refback 05-14-2007 07:40 AM
An API to Control MapPoint 2006 GPS Features - Part I of II - MapPoint Articles - MP2K Magazine This thread Refback 05-10-2007 06:55 PM
Using MapPoint In Delphi - MapPoint Articles - MP2K Magazine This thread Refback 05-10-2007 02:24 PM
Using MapPoint In Delphi - MapPoint Articles - MP2K Magazine This thread Refback 05-10-2007 02:17 PM
MapPoint For Dummies - MP2K Magazine This thread Refback 05-10-2007 01:18 PM
Wisconsin Map and Map of Wisconsin - MapPoint State Map Gallery - MP2K Magazine This thread Refback 05-10-2007 01:17 PM
Extending the MapPoint ActiveX Control - Pt. I - MapPoint Articles - MP2K Magazine This thread Refback 05-09-2007 12:06 PM
Pocket Streets Conversion Tool Made Available - MapPoint News - MP2K Magazine This thread Refback 05-09-2007 11:09 AM
Microsoft MapPoint 2006 - MP2K Magazine This thread Refback 05-09-2007 09:33 AM
Working With Excel and MapPoint - MP2K Magazine This thread Refback 05-08-2007 12:33 AM

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)

 
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 On

Similar Threads

Thread Thread Starter Forum Replies Last Post
Force/unlock scales outside US/EU? vtecy MapPoint 2006/2009 Discussion 3 01-24-2007 07:44 AM
get street numbers of crossing lines Th.M.Mädzulat MapPoint 2006/2009 Discussion 5 02-04-2006 12:21 PM
Map Point Point Of Interest Anonymous MapPoint Web Service and Virtual Earth 1 02-14-2005 08:19 AM
How is possible to force order in Recordset? Anonymous MapPoint 2006/2009 Discussion 0 08-27-2004 03:06 AM
How to find the next crossing street on a route dzhong MapPoint 2006/2009 Discussion 1 03-05-2003 05:20 PM


All times are GMT -5. The time now is 01:49 AM.


Powered by vBulletin® Version 3.7.2
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
MP2K Magazine
Visitor Map

Catered Chalet Ski Holidays
Looking for catered chalet ski holidays? Your search is over! Here at Holiday Hypermarket you can choose your style of accommodation with ease.

Best Travel Agent
Travel Counsellors was recently voted the UK's Best Travel Agent at the Guardian Unlimited travel awards. Book your travel with an award winning travel agent.

Portugal Holiday
For such a small country, you have many options from which to choose. A Portugal Holiday can include fantastic beaches and stunning scenery. Check out our great deals.

Maldives Holidays
If you are looking for a serene, laid back break in the sunshine, Maldives holidays are the choice for you. Be enchanted by the Maldives!

Egypt
In Egypt you find an ancient city buzzing with life. There is an abundance of historical sites to see, not just the pyramids. The Opera House is certainly worth a visit and you can enjoy some open-air theatre too.

Inclusive Holidays
At Travel.co.uk travel comparison will help you plan the perfect inclusive holidays.

Cheap Sharm Holidays
Get info on cheap Sharm holidays at On The Beach, and enjoy Egyptian nightlife!


1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51