forked from PeterBontinck/QGIS-Layergroup-Filter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
sampleXmlFilter.xml
36 lines (34 loc) · 1.25 KB
/
sampleXmlFilter.xml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<?xml version="1.0"?>
<presets>
<preset name="byDrawing">
<valueRelation>
<Layer>drawings</Layer>
<keyColumn>pkuid</keyColumn>
<valueColumn>name</valueColumn>
</valueRelation>
<operator>=</operator> <!-- =,<,>, <=, >=,like -->
<column>drawing</column>
<autoValueList>True</autoValueList> <!-- auto update filter value pick list -->
</preset>
<preset name="byClass">
<valueRelation>
<Layer>drawings</Layer>
<keyColumn>pkuid</keyColumn>
<valueColumn>class</valueColumn>
</valueRelation>
<operator>=</operator>
<column>drawing</column>
<autoValueList>True</autoValueList> <!-- auto update filter value pick list -->
</preset>
<preset name="by min Linesize">
<operator>></operator>
<column>size</column>
<column>linesize</column> <!-- note that column differs between layers -->
<autoValueList>False</autoValueList> <!-- optional, false by default -->
</preset>
<preset name="in Operator">
<operator>in</operator>
<column>mytextcolumn</column>
<value>'1465', '1483', '1473', '1469', '1467'</value>
</preset>
</presets>