This element can be used to generate multiple locationsets from location attributes; these are normally invluded for locations in dbf or CSV files. In the example below a locationSet is created Warrington_Fluvial_Catchments_PDM from locationSet UK_Fluvial_Catchments_PDM where the location attribute Centre contains Warrington. By using the subLocationSetIdFunction, multiple locationSets are generated as well for all river_segments that can be found in the locationattribute @River_Segment@.
<locationSet id="Warrington_Fluvial_Catchments_PDM"> <subLocationSetIdFunction>@River_Segment@_Warrington_Model_PDM</subLocationSetIdFunction> <locationSetId>UK_Fluvial_Catchments_PDM</locationSetId> <constraints> <attributeTextContains id="Centre" contains="Warrington"/> </constraints> </locationSet>
Harrison Street PDM
Ewood Blackburn PDM
Pont Y Capel PDM
Manley Hall PDM
Lea Hall PDM
Note that sublocationsets can not be added to other locationsets. So it is adviced to create an overarching locationset (like UK_Fluvial_Catchments_PDM) from which sublocationsets are created by the function.
It is possible to define a label that is presented in the map. For more information, see Explorer.