Hello Friends,
Hoping for some direction on tools or methods to improve my workflow to summarize data. The main issue is that I am manually entering data into a table rather than calculating it. Indeed, I am literally running a query on the attribute table in Arc Pro and manually filling in the resulting count of features into excel - this feels horribly inefficient, and needs to be completely re-done if any of the attributes change.
I am working with a pavement marking dataset. Essentially, it is two featureclasses, lines and points, showing where pavement markings are throughout the city. Some attributes: paint type, colour, ownership, who maintains it (contractor or city staff), etc. Fairly self-explanatory, lines are things like centrelines or stop bars, points are things like turn arrows or bicycle lane symbols.
The method that I would normally use to somewhat-automate the process is to copy the table into excel and then write a formula for each cell in my table. Essentially, a long countifs function in each cell. However, if anything changes in the ArcPro table it would need to be copied into excel again. That's not too bad. However, if the structure of the table changes (different count of columns) then each countifs function would need to be adjusted. I'm fairly confident the tools are available in ArcPro to accomplish the same thing. How can I use ArcPro to do a similar summarizing process?
Description of the summary table in excel I have been manually entering information into:
I look forward to reading your suggestions.
Solved! Go to Solution.
You might look at using the Summary Statistics tool:
https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/summary-statistics.htm
You can use ModelBuilder to iterate through your data to do select by location, select by attribute and run summary stats on the results.
Look at iterators:
and inline variable substitution:
Check out charts and Data engineering.
Thank you for the suggestion, Alfred. I did some exploration with Data Engineering. It seems to give the summary information I am looking for, but doesn't put it into a table like I described. It seems like another method to query the data, but I'm still extracting the result and manually putting it into my table.
You might look at using the Summary Statistics tool:
https://pro.arcgis.com/en/pro-app/latest/tool-reference/analysis/summary-statistics.htm
You can use ModelBuilder to iterate through your data to do select by location, select by attribute and run summary stats on the results.
Look at iterators:
and inline variable substitution:
The model builder seems to be doing the trick. It took some time to get my head around some of the problems (for example, using variables in SQL queries when iterating), but I think this will be a useful tool now that it has been put together.
Appreciate the suggestion.