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"."
上次发布: August 19, 2020ArcGIS for Desktop
漏洞 ID 编号
NIM102420
已提交
June 9, 2014
上次修改时间
June 5, 2024
适用范围
ArcGIS for Desktop
找到的版本
10.2.1
状态
Will Not Be Addressed
开发团队已考虑过该问题或请求,并决定不会解决该问题。 问题的“其他信息”部分可能包含进一步说明。
附加信息
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.
解决办法
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.