Skip to content

Commit 96f054e

Browse files
committedApr 11, 2019
tests for default mapunits per mm on EPSG:4326
1 parent 679b100 commit 96f054e

File tree

3 files changed

+226
-206
lines changed

3 files changed

+226
-206
lines changed
 

‎tests/src/python/test_qgsserver_wms_getlegendgraphic.py

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -691,6 +691,21 @@ def test_wms_GetLegendGraphic_ScaleSymbol_Max(self):
691691
r, h = self._result(self._execute_request(qs))
692692
self._img_diff_error(r, h, "WMS_GetLegendGraphic_ScaleSymbol_Max", max_size_diff=QSize(15, 15))
693693

694+
def test_wms_GetLegendGraphic_ScaleSymbol_DefaultMapUnitsPerMillimeter(self):
695+
# map units per mm on 1:20000000 with SRCHEIGHT=598&SRCWIDTH=1640&BBOX=16.5,-69.7,73.3,86.1 would be arround what is set as default: 0.359 map units per mm
696+
qs = "?" + "&".join(["%s=%s" % i for i in list({
697+
"MAP": self.testdata_path + 'test_project_scaledsymbols.qgs',
698+
"SERVICE": "WMS",
699+
"REQUEST": "GetLegendGraphic",
700+
"LAYER": "testlayer",
701+
"FORMAT": "image/png",
702+
"CRS": "EPSG:4326"
703+
}.items())])
704+
705+
r, h = self._result(self._execute_request(qs))
706+
self._img_diff_error(r, h, "WMS_GetLegendGraphic_ScaleSymbol_DefaultMapUnitsPerMillimeter", max_size_diff=QSize(15, 15))
707+
708+
694709
def test_wms_GetLegendGraphic_ScaleSymbol_Scaled_2056(self):
695710
# 1:1000 scale on an EPSG:2056
696711
qs = "?" + "&".join(["%s=%s" % i for i in list({
Lines changed: 211 additions & 206 deletions
Original file line numberDiff line numberDiff line change
@@ -1,10 +1,9 @@
1-
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
2-
<qgis projectname="" version="3.5.0-Master">
3-
<homePath path=""/>
1+
<qgis projectname="" version="3.7.0-Master">
2+
<homePath path=""></homePath>
43
<title></title>
5-
<autotransaction active="0"/>
6-
<evaluateDefaultValues active="0"/>
7-
<trust active="0"/>
4+
<autotransaction active="0"></autotransaction>
5+
<evaluateDefaultValues active="0"></evaluateDefaultValues>
6+
<trust active="0"></trust>
87
<projectCrs>
98
<spatialrefsys>
109
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
@@ -18,27 +17,27 @@
1817
</spatialrefsys>
1918
</projectCrs>
2019
<layer-tree-group>
21-
<customproperties/>
22-
<layer-tree-layer providerKey="ogr" expanded="1" checked="Qt::Checked" name="testlayer" id="testlayer_91fbc4ae_de21_417e_b7df_7e0e792194fb" source="./testlayer.shp">
23-
<customproperties/>
20+
<customproperties></customproperties>
21+
<layer-tree-layer checked="Qt::Checked" expanded="1" id="testlayer_91fbc4ae_de21_417e_b7df_7e0e792194fb" name="testlayer" providerKey="ogr" source="./testlayer.shp">
22+
<customproperties></customproperties>
2423
</layer-tree-layer>
2524
<custom-order enabled="0">
2625
<item>testlayer_91fbc4ae_de21_417e_b7df_7e0e792194fb</item>
2726
</custom-order>
2827
</layer-tree-group>
29-
<snapping-settings unit="1" tolerance="12" enabled="0" mode="2" intersection-snapping="0" type="1">
28+
<snapping-settings enabled="0" intersection-snapping="0" mode="2" tolerance="12" type="1" unit="1">
3029
<individual-layer-settings>
31-
<layer-setting units="1" tolerance="12" enabled="0" id="testlayer_91fbc4ae_de21_417e_b7df_7e0e792194fb" type="1"/>
30+
<layer-setting enabled="0" id="testlayer_91fbc4ae_de21_417e_b7df_7e0e792194fb" tolerance="12" type="1" units="1"></layer-setting>
3231
</individual-layer-settings>
3332
</snapping-settings>
34-
<relations/>
33+
<relations></relations>
3534
<mapcanvas annotationsVisible="1" name="theMapCanvas">
3635
<units>degrees</units>
3736
<extent>
38-
<xmin>-11.39541144866212186</xmin>
39-
<ymin>25.30257481872632752</ymin>
40-
<xmax>27.80240601175979265</xmax>
41-
<ymax>64.50039234803233512</ymax>
37+
<xmin>-63.58789942970132358</xmin>
38+
<ymin>4.75690664688434595</ymin>
39+
<xmax>79.9948939927989926</xmax>
40+
<ymax>85.0460605198743167</ymax>
4241
</extent>
4342
<rotation>0</rotation>
4443
<destinationsrs>
@@ -54,91 +53,19 @@
5453
</spatialrefsys>
5554
</destinationsrs>
5655
<rendermaptile>0</rendermaptile>
57-
<expressionContextScope/>
56+
<expressionContextScope></expressionContextScope>
5857
</mapcanvas>
59-
<projectModels/>
58+
<projectModels></projectModels>
6059
<legend updateDrawingOrder="true">
61-
<legendlayer drawingOrder="-1" checked="Qt::Checked" name="testlayer" open="true" showFeatureCount="0">
60+
<legendlayer checked="Qt::Checked" drawingOrder="-1" name="testlayer" open="true" showFeatureCount="0">
6261
<filegroup hidden="false" open="true">
63-
<legendlayerfile isInOverview="0" layerid="testlayer_91fbc4ae_de21_417e_b7df_7e0e792194fb" visible="1"/>
62+
<legendlayerfile isInOverview="0" layerid="testlayer_91fbc4ae_de21_417e_b7df_7e0e792194fb" visible="1"></legendlayerfile>
6463
</filegroup>
6564
</legendlayer>
6665
</legend>
67-
<mapViewDocks/>
68-
<mapcanvas annotationsVisible="1" name="mAreaCanvas">
69-
<units>degrees</units>
70-
<extent>
71-
<xmin>0</xmin>
72-
<ymin>0</ymin>
73-
<xmax>0</xmax>
74-
<ymax>0</ymax>
75-
</extent>
76-
<rotation>0</rotation>
77-
<destinationsrs>
78-
<spatialrefsys>
79-
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
80-
<srsid>3452</srsid>
81-
<srid>4326</srid>
82-
<authid>EPSG:4326</authid>
83-
<description>WGS 84</description>
84-
<projectionacronym>longlat</projectionacronym>
85-
<ellipsoidacronym>WGS84</ellipsoidacronym>
86-
<geographicflag>true</geographicflag>
87-
</spatialrefsys>
88-
</destinationsrs>
89-
<rendermaptile>0</rendermaptile>
90-
<expressionContextScope/>
91-
</mapcanvas>
92-
<mapcanvas annotationsVisible="1" name="mAreaCanvas">
93-
<units>degrees</units>
94-
<extent>
95-
<xmin>0</xmin>
96-
<ymin>0</ymin>
97-
<xmax>0</xmax>
98-
<ymax>0</ymax>
99-
</extent>
100-
<rotation>0</rotation>
101-
<destinationsrs>
102-
<spatialrefsys>
103-
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
104-
<srsid>3452</srsid>
105-
<srid>4326</srid>
106-
<authid>EPSG:4326</authid>
107-
<description>WGS 84</description>
108-
<projectionacronym>longlat</projectionacronym>
109-
<ellipsoidacronym>WGS84</ellipsoidacronym>
110-
<geographicflag>true</geographicflag>
111-
</spatialrefsys>
112-
</destinationsrs>
113-
<rendermaptile>0</rendermaptile>
114-
<expressionContextScope/>
115-
</mapcanvas>
116-
<mapcanvas annotationsVisible="1" name="mAreaCanvas">
117-
<units>degrees</units>
118-
<extent>
119-
<xmin>0</xmin>
120-
<ymin>0</ymin>
121-
<xmax>0</xmax>
122-
<ymax>0</ymax>
123-
</extent>
124-
<rotation>0</rotation>
125-
<destinationsrs>
126-
<spatialrefsys>
127-
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
128-
<srsid>3452</srsid>
129-
<srid>4326</srid>
130-
<authid>EPSG:4326</authid>
131-
<description>WGS 84</description>
132-
<projectionacronym>longlat</projectionacronym>
133-
<ellipsoidacronym>WGS84</ellipsoidacronym>
134-
<geographicflag>true</geographicflag>
135-
</spatialrefsys>
136-
</destinationsrs>
137-
<rendermaptile>0</rendermaptile>
138-
<expressionContextScope/>
139-
</mapcanvas>
66+
<mapViewDocks></mapViewDocks>
14067
<projectlayers>
141-
<maplayer refreshOnNotifyMessage="" geometry="Point" autoRefreshEnabled="0" simplifyAlgorithm="0" simplifyMaxScale="1" minScale="1e+8" readOnly="0" autoRefreshTime="0" styleCategories="AllStyleCategories" hasScaleBasedVisibilityFlag="0" simplifyDrawingTol="1" simplifyLocal="1" refreshOnNotifyEnabled="0" simplifyDrawingHints="0" labelsEnabled="0" type="vector" maxScale="0">
68+
<maplayer autoRefreshEnabled="0" autoRefreshTime="0" geometry="Point" hasScaleBasedVisibilityFlag="0" labelsEnabled="0" maxScale="0" minScale="1e+8" readOnly="0" refreshOnNotifyEnabled="0" refreshOnNotifyMessage="" simplifyAlgorithm="0" simplifyDrawingHints="0" simplifyDrawingTol="1" simplifyLocal="1" simplifyMaxScale="1" styleCategories="AllStyleCategories" type="vector">
14269
<extent>
14370
<xmin>8.20345930703634352</xmin>
14471
<ymin>44.90139483904469131</ymin>
@@ -179,7 +106,7 @@
179106
<email></email>
180107
<role></role>
181108
</contact>
182-
<links/>
109+
<links></links>
183110
<fees></fees>
184111
<encoding></encoding>
185112
<crs>
@@ -195,7 +122,7 @@
195122
</spatialrefsys>
196123
</crs>
197124
<extent>
198-
<spatial maxy="0" maxz="0" dimensions="2" maxx="0" minx="0" minz="0" crs="" miny="0"/>
125+
<spatial crs="" dimensions="2" maxx="0" maxy="0" maxz="0" minx="0" miny="0" minz="0"></spatial>
199126
<temporal>
200127
<period>
201128
<start></start>
@@ -205,147 +132,148 @@
205132
</extent>
206133
</resourceMetadata>
207134
<provider encoding="UTF-8">ogr</provider>
208-
<vectorjoins/>
209-
<layerDependencies/>
210-
<dataDependencies/>
211-
<legend type="default-vector"/>
212-
<expressionfields/>
135+
<vectorjoins></vectorjoins>
136+
<layerDependencies></layerDependencies>
137+
<dataDependencies></dataDependencies>
138+
<legend type="default-vector"></legend>
139+
<expressionfields></expressionfields>
213140
<map-layer-style-manager current="default">
214-
<map-layer-style name="default"/>
141+
<map-layer-style name="default"></map-layer-style>
215142
</map-layer-style-manager>
216-
<auxiliaryLayer/>
143+
<auxiliaryLayer></auxiliaryLayer>
217144
<flags>
218145
<Identifiable>1</Identifiable>
219146
<Removable>1</Removable>
220147
<Searchable>1</Searchable>
221148
</flags>
222-
<renderer-v2 forceraster="0" enableorderby="0" symbollevels="0" type="singleSymbol">
149+
<renderer-v2 enableorderby="0" forceraster="0" symbollevels="0" type="singleSymbol">
223150
<symbols>
224-
<symbol clip_to_extent="1" force_rhr="0" name="0" alpha="1" type="marker">
151+
<symbol alpha="1" clip_to_extent="1" force_rhr="0" name="0" type="marker">
225152
<layer class="SimpleMarker" enabled="1" locked="0" pass="0">
226-
<prop k="angle" v="0"/>
227-
<prop k="color" v="243,166,178,255"/>
228-
<prop k="horizontal_anchor_point" v="1"/>
229-
<prop k="joinstyle" v="bevel"/>
230-
<prop k="name" v="circle"/>
231-
<prop k="offset" v="0,0"/>
232-
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"/>
233-
<prop k="offset_unit" v="MM"/>
234-
<prop k="outline_color" v="35,35,35,255"/>
235-
<prop k="outline_style" v="solid"/>
236-
<prop k="outline_width" v="0"/>
237-
<prop k="outline_width_map_unit_scale" v="3x:0,0,0,0,0,0"/>
238-
<prop k="outline_width_unit" v="MM"/>
239-
<prop k="scale_method" v="diameter"/>
240-
<prop k="size" v="10"/>
241-
<prop k="size_map_unit_scale" v="3x:0,0,1,5,1,100"/>
242-
<prop k="size_unit" v="MapUnit"/>
243-
<prop k="vertical_anchor_point" v="1"/>
153+
<prop k="angle" v="0"></prop>
154+
<prop k="color" v="243,166,178,255"></prop>
155+
<prop k="horizontal_anchor_point" v="1"></prop>
156+
<prop k="joinstyle" v="bevel"></prop>
157+
<prop k="name" v="circle"></prop>
158+
<prop k="offset" v="0,0"></prop>
159+
<prop k="offset_map_unit_scale" v="3x:0,0,0,0,0,0"></prop>
160+
<prop k="offset_unit" v="MM"></prop>
161+
<prop k="outline_color" v="35,35,35,255"></prop>
162+
<prop k="outline_style" v="solid"></prop>
163+
<prop k="outline_width" v="0"></prop>
164+
<prop k="outline_width_map_unit_scale" v="3x:0,0,0,0,0,0"></prop>
165+
<prop k="outline_width_unit" v="MM"></prop>
166+
<prop k="scale_method" v="diameter"></prop>
167+
<prop k="size" v="10"></prop>
168+
<prop k="size_map_unit_scale" v="3x:0,0,1,5,1,100"></prop>
169+
<prop k="size_unit" v="MapUnit"></prop>
170+
<prop k="vertical_anchor_point" v="1"></prop>
244171
<data_defined_properties>
245172
<Option type="Map">
246-
<Option value="" name="name" type="QString"/>
247-
<Option name="properties"/>
248-
<Option value="collection" name="type" type="QString"/>
173+
<Option name="name" type="QString" value=""></Option>
174+
<Option name="properties"></Option>
175+
<Option name="type" type="QString" value="collection"></Option>
249176
</Option>
250177
</data_defined_properties>
251178
</layer>
252179
</symbol>
253180
</symbols>
254-
<rotation/>
255-
<sizescale/>
181+
<rotation></rotation>
182+
<sizescale></sizescale>
256183
</renderer-v2>
257184
<customproperties>
258-
<property value="0" key="embeddedWidgets/count"/>
259-
<property key="variableNames"/>
260-
<property key="variableValues"/>
185+
<property key="embeddedWidgets/count" value="0"></property>
186+
<property key="variableNames"></property>
187+
<property key="variableValues"></property>
261188
</customproperties>
262189
<blendMode>0</blendMode>
263190
<featureBlendMode>0</featureBlendMode>
264191
<layerOpacity>1</layerOpacity>
265192
<SingleCategoryDiagramRenderer attributeLegend="1" diagramType="Histogram">
266-
<DiagramCategory minScaleDenominator="0" penWidth="0" scaleBasedVisibility="0" penColor="#000000" lineSizeScale="3x:0,0,0,0,0,0" height="15" lineSizeType="MM" labelPlacementMethod="XHeight" rotationOffset="270" sizeScale="3x:0,0,0,0,0,0" barWidth="5" minimumSize="0" opacity="1" sizeType="MM" maxScaleDenominator="1e+8" backgroundColor="#ffffff" diagramOrientation="Up" enabled="0" scaleDependency="Area" penAlpha="255" backgroundAlpha="255" width="15">
267-
<fontProperties description="Ubuntu,11,-1,5,50,0,0,0,0,0" style=""/>
193+
<DiagramCategory backgroundAlpha="255" backgroundColor="#ffffff" barWidth="5" diagramOrientation="Up" enabled="0" height="15" labelPlacementMethod="XHeight" lineSizeScale="3x:0,0,0,0,0,0" lineSizeType="MM" maxScaleDenominator="1e+8" minScaleDenominator="0" minimumSize="0" opacity="1" penAlpha="255" penColor="#000000" penWidth="0" rotationOffset="270" scaleBasedVisibility="0" scaleDependency="Area" sizeScale="3x:0,0,0,0,0,0" sizeType="MM" width="15">
194+
<fontProperties description="Ubuntu,11,-1,5,50,0,0,0,0,0" style=""></fontProperties>
195+
<attribute color="#000000" field="" label=""></attribute>
268196
</DiagramCategory>
269197
</SingleCategoryDiagramRenderer>
270-
<DiagramLayerSettings linePlacementFlags="18" priority="0" obstacle="0" dist="0" placement="0" showAll="1" zIndex="0">
198+
<DiagramLayerSettings dist="0" linePlacementFlags="18" obstacle="0" placement="0" priority="0" showAll="1" zIndex="0">
271199
<properties>
272200
<Option type="Map">
273-
<Option value="" name="name" type="QString"/>
274-
<Option name="properties"/>
275-
<Option value="collection" name="type" type="QString"/>
201+
<Option name="name" type="QString" value=""></Option>
202+
<Option name="properties"></Option>
203+
<Option name="type" type="QString" value="collection"></Option>
276204
</Option>
277205
</properties>
278206
</DiagramLayerSettings>
279207
<geometryOptions geometryPrecision="0" removeDuplicateNodes="0">
280-
<activeChecks/>
281-
<checkConfiguration/>
208+
<activeChecks></activeChecks>
209+
<checkConfiguration></checkConfiguration>
282210
</geometryOptions>
283211
<fieldConfiguration>
284212
<field name="id">
285213
<editWidget type="TextEdit">
286214
<config>
287-
<Option/>
215+
<Option></Option>
288216
</config>
289217
</editWidget>
290218
</field>
291219
<field name="name">
292220
<editWidget type="TextEdit">
293221
<config>
294-
<Option/>
222+
<Option></Option>
295223
</config>
296224
</editWidget>
297225
</field>
298226
<field name="utf8nameè">
299227
<editWidget type="TextEdit">
300228
<config>
301-
<Option/>
229+
<Option></Option>
302230
</config>
303231
</editWidget>
304232
</field>
305233
</fieldConfiguration>
306234
<aliases>
307-
<alias field="id" index="0" name=""/>
308-
<alias field="name" index="1" name=""/>
309-
<alias field="utf8nameè" index="2" name=""/>
235+
<alias field="id" index="0" name=""></alias>
236+
<alias field="name" index="1" name=""></alias>
237+
<alias field="utf8nameè" index="2" name=""></alias>
310238
</aliases>
311-
<excludeAttributesWMS/>
312-
<excludeAttributesWFS/>
239+
<excludeAttributesWMS></excludeAttributesWMS>
240+
<excludeAttributesWFS></excludeAttributesWFS>
313241
<defaults>
314-
<default applyOnUpdate="0" field="id" expression=""/>
315-
<default applyOnUpdate="0" field="name" expression=""/>
316-
<default applyOnUpdate="0" field="utf8nameè" expression=""/>
242+
<default applyOnUpdate="0" expression="" field="id"></default>
243+
<default applyOnUpdate="0" expression="" field="name"></default>
244+
<default applyOnUpdate="0" expression="" field="utf8nameè"></default>
317245
</defaults>
318246
<constraints>
319-
<constraint field="id" constraints="0" notnull_strength="0" unique_strength="0" exp_strength="0"/>
320-
<constraint field="name" constraints="0" notnull_strength="0" unique_strength="0" exp_strength="0"/>
321-
<constraint field="utf8nameè" constraints="0" notnull_strength="0" unique_strength="0" exp_strength="0"/>
247+
<constraint constraints="0" exp_strength="0" field="id" notnull_strength="0" unique_strength="0"></constraint>
248+
<constraint constraints="0" exp_strength="0" field="name" notnull_strength="0" unique_strength="0"></constraint>
249+
<constraint constraints="0" exp_strength="0" field="utf8nameè" notnull_strength="0" unique_strength="0"></constraint>
322250
</constraints>
323251
<constraintExpressions>
324-
<constraint exp="" field="id" desc=""/>
325-
<constraint exp="" field="name" desc=""/>
326-
<constraint exp="" field="utf8nameè" desc=""/>
252+
<constraint desc="" exp="" field="id"></constraint>
253+
<constraint desc="" exp="" field="name"></constraint>
254+
<constraint desc="" exp="" field="utf8nameè"></constraint>
327255
</constraintExpressions>
328-
<expressionfields/>
256+
<expressionfields></expressionfields>
329257
<attributeactions>
330-
<defaultAction value="{00000000-0000-0000-0000-000000000000}" key="Canvas"/>
258+
<defaultAction key="Canvas" value="{00000000-0000-0000-0000-000000000000}"></defaultAction>
331259
</attributeactions>
332260
<attributetableconfig actionWidgetStyle="dropDown" sortExpression="" sortOrder="0">
333261
<columns>
334-
<column hidden="0" name="id" width="-1" type="field"/>
335-
<column hidden="0" name="name" width="-1" type="field"/>
336-
<column hidden="0" name="utf8nameè" width="-1" type="field"/>
337-
<column hidden="1" width="-1" type="actions"/>
262+
<column hidden="0" name="id" type="field" width="-1"></column>
263+
<column hidden="0" name="name" type="field" width="-1"></column>
264+
<column hidden="0" name="utf8nameè" type="field" width="-1"></column>
265+
<column hidden="1" type="actions" width="-1"></column>
338266
</columns>
339267
</attributetableconfig>
340268
<conditionalstyles>
341-
<rowstyles/>
342-
<fieldstyles/>
269+
<rowstyles></rowstyles>
270+
<fieldstyles></fieldstyles>
343271
</conditionalstyles>
344272
<editform tolerant="1"></editform>
345-
<editforminit/>
273+
<editforminit></editforminit>
346274
<editforminitcodesource>0</editforminitcodesource>
347275
<editforminitfilepath></editforminitfilepath>
348-
<editforminitcode><![CDATA[# -*- coding: utf-8 -*-
276+
<editforminitcode># -*- coding: utf-8 -*-
349277
"""
350278
QGIS forms can have a Python function that is called when the form is
351279
opened.
@@ -361,79 +289,156 @@ from qgis.PyQt.QtWidgets import QWidget
361289
def my_form_open(dialog, layer, feature):
362290
geom = feature.geometry()
363291
control = dialog.findChild(QWidget, "MyLineEdit")
364-
]]></editforminitcode>
292+
</editforminitcode>
365293
<featformsuppress>0</featformsuppress>
366294
<editorlayout>generatedlayout</editorlayout>
367295
<editable>
368-
<field editable="1" name="id"/>
369-
<field editable="1" name="name"/>
370-
<field editable="1" name="utf8nameè"/>
296+
<field editable="1" name="id"></field>
297+
<field editable="1" name="name"></field>
298+
<field editable="1" name="utf8nameè"></field>
371299
</editable>
372300
<labelOnTop>
373-
<field labelOnTop="0" name="id"/>
374-
<field labelOnTop="0" name="name"/>
375-
<field labelOnTop="0" name="utf8nameè"/>
301+
<field labelOnTop="0" name="id"></field>
302+
<field labelOnTop="0" name="name"></field>
303+
<field labelOnTop="0" name="utf8nameè"></field>
376304
</labelOnTop>
377-
<widgets/>
305+
<widgets></widgets>
378306
<previewExpression>id</previewExpression>
379307
<mapTip></mapTip>
380308
</maplayer>
381309
</projectlayers>
382310
<layerorder>
383-
<layer id="testlayer_91fbc4ae_de21_417e_b7df_7e0e792194fb"/>
311+
<layer id="testlayer_91fbc4ae_de21_417e_b7df_7e0e792194fb"></layer>
384312
</layerorder>
385313
<properties>
386-
<Measure>
387-
<Ellipsoid type="QString">WGS84</Ellipsoid>
388-
</Measure>
389-
<Legend>
390-
<filterByMap type="bool">false</filterByMap>
391-
</Legend>
314+
<WMSServiceAbstract type="QString"></WMSServiceAbstract>
315+
<WMSRootName type="QString"></WMSRootName>
316+
<WCSUrl type="QString"></WCSUrl>
317+
<WMSImageQuality type="int">90</WMSImageQuality>
318+
<WFSUrl type="QString"></WFSUrl>
319+
<WMSServiceTitle type="QString"></WMSServiceTitle>
320+
<WMTSUrl type="QString"></WMTSUrl>
321+
<WMSSegmentizeFeatureInfoGeometry type="bool">false</WMSSegmentizeFeatureInfoGeometry>
322+
<SpatialRefSys>
323+
<ProjectionsEnabled type="int">1</ProjectionsEnabled>
324+
</SpatialRefSys>
325+
<WFSTLayers>
326+
<Insert type="QStringList"></Insert>
327+
<Update type="QStringList"></Update>
328+
<Delete type="QStringList"></Delete>
329+
</WFSTLayers>
392330
<Gui>
393-
<SelectionColorAlphaPart type="int">255</SelectionColorAlphaPart>
394-
<SelectionColorGreenPart type="int">255</SelectionColorGreenPart>
395-
<CanvasColorGreenPart type="int">255</CanvasColorGreenPart>
396-
<SelectionColorRedPart type="int">255</SelectionColorRedPart>
397331
<CanvasColorRedPart type="int">255</CanvasColorRedPart>
332+
<SelectionColorRedPart type="int">255</SelectionColorRedPart>
333+
<SelectionColorGreenPart type="int">255</SelectionColorGreenPart>
398334
<SelectionColorBluePart type="int">0</SelectionColorBluePart>
335+
<SelectionColorAlphaPart type="int">255</SelectionColorAlphaPart>
336+
<CanvasColorGreenPart type="int">255</CanvasColorGreenPart>
399337
<CanvasColorBluePart type="int">255</CanvasColorBluePart>
400338
</Gui>
401-
<PAL>
402-
<ShowingCandidates type="bool">false</ShowingCandidates>
403-
<CandidatesLine type="int">50</CandidatesLine>
404-
<DrawRectOnly type="bool">false</DrawRectOnly>
405-
<ShowingAllLabels type="bool">false</ShowingAllLabels>
406-
<CandidatesPolygon type="int">30</CandidatesPolygon>
407-
<TextFormat type="int">0</TextFormat>
408-
<SearchMethod type="int">0</SearchMethod>
409-
<CandidatesPoint type="int">16</CandidatesPoint>
410-
<ShowingPartialsLabels type="bool">true</ShowingPartialsLabels>
411-
</PAL>
339+
<WMSContactPerson type="QString"></WMSContactPerson>
340+
<WMTSPngLayers>
341+
<Layer type="QStringList"></Layer>
342+
<Project type="bool">false</Project>
343+
<Group type="QStringList"></Group>
344+
</WMTSPngLayers>
345+
<WMTSGrids>
346+
<Config type="QStringList"></Config>
347+
<CRS type="QStringList"></CRS>
348+
</WMTSGrids>
349+
<WFSLayers type="QStringList"></WFSLayers>
350+
<WMSMaxAtlasFeatures type="int">1</WMSMaxAtlasFeatures>
351+
<WMSServiceCapabilities type="bool">false</WMSServiceCapabilities>
352+
<WMSContactMail type="QString"></WMSContactMail>
353+
<WMSUrl type="QString"></WMSUrl>
412354
<PositionPrecision>
413355
<DecimalPlaces type="int">2</DecimalPlaces>
356+
<DegreeFormat type="QString">MU</DegreeFormat>
414357
<Automatic type="bool">true</Automatic>
415358
</PositionPrecision>
359+
<WMSAccessConstraints type="QString">None</WMSAccessConstraints>
360+
<WCSLayers type="QStringList"></WCSLayers>
361+
<Measure>
362+
<Ellipsoid type="QString">WGS84</Ellipsoid>
363+
</Measure>
364+
<WMSKeywordList type="QStringList">
365+
<value></value>
366+
</WMSKeywordList>
367+
<Measurement>
368+
<AreaUnits type="QString">m2</AreaUnits>
369+
<DistanceUnits type="QString">meters</DistanceUnits>
370+
</Measurement>
371+
<WMTSLayers>
372+
<Layer type="QStringList"></Layer>
373+
<Project type="bool">false</Project>
374+
<Group type="QStringList"></Group>
375+
</WMTSLayers>
416376
<Paths>
417377
<Absolute type="bool">false</Absolute>
418378
</Paths>
419-
<Measurement>
420-
<DistanceUnits type="QString"></DistanceUnits>
421-
<AreaUnits type="QString"></AreaUnits>
422-
</Measurement>
379+
<Macros>
380+
<pythonCode type="QString"></pythonCode>
381+
</Macros>
382+
<WMSOnlineResource type="QString"></WMSOnlineResource>
383+
<WMSContactOrganization type="QString"></WMSContactOrganization>
384+
<WMSPrecision type="QString">8</WMSPrecision>
385+
<PAL>
386+
<ShowingCandidates type="bool">false</ShowingCandidates>
387+
<ShowingAllLabels type="bool">false</ShowingAllLabels>
388+
<CandidatesLine type="int">50</CandidatesLine>
389+
<CandidatesPoint type="int">16</CandidatesPoint>
390+
<CandidatesPolygon type="int">30</CandidatesPolygon>
391+
<TextFormat type="int">0</TextFormat>
392+
<DrawRectOnly type="bool">false</DrawRectOnly>
393+
<ShowingPartialsLabels type="bool">true</ShowingPartialsLabels>
394+
<SearchMethod type="int">0</SearchMethod>
395+
</PAL>
396+
<WMSFees type="QString">conditions unknown</WMSFees>
397+
<Legend>
398+
<filterByMap type="bool">false</filterByMap>
399+
</Legend>
400+
<WMTSMinScale type="int">5000</WMTSMinScale>
401+
<WMSUseLayerIDs type="bool">false</WMSUseLayerIDs>
402+
<DefaultStyles>
403+
<ColorRamp type="QString"></ColorRamp>
404+
<Marker type="QString"></Marker>
405+
<Line type="QString"></Line>
406+
<RandomColors type="bool">true</RandomColors>
407+
<Opacity type="double">1</Opacity>
408+
<Fill type="QString"></Fill>
409+
</DefaultStyles>
410+
<WMSContactPhone type="QString"></WMSContactPhone>
411+
<WMTSJpegLayers>
412+
<Layer type="QStringList"></Layer>
413+
<Project type="bool">false</Project>
414+
<Group type="QStringList"></Group>
415+
</WMTSJpegLayers>
416+
<WMSDefaultMapUnitsPerMm type="double">0.359</WMSDefaultMapUnitsPerMm>
417+
<WMSContactPosition type="QString"></WMSContactPosition>
418+
<WMSAddWktGeometry type="bool">false</WMSAddWktGeometry>
423419
</properties>
424-
<visibility-presets/>
425-
<transformContext/>
420+
<visibility-presets></visibility-presets>
421+
<transformContext></transformContext>
426422
<projectMetadata>
427423
<identifier></identifier>
428424
<parentidentifier></parentidentifier>
429425
<language></language>
430426
<type></type>
431427
<title></title>
432428
<abstract></abstract>
433-
<links/>
429+
<contact>
430+
<name></name>
431+
<organization></organization>
432+
<position></position>
433+
<voice></voice>
434+
<fax></fax>
435+
<email></email>
436+
<role></role>
437+
</contact>
438+
<links></links>
434439
<author>David</author>
435440
<creation>2019-02-25T07:28:13</creation>
436441
</projectMetadata>
437-
<Annotations/>
438-
<Layouts/>
439-
</qgis>
442+
<Annotations></Annotations>
443+
<Layouts></Layouts>
444+
</qgis>

0 commit comments

Comments
 (0)
Please sign in to comment.