Show / Hide Table of Contents

Property NetworkEdgeGeometries

NetworkEdgeGeometries

Gets or sets an ArcGISFeatureTable containing the Polyline geometries that the RouteTask's network is based on. During the re-routing the geometries are used to determine if the current location is on or near the navigation network. The re-routing calculation will be skipped if the current location is off the network. The geometry type of the feature table must Polyline. Default value is null.

Declaration
public ArcGISFeatureTable NetworkEdgeGeometries { get; set; }
Property Value
Type Description
ArcGISFeatureTable

An ArcGISFeatureTable or null.

Remarks

Setting this property is only needed when the RouteTask for the navigation is based on a service. When the RouteTask is based on local data on the device, access to the Polyline geometries is available to the re-routing algorithm automatically. The ArcGISFeatureTable can be the original network source data or one created specifically for checking if located on an edge. If there are multiple sources, the geometries should be merged into a single table.

Only the geometries are needed in the ArcGISFeatureTable, not the attributes.

Online feature service should support pagination, otherwise EnableReroutingAsync(ReroutingParameters, CancellationToken) will throw an exception. To improve performance online feature service should have a MaxRecordCount >= 2000 (this decreases the count of online queries).

Applies to

Platforms and versions
TargetVersions
.NET Standard 2.0100.11 - 200.8
.NET100.13 - 200.8
.NET Windows100.13 - 200.8
.NET Android200.0 - 200.8
.NET iOS200.0 - 200.8
.NET Framework100.11 - 200.8
Xamarin.Android100.11 - 100.15
Xamarin.iOS100.11 - 100.15
UWP100.11 - 200.8
In This Article
Back to top Copyright © 2022 Esri.