For example, I have two layers:
- A polygon layer
city block
with a ID fieldcity block index
. - A point layer
parking lot
with 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 layer
who contains a field calledparking lot size_sum
. - Go to the property panel of the
city block
layer and join theparking lot size_sum
field as a new field calledjoined layer_parking lot size_sum
. - In the
city block
layer, create a new field calledtotal parking lot size
. - Copy values from
joined layer_parking lot size_sum
and 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?