For example, I have two layers:
- A polygon layer
city blockwith a ID fieldcity block index. - A point layer
parking lotwith a fieldparking lot size.
I want to know the total parking lot size for each feature in the land use layer, so I use the spatial join function. Here's my workflow:
- Use
join attributes by location (summary)to create a new temporaryjoined layerwho contains a field calledparking lot size_sum. - Go to the property panel of the
city blocklayer and join theparking lot size_sumfield as a new field calledjoined layer_parking lot size_sum. - In the
city blocklayer, create a new field calledtotal parking lot size. - Copy values from
joined layer_parking lot size_sumand paste them intototal parking lot size. - Delete the temporary
joined layer.
All I want to do is to add a new field into the original city block layer by summarizing the parking lot size field. But I have to go through all the steps above. Is there a simpler way to do that?