ArcGIS Pro 2.5: what does the number that appear with the output of tools performed inside a model builder indicate for?

2518
13
05-07-2020 07:59 AM
JamalNUMAN
Legendary Contributor

ArcGIS Pro 2.5: what does the number that appear with the output of tools performed inside a model builder indicate for?

 

 

For example, in the screenshot below, when applying the “weight overlay” tool, I observed that there are numbers that appear after the input rasters. What do these numbers indicate for?

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
13 Replies
Robert_LeClair
Esri Notable Contributor

Jamal - I believe you'll find your answer here in this May 15, 2019 GeoNet post.

JamalNUMAN
Legendary Contributor

Thank you Robert for the help.

 

Layers with same names that appear in content pane are numbered as they appear in geoprocessing tools with same sequence

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
JamalNUMAN
Legendary Contributor

What is the “function” of the number in the case below? What does indicate for?

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
Robert_LeClair
Esri Notable Contributor

Jamal - I tested your workflow (that I can determine from your screen shot) outside of ModelBuilder and the :2 values in the Weighted Overlay GP tool do not appear.  This leads me to believe this is a ModelBuilder internal naming process to follow "intermediate data."  Can you provide a screen grab of your Model?

JamalNUMAN
Legendary Contributor

It should be easy to replicate the issue!

 

If the number that follows the name of the layer represents the order of the layer that appear in the content pane (in case of having layers with similar names in the content), then how come this number is “2” in the screenshot below considering the fact that there are no layers in the content that have similar names?

 

All commands are run from inside the model. The layer in the content are added with “add to display” option

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
JamalNUMAN
Legendary Contributor

To make it much clearer, I renamed the outputs that appear in the green box. The Pro is still telling that the number is 2 for layers that appear only one time on the catalog!

 

What could be the issue here? Is this by design or a bug?

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
DanPatterson
MVP Esteemed Contributor

Did you 'refresh' catalog each time?


... sort of retired...
JamalNUMAN
Legendary Contributor

Sometimes, yes i do

----------------------------------------
Jamal Numan
Geomolg Geoportal for Spatial Information
Ramallah, West Bank, Palestine
DanPatterson
MVP Esteemed Contributor

Sometimes? or always?

Maybe its time to move on from modelbuilder to scripts and custom toolboxes


... sort of retired...