how to avoid "boulevard peripherique" in itinerary

Anonymous
11-04-2004, 05:32 AM
Hi,

In Paris- France, I want to avoid the "boulevard périphérique" and include streets inside Paris when Mappoint is calculating an itinerary for "Mobylettes".
The Mobylettes cannot take that peripheral roads.


I tried this, but I have always the same itinerary including "Boulevard peripherique".

Any Ideas to help me?





ObjMap.activeroute.DriverProfile.PreferredRoads(ge oRoadInterstate) = 0.2
objMap.activeroute.DriverProfile.PreferredRoads(ge oRoadOtherHighway) = 0.1
ObjMap.activeroute.DriverProfile.PreferredRoads(ge oRoadToll) = 0.2
ObjMap2.activeroute.DriverProfile.ResetPreferredRo ads



Thanks

Aurelia

Winwaed
11-04-2004, 08:19 AM
You should be able to use the polygon route-exclusion ability.
Basically, you create shape object(s) and tell MapPoint to avoid routes that go through these shapes.

Look at the documentation for the Shape object, and set the Avoided property accordingly.

You should be able to set the shapes to be invisible if you want an invisible barrier.

Richard

Anonymous
11-04-2004, 09:37 AM
Hi,

Thanks Richard for your solution


I think it will be very complicated for me to add shapes all around Paris,
create a thousands of junctions to avoid the "Boulevard Périphérique".
That meens also that all the itineraries going from or coming to Paris and crossing the Peripherique will be avoided.

Is there a solution telling Mappoint to continue searching other itineraries each time "Boulevard Périphérique" appears in one of the directions calculated.

I have 2 other solutions:javascript:emoticon(':lol:')
Laughing
- To sell mobylettes and buy cars
- Or allow mobylettes to do their delivery usig the periphérique, and I will I will pay the fine !!

I am joking!!!

Aye Aye Aye !!!!javascript:emoticon(':cry:')
Crying or Very sad

I thought this morning that I was going to have the solution

Before using Mappoint, I had a good solution for that with Map and Guide.
But I think Mappoint is great in many other subjects.


Aurelia

 
Web mp2kmag.com
mapforums.com