...
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@.
Since 2024.02 it is possible to configure multiple subLocationSetIdFunction elements for a single location set
| Code Block | ||||
|---|---|---|---|---|
| ||||
<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> |
...