简体   繁体   中英

Populating a field with the count of another field

I preformed a one to many join with a buildings layer (one) and a table of internal cameras (many). This produced a table with multiple records per building.

Now, I would like to label the buildings based on the number of cameras joined to a building. For example, a building with 8 cameras would be labeled 8.

How would I to populate a field with the number of cameras in each building? Any recommendations?

Use the 'Summary statistics' geoprocessing tool on your internal cameras table to generate a count per some unique id that exists in your building table. Then you can join and calculate the result back to your building table.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM