Skip To Content

Nearest Neighbor Properties

Resumen

The properties below are returned by the nearestNeighbor object when using Describe on a utility network.

Learn more about filtering what is traced

Propiedades

PropiedadExplicaciónTipo de datos
costNetworkAttributeName
(Sólo lectura)

If the filter nearest function is being used, this is the name of the network attribute that is being used to calculate the cost. If the filter nearest function is not being used, this property returns an empty string.

String
count
(Sólo lectura)

If the filter nearest function is being used, this is the value of the number of features to be returned. If the filter nearest function is not being used, this property returns a -1 value.

Integer
nearestAssets
(Sólo lectura)

The nearestAssets object. If the filter nearest function is being used, these are the asset groups and asset types that will be returned. If the filter nearest function is not being used, this property returns an empty list.

Object
nearestCategories
(Sólo lectura)

If the filter nearest function is being used, these are the names of the categories that will be returned. If the filter nearest function is not being used, this property returns an empty list.

String

En este tema