I'm looking at Modelbuilder to do this but I'm stumped on how to get it done.
I have a point hosted feature layer. I'd like to select three points within that layer based on the "name attribute". Then, I want to take the values of a certain field, from those selected points and get the mean. Then post that value back up to another hosted feature layer attribute to display in a web map.
In Modelbuilder, I've got the input and output layers. I've created a "select layer by attribute" to get the three points of interest. I then made a "summarize attributes" to take those three points as input, and then output the mean of one of the fields, from those three points. But this is where I'm stuck. I want to store that output value in a variable within Modelbuilder and calc the value of a selected feature in the output layer, that mean value.
What is the best way to do this, if possible? I'm looking at the "variables" in Modelbuilder and not seeing how to output to them from tools such as "summarize attributes", then if that's possible, to use the value of that variable as input to a calc operation on that second layer.
Thanks for looking.
any of the utilities in modelbuilder useful? like calculate value, or collect values?
Examples of using ModelBuilder utilities—ArcGIS Pro | Documentation
I've looked at those and not seeing that they do.