PORTAL USER GUIDE
Count Points in Polygons
The Count Points in Polygons tool counts the number of points that intersect with each respective polygon.
Counting the number of points or events within an area is one of the key elements of spatial data aggregation and is a crucial component of the de-identification process for sensitive data such as turning individual health records into counts within predefined areas.
To illustrate this tool in use, we will count the number of TAFEs in each SA4 in Regional NSW.
Select Rest of NSW GCCSA as your area.
Select the following datasets:
- AURIN – National Education Facilities – TAFEs (Point) 2018, selecting all attributes.
- ABS – Data by Region – Population & People (SA4) 2011-2018, selecting all attributes, with a filter date of 2018.
Spatialise the ABS – Data by Region – Population & People (SA4) 2011-2018 dataset by using the Spatialise Aggregated Dataset tool or by selecting Spatialise Dataset from the spanner menu (see below).
Open the Count Points in Polygons tool (Tools→ Spatial Tools → Count Points in Polygons) and enter the following parameters:
- Points Dataset: The dataset containing the points. Select AURIN – National Education Facilities – TAFEs (Point) 2018.
- Polygons Dataset: The dataset containing the polygons. Select the Spatialised Dataset.
- Count Attribute Name: The name of the attribute that will store the output. Select TAFE_COUNT.
The input parameters are summarised in the image below, once complete click Run Tool.
Once the tool has run, click on the Display button in the pop-up dialogue box. This will open the output table, which should look similar to the image below. Here we see an extra column TAFE_COUNT added, illustrating the count of TAFE facilities located in each SA4.