Skip to content

Commit b307f39

Browse files
committed
Added broken qlr file for the test case
1 parent ad49cfb commit b307f39

File tree

1 file changed

+150
-0
lines changed

1 file changed

+150
-0
lines changed

tests/testdata/bug_18981_broken.qlr

+150
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,150 @@
1+
<!DOCTYPE qgis-layer-definition>
2+
<qlr>
3+
<layer-tree-group expanded="1" checked="Qt::Checked" name="">
4+
<customproperties/>
5+
<layer-tree-group expanded="1" checked="Qt::Checked" name="qgis_plugin">
6+
<customproperties/>
7+
<layer-tree-group expanded="0" checked="Qt::Checked" name="Baggrundskort">
8+
<customproperties/>
9+
<layer-tree-layer expanded="1" providerKey="wms" checked="Qt::Checked" id="DTK_D8502016120170201702017020170201702017201801241314424672312" source="IgnoreGetMapUrl=1&amp;contextualWMSLegend=0&amp;crs=EPSG:25832&amp;dpiMode=7&amp;featureCount=10&amp;format=image/png&amp;layers=dtk_d850&amp;styles=&amp;url=http://kortforsyningen.kms.dk/service?servicename%3Dtopo_basis%26client%3DQGIS%26version%3D1.1.1%26login%3Dj%26password%3Dj" name="DTK/D850">
10+
<customproperties/>
11+
</layer-tree-layer>
12+
<layer-tree-layer providerKey="memory" checked="Qt::Checked" expanded="1" name="NewMemory" source="NoGeometry?crs=EPSG:4326&amp;uid={64c9bcbf-cabe-4bd9-9058-2b80ebf87a72}" id="NewMemory_ffa4d8a4_e5be_46a9_a0e0_fb6ee924f3cd">
13+
<customproperties/>
14+
</layer-tree-layer>
15+
</layer-tree-group>
16+
</layer-tree-group>
17+
</layer-tree-group>
18+
<maplayers>
19+
<maplayer minimumScale="0" maximumScale="1e+08" type="raster" hasScaleBasedVisibilityFlag="0">
20+
<extent>
21+
<xmin>120000</xmin>
22+
<ymin>5900000</ymin>
23+
<xmax>1000000</xmax>
24+
<ymax>6500000</ymax>
25+
</extent>
26+
<id>DTK_D8502016120170201702017020170201702017201801241314424672312</id>
27+
<datasource>IgnoreGetMapUrl=1&amp;contextualWMSLegend=0&amp;crs=EPSG:25832&amp;dpiMode=7&amp;featureCount=10&amp;format=image/png&amp;layers=dtk_d850&amp;styles=&amp;url=http://kortforsyningen.kms.dk/service?servicename%3Dtopo_basis%26client%3DQGIS%26version%3D1.1.1%26login%3Dj%26password%3Dj</datasource>
28+
<keywordList>
29+
<value></value>
30+
</keywordList>
31+
<layername>DTK/D850</layername>
32+
<srs>
33+
<spatialrefsys>
34+
<proj4>+proj=utm +zone=32 +ellps=GRS80 +towgs84=0,0,0,0,0,0,0 +units=m +no_defs</proj4>
35+
<srsid>2105</srsid>
36+
<srid>25832</srid>
37+
<authid>EPSG:25832</authid>
38+
<description>ETRS89 / UTM zone 32N</description>
39+
<projectionacronym>utm</projectionacronym>
40+
<ellipsoidacronym>GRS80</ellipsoidacronym>
41+
<geographicflag>false</geographicflag>
42+
</spatialrefsys>
43+
</srs>
44+
<customproperties>
45+
<property key="identify/format" value="Undefined"/>
46+
</customproperties>
47+
<provider>wms</provider>
48+
<noData>
49+
<noDataList bandNo="1" useSrcNoData="0"/>
50+
</noData>
51+
<map-layer-style-manager current="">
52+
<map-layer-style name=""/>
53+
</map-layer-style-manager>
54+
<pipe>
55+
<rasterrenderer opacity="1" alphaBand="-1" band="1" type="singlebandcolordata">
56+
<rasterTransparency/>
57+
</rasterrenderer>
58+
<brightnesscontrast brightness="0" contrast="0"/>
59+
<huesaturation colorizeGreen="128" colorizeOn="0" colorizeRed="255" colorizeBlue="128" grayscaleMode="0" saturation="0" colorizeStrength="100"/>
60+
<rasterresampler maxOversampling="2"/>
61+
</pipe>
62+
<blendMode>0</blendMode>
63+
</maplayer>
64+
<maplayer refreshOnNotifyEnabled="0" readOnly="0" minScale="1e+8" type="vector" autoRefreshTime="0" hasScaleBasedVisibilityFlag="0" geometry="No geometry" autoRefreshEnabled="0" refreshOnNotifyMessage="" maxScale="0">
65+
<id>NewMemory_ffa4d8a4_e5be_46a9_a0e0_fb6ee924f3cd</id>
66+
<datasource>memory?geometry=NoGeometry&amp;crs=EPSG:4326</datasource>
67+
<keywordList>
68+
<value></value>
69+
</keywordList>
70+
<layername>NewMemory</layername>
71+
<srs>
72+
<spatialrefsys>
73+
<proj4>+proj=longlat +datum=WGS84 +no_defs</proj4>
74+
<srsid>3452</srsid>
75+
<srid>4326</srid>
76+
<authid>EPSG:4326</authid>
77+
<description>WGS 84</description>
78+
<projectionacronym>longlat</projectionacronym>
79+
<ellipsoidacronym>WGS84</ellipsoidacronym>
80+
<geographicflag>true</geographicflag>
81+
</spatialrefsys>
82+
</srs>
83+
<resourceMetadata>
84+
<identifier></identifier>
85+
<parentidentifier></parentidentifier>
86+
<language></language>
87+
<type></type>
88+
<title></title>
89+
<abstract></abstract>
90+
<links/>
91+
<fees></fees>
92+
<encoding></encoding>
93+
<crs>
94+
<spatialrefsys>
95+
<proj4></proj4>
96+
<srsid>0</srsid>
97+
<srid>0</srid>
98+
<authid></authid>
99+
<description></description>
100+
<projectionacronym></projectionacronym>
101+
<ellipsoidacronym></ellipsoidacronym>
102+
<geographicflag>false</geographicflag>
103+
</spatialrefsys>
104+
</crs>
105+
<extent/>
106+
</resourceMetadata>
107+
<customproperties/>
108+
<provider encoding="UTF-8">memory</provider>
109+
<vectorjoins/>
110+
<layerDependencies/>
111+
<dataDependencies/>
112+
<legend type="default-vector"/>
113+
<expressionfields/>
114+
<map-layer-style-manager current="predefinito">
115+
<map-layer-style name="predefinito"/>
116+
</map-layer-style-manager>
117+
<auxiliaryLayer/>
118+
<fieldConfiguration/>
119+
<aliases/>
120+
<excludeAttributesWMS/>
121+
<excludeAttributesWFS/>
122+
<defaults/>
123+
<constraints/>
124+
<constraintExpressions/>
125+
<attributeactions>
126+
<defaultAction key="Canvas" value="{00000000-0000-0000-0000-000000000000}"/>
127+
</attributeactions>
128+
<attributetableconfig sortOrder="0" actionWidgetStyle="dropDown" sortExpression="">
129+
<columns/>
130+
</attributetableconfig>
131+
<editform></editform>
132+
<editforminit/>
133+
<editforminitcodesource>0</editforminitcodesource>
134+
<editforminitfilepath></editforminitfilepath>
135+
<editforminitcode><![CDATA[]]></editforminitcode>
136+
<featformsuppress>0</featformsuppress>
137+
<editorlayout>generatedlayout</editorlayout>
138+
<editable/>
139+
<labelOnTop/>
140+
<widgets/>
141+
<conditionalstyles>
142+
<rowstyles/>
143+
<fieldstyles/>
144+
</conditionalstyles>
145+
<expressionfields/>
146+
<previewExpression></previewExpression>
147+
<mapTip></mapTip>
148+
</maplayer>
149+
</maplayers>
150+
</qlr>

0 commit comments

Comments
 (0)