laptop and a wrench

Error

Issue #1 - When using 'Iterate Feature Selection' in Model Builder to select features for the Origin and Destinations locations as inputs into the Add Locations tool, if the input network analysis layer uses an inline variable in its name, the following error message occurs: "ERROR 030059: No sublayers found." Issue #2 - When using the Iterate Feature Selection in Model Builder to select origin features and create a value in which to use in a expression to select destination features from a second feature class, if there is no matching feature in the destination feature class, the following error occurs: "ERROR 030024: Solve returned a failure. Insufficient number of valid locations in "Origins" or "Destinations"."

Última publicación: August 19, 2020 ArcGIS for Desktop
Número de ID del error NIM102420
EnviadoJune 9, 2014
Última modificaciónJune 5, 2024
Relacionado conArcGIS for Desktop
Versión encontrada10.2.1
EstadoWill Not Be Addressed

Información adicional

We apologize that we were unable to address this issue within the current product support cycle.  If the issue continues to affect your work in a supported release, please contact Technical Support.

Solución alternativa

Remove the inline variable from the Origin-Destination (OD) cost matrix layer name. The Make OD Cost Matrix tool does not need to be run each iteration. The user can create the OD Cost Matrix at the beginning of the model with the correct settings, and the same layer can be reused in each iteration without any problems. Add Locations removes the existing data in the layer (as long as Append to Existing Locations is unchecked) and adds new locations each time, and Solve just solves the layer. As long as Add Locations and Solve reference the OD Cost Matrix layer without %Value% in the name, it works fine. This method makes for a cleaner model overall that runs faster and saves memory.

Pasos para reproducir

ID del error: NIM102420

Software:

  • ArcGIS for Desktop

Recibir notificaciones cuando cambie el estado de un error

Descargar la aplicación de soporte de Esri

Descubrir más sobre este tema

Obtener ayuda de expertos en ArcGIS

Contactar con el soporte técnico

Descargar la aplicación de soporte de Esri

Ir a opciones de descarga