Geographic Information Systems Asked by tomchance on December 20, 2020
I have two collections of shapefiles:
1 – postal codes, administrative and political areas
2 – various land use categories like parks & allotments, and points like trees
I want to produce statistics on the area of those land use categories broken down by postal code, admin & political area, and the number of points by the same means. For example, there are 4.1ha of park in SE15, 879 trees in SE22, and so on.
I am using QGIS. I’ve processed my raw data to get all the shapefiles ready, but after much fruitless searching around on this and other web sites I can’t see a way to do this.
The "Join Attributes by Location"
is quite suitable for this purpose.
Suppose we have a Parks and PostCodes shapefiles in the map as shown in display. Parks have an "Area" field and PostCodes have "ZipCode" field. The values are as per the labels displayed in map. We will try to find the sum of area of parks in every zip polygons.
From Vector > Data Management Tools > Select "Join Attributes by Location" tool
Set parameters as shown in figure so that we can find the sum of area of Parks in every PostCode Polygons and also find the sum of Parks in every Polygons.
see field structure below..
From Vector > Data Management Tools > Select "Join Attributes by Location" tool
give attributes as shown in figure so that we can find the sum of area of Parks in every PostCode Polygons and also find the sum of Parks in every Polygons.
The output will be a shapefile identical to the PostCodes shapefile in geometry, but the attributes will be reflect the output of the previous operation.
Answered by vinayan on December 20, 2020
To calculate the area of intersecting polygons:
$area / 1000000
).To get points contained in polygons:
Answered by Simbamangu on December 20, 2020
Here is a very simple way of doing this with QGIS 3.14
You can use the Intersection tool and follow same procedure to avoid null values.
Answered by Gayan Kavirathne on December 20, 2020
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP