This tutorial shows you how to categorize a
Statistic
to a
Region.
This can be useful if you want to break down the results of a statistic by region,
or if you want to use a polygon to set an area of interest.
Follow the built-in
Tutorial
to load subscriber data, terrain data and site locations, and then follow the instructions
here
to bring in a KML region file to act as our Area of Interest (AOI).
Your network should now look something like this:
We will now modify the "Coverage by Site" statistic to compute the served subscribers
and the covered area inside and outside our AOI polygon. To do this, we first need
to make a
Categorizer
that represents the AOI. We can do this from the "Statistics" subsection of the
Start Page.
You can reach this by first clicking on Analysis:
Then click on Statistics:
Scroll down this page until you reach the "Categories" section:
Click the Add button to display a list of possible
categorical data source types:
Selecting Categories from Regions will show
you the properties of the new component:
Set the Name property to "AOI", then set
the Region Provider property to point at
the AOI regions you set up earlier on. Finally, set the
Selected Column property to "Name", as above. This configures the categorizer
to use the "Name" attribute of each region from the AOI region provider. As the
AOI has a single polygon, this categorizer will have two different values: one for
the points inside the AOI, and one for points outside the AOI.
We can verify this using the
Data Browser
component. Double-click the AOI entry by double-clicking on it, then move the move
over the AOI boundary:
We can now modify the statistic to take account of the AOI. Return to the Statistic
page and scroll up to the top. Select the "Coverage by Site" statistic from the
pull-down list:
Click the Edit Categories button, and then
double click the "AOI" entry to add it to the set of selected categorizers:
Click OK to return to the Statistics page,
and then click Calculate to generate the table
of results:
The table above is grouped by the "AOI" field. The entries in the expanded group
show the cover inside the AOI polygon only. The entries in the "Unset" group represent
the area cover outside the AOI.
You can learn more about tabular data in Overture
here.