Skip to content
Tasks
- Perform a clustering using the following workflow: https://github.com/SiLeBAT/BfROpenLab…
- Cluster all French primary producers based on their city.
- That means all stations from the same city should be put into one meta-station.
1
2
- A window showing the delivery network opens.
3
- Right click in the graph to open the context menu and select Set Selected Stations.
4
- You should see this dialog now.
- Press the button in the red circle to change the Property value.
5
6
- Now select “FR” as Value, since we want to cluster stations in France.
- Afterwards press Add to add another condition.
7
- For the new condition select “type of business” as Property and “Primary Producer” as Value, since we want to cluster primary producers only.
- Now press OK.
8
- All French primary producers are selected now, which is indicated by the blue color.
9
- Right click in the graph to open the context menu and select Collapse by Property to cluster the selected stations.
10
- Select Yes to only cluster selected stations.
11
- We want to cluster on city level. That means all stations from the same city will be merged.
- Select City and press OK.
12
- Just press OK, since we do not want to exclude any cities.
13
- All French primary producers have been clustered to cities.
- Each selected station (blue circle) is a French city.
14
- Select “Picking” as Editing Mode and click in the graph to deselect all stations.
- You can now see, that one of the stations is yellow. That means, that this station (French city) is connected to all outbreak spots (red circles).
15
- Since the graph looks confusing now, we should reapply the layout algorithm.
- Right click in the graph and select Apply Layout > Fruchterman-Reingold in the context menu.
16
- The stations should be arranged in better way now.
- The layout algorithm is not deterministic, therefore your result will look different from the screenshot.
- To see which city is connected to all outbreak spots double click on the yellow circle.
17
- As you can see in the dialog the city is “Perpignan”.
- Press Switch to GIS to see the city and its relations on a map.