validateNetworkTopology

fun validateNetworkTopology(extent: Envelope, executionType: GeoprocessingExecutionType = GeoprocessingExecutionType.SynchronousExecute): UtilityNetworkValidationJob

Returns a job that when started will validate the utility network topology within the provided extent. The preferred job execution type is com.arcgismaps.tasks.geoprocessing.GeoprocessingExecutionType.SynchronousExecute because it is faster to start up. For larger jobs, com.arcgismaps.tasks.geoprocessing.GeoprocessingExecutionType.SynchronousExecute can lead to timeouts, at which point com.arcgismaps.tasks.geoprocessing.GeoprocessingExecutionType.AsynchronousSubmit should be used.

The job that is returned is dormant and needs to be explicitly started.

When working with an enterprise geodatabase, only a single session can run the validate operation at a time in the default version.

See Enable and validate network topology errors for more information on validation errors.

Return

An com.arcgismaps.tasks.utilitynetworks.UtilityNetworkValidationJob to validate network topology.

Since

200.3.0

Parameters

See also