This information applies to version and later of StreetDeck.

About Avoidance Areas
Avoidance areas in mappoint allow you to specify regions that the routing engine will avoid when creating a route. StreetDeck can use maps created in mappoint that contain avoidance areas to alter the roads that StreetDeck will use when routing. Note that the portion of the road that travels through an avoidance area will be completely removed from consideration in routing as if that part of the road didn't exist at all. This means that if the avoidance areas make it impossible to create a route, routing will fail altogether.

A map file and therefore avoidance areas can only be specified when starting streetdeck. You can not specify an avoidance area inside the StreetDeck GUI or change the map file once StreetDeck has started. The avoidance areas in the loaded map file should be active until you restart StreetDeck without specifying a map file.

Using Avoidance Areas
To use avoidance areas in StreetDeck, you must use Microsoft Mappoint or Microsoft Streets and Trips to make a map that has one or more avoidance areas. After adding the areas you want to avoid to the map, you should chose File | Save to save the file to a .PTM file.

To load the map with the avoidance areas in StreetDeck, use the command line parameter -Map:<Map FileName> where <Map FileName> specifies the full path of the .PTM file you created earlier.

Assuming you have a file name C:\Users\StreetDeck\Test.ptm, you would load it in StreetDeck in windows by going showing the Run dialog in windows off of the Start menu and putting in the following in the Run dialog, be sure to include the quotation marks:

"C:\Program Files\StreetDeck\StreetDeck.exe" -Map:"C:\Users\StreetDeck\Test.ptm"
Created by , 02-11-2010 at 09:36 AM
0 Comments, 274 Views


Posting Permissions

Posting Permissions
  • You may not create new articles
  • You may not edit articles
  • You may not protect articles
  • You may not post comments
  • You may not post attachments
  • You may not edit your comments