laptop and a wrench

Bogue

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"."

Dernière publication: August 19, 2020 ArcGIS for Desktop
Numéro d’ID de bogue NIM102420
EnvoiJune 9, 2014
Dernière modificationJune 5, 2024
S’applique àArcGIS for Desktop
Version trouvée10.2.1
StatutWill Not Be Addressed

Informations supplémentaires

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.

Solution de contournement

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.

Étapes pour reproduire

ID de bogue: NIM102420

Logiciel:

  • ArcGIS for Desktop

Recevoir une notification lorsque le statut d’un bogue change

Télécharger l’application Esri Support

En savoir plus sur ce sujet

Obtenir de l’aide auprès des experts ArcGIS

Contacter le support technique

Télécharger l’application Esri Support

Accéder aux options de téléchargement