Route Task activity
Hi
I'm using Essentials WF and the RouteTask activity for calculation of areas.
I've set the RouteServiceAreaParameters for the starting point, default breaks ( time) and so on
But,
Where to set the Travel mode information ? ( for having a choice between the different travel mode I got in the Service Area rest point , mainly Driving Time or Walking Time )
Supported Travel Modes:
-
Name: Driving Time
ItemID: 1 -
Name: Driving Distance
ItemID: 2 -
Name: Rural Driving Time
ItemID: 3 -
Name: Rural Driving Distance
ItemID: 4 -
Name: Trucking Time
ItemID: 5 -
Name: Trucking Distance
ItemID: 6 -
Name: Walking Time
ItemID: 7 -
Name: Walking Distance
ItemID: 8
Any help will be appreciated
Kind regards
0
-
Add this in the Custom Parameters of this activity :
New System.Collections.Generic.Dictionary(Of String, String) From { { "travelMode", MyTravelMode } }
freely add other parameters like
{"outputPolygons", "esriNAOutputPolygonSimplified"},{"trimOuterPolygon","true"},{"trimPolygonDistance","100"} , {"trimPolygonDistanceUnits","esriMeters"}
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar