-
Notifications
You must be signed in to change notification settings - Fork 4
/
Varying Line Thickness Styles.xml
208 lines (208 loc) · 10.3 KB
/
Varying Line Thickness Styles.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
<!DOCTYPE qgis_style>
<qgis_style version="2">
<symbols>
<symbol force_rhr="0" name="Variable_Line_Thickness_Generated_Points" alpha="1" clip_to_extent="1" type="fill">
<layer pass="0" locked="0" enabled="1" class="SimpleFill">
<prop v="3x:0,0,0,0,0,0" k="border_width_map_unit_scale"/>
<prop v="255,234,91,255" k="color"/>
<prop v="bevel" k="joinstyle"/>
<prop v="0,0" k="offset"/>
<prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/>
<prop v="MM" k="offset_unit"/>
<prop v="35,35,35,255" k="outline_color"/>
<prop v="no" k="outline_style"/>
<prop v="0.26" k="outline_width"/>
<prop v="MM" k="outline_width_unit"/>
<prop v="solid" k="style"/>
<data_defined_properties>
<Option type="Map">
<Option value="" name="name" type="QString"/>
<Option name="properties"/>
<Option value="collection" name="type" type="QString"/>
</Option>
</data_defined_properties>
</layer>
<layer pass="0" locked="0" enabled="1" class="RandomMarkerFill">
<prop v="1" k="clip_points"/>
<prop v="1" k="count_method"/>
<prop v="250" k="density_area"/>
<prop v="MM" k="density_area_unit"/>
<prop v="3x:0,0,0,0,0,0" k="density_area_unit_scale"/>
<prop v="10" k="point_count"/>
<prop v="242428201" k="seed"/>
<data_defined_properties>
<Option type="Map">
<Option value="" name="name" type="QString"/>
<Option name="properties"/>
<Option value="collection" name="type" type="QString"/>
</Option>
</data_defined_properties>
<symbol force_rhr="0" name="@Variable_Line_Thickness_Generated_Points@1" alpha="1" clip_to_extent="1" type="marker">
<layer pass="0" locked="0" enabled="1" class="SimpleMarker">
<prop v="0" k="angle"/>
<prop v="255,241,127,255" k="color"/>
<prop v="1" k="horizontal_anchor_point"/>
<prop v="bevel" k="joinstyle"/>
<prop v="circle" k="name"/>
<prop v="0,0" k="offset"/>
<prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/>
<prop v="MM" k="offset_unit"/>
<prop v="35,35,35,255" k="outline_color"/>
<prop v="no" k="outline_style"/>
<prop v="0" k="outline_width"/>
<prop v="3x:0,0,0,0,0,0" k="outline_width_map_unit_scale"/>
<prop v="MM" k="outline_width_unit"/>
<prop v="diameter" k="scale_method"/>
<prop v="3.8" k="size"/>
<prop v="3x:0,0,0,0,0,0" k="size_map_unit_scale"/>
<prop v="MM" k="size_unit"/>
<prop v="1" k="vertical_anchor_point"/>
<data_defined_properties>
<Option type="Map">
<Option value="" name="name" type="QString"/>
<Option name="properties"/>
<Option value="collection" name="type" type="QString"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</layer>
<layer pass="1" locked="0" enabled="1" class="GeometryGenerator">
<prop v="Fill" k="SymbolType"/>
<prop v="-- Generating new vertex points at intervall 100 projected units
-- Style best suited for objects less than about 10 k (CRS units)
smooth(
buffer_by_m(
geom_from_wkt('LINESTRING M ('||
array_to_string(
array_foreach(
 generate_series(1,$perimeter/100,1),
 to_int(x(line_interpolate_point( $geometry, @element*100)))
 || ' '
 || to_int(y(line_interpolate_point( $geometry, @element*100)))
 || ' '
 || ( scale_linear( distance(line_interpolate_point( $geometry, @element*100),
 pole_of_inaccessibility($geometry,3))
 ,0,5000,200,50))
 )
,', ')
||')')
)
,7)" k="geometryModifier"/>
<data_defined_properties>
<Option type="Map">
<Option value="" name="name" type="QString"/>
<Option name="properties"/>
<Option value="collection" name="type" type="QString"/>
</Option>
</data_defined_properties>
<symbol force_rhr="0" name="@Variable_Line_Thickness_Generated_Points@2" alpha="1" clip_to_extent="1" type="fill">
<layer pass="0" locked="0" enabled="1" class="SimpleFill">
<prop v="3x:0,0,0,0,0,0" k="border_width_map_unit_scale"/>
<prop v="0,0,0,255" k="color"/>
<prop v="bevel" k="joinstyle"/>
<prop v="0,0" k="offset"/>
<prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/>
<prop v="MM" k="offset_unit"/>
<prop v="35,35,35,255" k="outline_color"/>
<prop v="no" k="outline_style"/>
<prop v="0.26" k="outline_width"/>
<prop v="MM" k="outline_width_unit"/>
<prop v="solid" k="style"/>
<data_defined_properties>
<Option type="Map">
<Option value="" name="name" type="QString"/>
<Option name="properties"/>
<Option value="collection" name="type" type="QString"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</layer>
</symbol>
<symbol force_rhr="0" name="Variable_Line_Thickness_Vertex_Points" alpha="1" clip_to_extent="1" type="fill">
<layer pass="0" locked="0" enabled="1" class="SimpleFill">
<prop v="3x:0,0,0,0,0,0" k="border_width_map_unit_scale"/>
<prop v="255,234,91,255" k="color"/>
<prop v="bevel" k="joinstyle"/>
<prop v="0,0" k="offset"/>
<prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/>
<prop v="MM" k="offset_unit"/>
<prop v="35,35,35,255" k="outline_color"/>
<prop v="no" k="outline_style"/>
<prop v="0.26" k="outline_width"/>
<prop v="MM" k="outline_width_unit"/>
<prop v="solid" k="style"/>
<data_defined_properties>
<Option type="Map">
<Option value="" name="name" type="QString"/>
<Option name="properties"/>
<Option value="collection" name="type" type="QString"/>
</Option>
</data_defined_properties>
</layer>
<layer pass="0" locked="0" enabled="1" class="RandomMarkerFill">
<prop v="1" k="clip_points"/>
<prop v="1" k="count_method"/>
<prop v="250" k="density_area"/>
<prop v="MM" k="density_area_unit"/>
<prop v="3x:0,0,0,0,0,0" k="density_area_unit_scale"/>
<prop v="10" k="point_count"/>
<prop v="242428201" k="seed"/>
<data_defined_properties>
<Option type="Map">
<Option value="" name="name" type="QString"/>
<Option name="properties"/>
<Option value="collection" name="type" type="QString"/>
</Option>
</data_defined_properties>
<symbol force_rhr="0" name="@Variable_Line_Thickness_Vertex_Points@1" alpha="1" clip_to_extent="1" type="marker">
<layer pass="0" locked="0" enabled="1" class="SimpleMarker">
<prop v="0" k="angle"/>
<prop v="255,241,127,255" k="color"/>
<prop v="1" k="horizontal_anchor_point"/>
<prop v="bevel" k="joinstyle"/>
<prop v="circle" k="name"/>
<prop v="0,0" k="offset"/>
<prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/>
<prop v="MM" k="offset_unit"/>
<prop v="35,35,35,255" k="outline_color"/>
<prop v="no" k="outline_style"/>
<prop v="0" k="outline_width"/>
<prop v="3x:0,0,0,0,0,0" k="outline_width_map_unit_scale"/>
<prop v="MM" k="outline_width_unit"/>
<prop v="diameter" k="scale_method"/>
<prop v="3.8" k="size"/>
<prop v="3x:0,0,0,0,0,0" k="size_map_unit_scale"/>
<prop v="MM" k="size_unit"/>
<prop v="1" k="vertical_anchor_point"/>
<data_defined_properties>
<Option type="Map">
<Option value="" name="name" type="QString"/>
<Option name="properties"/>
<Option value="collection" name="type" type="QString"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</layer>
<layer pass="1" locked="0" enabled="1" class="GeometryGenerator">
<prop v="Fill" k="SymbolType"/>
<prop v="-- Using vertex points to generate lines. Not as smooth but faster.
smooth(
buffer_by_m(
geom_from_wkt('LINESTRING M ('||
array_to_string(
array_foreach(
 generate_series(1, num_points( $geometry)),
 to_int(x( point_n($geometry, @element) ))
 || ' '
 || to_int(y(point_n($geometry, @element)))
 || ' '
 || ( scale_linear( distance(point_n($geometry, @element),
 pole_of_inaccessibility($geometry,3))
 ,0,5000,200,50))
)
,', ')
||')')
)
,2)" k="geometryModifier"/>
<data_defined_properties>
<Option type="Map">
<Option value="" name="name" type="QString"/>
<Option name="properties"/>
<Option value="collection" name="type" type="QString"/>
</Option>
</data_defined_properties>
<symbol force_rhr="0" name="@Variable_Line_Thickness_Vertex_Points@2" alpha="1" clip_to_extent="1" type="fill">
<layer pass="0" locked="0" enabled="1" class="SimpleFill">
<prop v="3x:0,0,0,0,0,0" k="border_width_map_unit_scale"/>
<prop v="0,0,0,255" k="color"/>
<prop v="bevel" k="joinstyle"/>
<prop v="0,0" k="offset"/>
<prop v="3x:0,0,0,0,0,0" k="offset_map_unit_scale"/>
<prop v="MM" k="offset_unit"/>
<prop v="35,35,35,255" k="outline_color"/>
<prop v="no" k="outline_style"/>
<prop v="0.26" k="outline_width"/>
<prop v="MM" k="outline_width_unit"/>
<prop v="solid" k="style"/>
<data_defined_properties>
<Option type="Map">
<Option value="" name="name" type="QString"/>
<Option name="properties"/>
<Option value="collection" name="type" type="QString"/>
</Option>
</data_defined_properties>
</layer>
</symbol>
</layer>
</symbol>
</symbols>
<colorramps/>
<textformats/>
<labelsettings/>
</qgis_style>