Community of VE/MapPoint Users and Developers
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 ...
| |||||||
| Register | Blogs | FAQ | Members List | Calendar | Search | Today's Posts | Mark Forums Read |
| |||
| Force crossing point 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 |
| |||
| 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 ?
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| 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 |
| |||
| 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.
__________________ rgds, Wilfried Mestdagh www.mestdagh.biz MapPoint coding demo Order MapPoint 2009 with Routing and User Tools Spreadsheet |
| |||
| 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 |
| |||
|
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) |
![]() |
| ||||
| 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 | |
| |
| ||||
| 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 |
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!