Skip to content

Commit bea5c52

Browse files
author
timlinux
committed
Added various qmls to test data for unit testing different renderers
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@7835 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 95932fa commit bea5c52

5 files changed

+422
-0
lines changed

tests/testdata/points.qml

+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
2+
<qgis version="0.9.2-Ganymede" >
3+
<maplayer minScale="0" maxScale="1e+08" scaleBasedVisibilityFlag="0" geometry="Point" type="vector" >
4+
<id>points20080103150949100</id>
5+
<datasource>/Users/timlinux/dev/cpp/qgis_qml/tests/testdata/points.shp</datasource>
6+
<layername>points</layername>
7+
<srs>
8+
<spatialrefsys>
9+
<proj4>+proj=longlat +ellps=WGS84 +no_defs</proj4>
10+
<srsid>1449</srsid>
11+
<srid>4031</srid>
12+
<epsg>4031</epsg>
13+
<description>Unknown datum based upon the GEM 10C ellipsoid</description>
14+
<projectionacronym>longlat</projectionacronym>
15+
<ellipsoidacronym>WGS84</ellipsoidacronym>
16+
<geographicflag>false</geographicflag>
17+
</spatialrefsys>
18+
</srs>
19+
<transparencyLevelInt>255</transparencyLevelInt>
20+
<provider>ogr</provider>
21+
<encoding>System</encoding>
22+
<displayfield>Name</displayfield>
23+
<label>0</label>
24+
<attributeactions/>
25+
<singlesymbol>
26+
<angleclassificationfield>-1</angleclassificationfield>
27+
<scaleclassificationfield>-1</scaleclassificationfield>
28+
<symbol>
29+
<lowervalue></lowervalue>
30+
<uppervalue></uppervalue>
31+
<label></label>
32+
<pointsymbol>hard:circle</pointsymbol>
33+
<pointsize>6</pointsize>
34+
<outlinecolor red="0" blue="0" green="0" />
35+
<outlinestyle>SolidLine</outlinestyle>
36+
<outlinewidth>1</outlinewidth>
37+
<fillcolor red="1" blue="193" green="34" />
38+
<fillpattern>SolidPattern</fillpattern>
39+
<texturepath></texturepath>
40+
</symbol>
41+
</singlesymbol>
42+
<labelattributes>
43+
<label field="" text="Label" />
44+
<family field="" name="Lucida Grande" />
45+
<size field="" units="pt" value="12" />
46+
<bold field="" on="0" />
47+
<italic field="" on="0" />
48+
<underline field="" on="0" />
49+
<color field="" red="0" blue="0" green="0" />
50+
<x field="" />
51+
<y field="" />
52+
<offset x="0" y="0" yfield="-1" xfield="-1" units="pt" />
53+
<angle field="" value="0" />
54+
<alignment field="-1" value="center" />
55+
<buffercolor field="" red="255" blue="255" green="255" />
56+
<buffersize field="" units="pt" value="1" />
57+
<bufferenabled field="" on="" />
58+
</labelattributes>
59+
</maplayer>
60+
</qgis>
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,78 @@
1+
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
2+
<qgis version="0.9.2-Ganymede" >
3+
<maplayer minScale="1" maxScale="1e+08" scaleBasedVisibilityFlag="0" geometry="Point" type="vector" >
4+
<id>points20080103150949100</id>
5+
<datasource>/Users/timlinux/dev/cpp/qgis_qml/tests/testdata/points.shp</datasource>
6+
<layername>points</layername>
7+
<srs>
8+
<spatialrefsys>
9+
<proj4>+proj=longlat +ellps=WGS84 +no_defs</proj4>
10+
<srsid>1449</srsid>
11+
<srid>4031</srid>
12+
<epsg>4031</epsg>
13+
<description>Unknown datum based upon the GEM 10C ellipsoid</description>
14+
<projectionacronym>longlat</projectionacronym>
15+
<ellipsoidacronym>WGS84</ellipsoidacronym>
16+
<geographicflag>true</geographicflag>
17+
</spatialrefsys>
18+
</srs>
19+
<transparencyLevelInt>255</transparencyLevelInt>
20+
<provider>ogr</provider>
21+
<encoding>System</encoding>
22+
<classificationattribute>Value</classificationattribute>
23+
<displayfield>Name</displayfield>
24+
<label>0</label>
25+
<attributeactions/>
26+
<continuoussymbol>
27+
<classificationfield>1</classificationfield>
28+
<polygonoutline>1</polygonoutline>
29+
<lowestsymbol>
30+
<symbol>
31+
<lowervalue>12.000000</lowervalue>
32+
<uppervalue></uppervalue>
33+
<label></label>
34+
<pointsymbol>hard:circle</pointsymbol>
35+
<pointsize>6</pointsize>
36+
<outlinecolor red="255" blue="204" green="216" />
37+
<outlinestyle>SolidLine</outlinestyle>
38+
<outlinewidth>2</outlinewidth>
39+
<fillcolor red="0" blue="0" green="0" />
40+
<fillpattern>NoBrush</fillpattern>
41+
<texturepath></texturepath>
42+
</symbol>
43+
</lowestsymbol>
44+
<highestsymbol>
45+
<symbol>
46+
<lowervalue>233.000000</lowervalue>
47+
<uppervalue></uppervalue>
48+
<label></label>
49+
<pointsymbol>hard:circle</pointsymbol>
50+
<pointsize>6</pointsize>
51+
<outlinecolor red="196" blue="0" green="56" />
52+
<outlinestyle>SolidLine</outlinestyle>
53+
<outlinewidth>2</outlinewidth>
54+
<fillcolor red="0" blue="0" green="0" />
55+
<fillpattern>NoBrush</fillpattern>
56+
<texturepath></texturepath>
57+
</symbol>
58+
</highestsymbol>
59+
</continuoussymbol>
60+
<labelattributes>
61+
<label field="" text="Label" />
62+
<family field="" name="Lucida Grande" />
63+
<size field="" units="pt" value="12" />
64+
<bold field="" on="0" />
65+
<italic field="" on="0" />
66+
<underline field="" on="0" />
67+
<color field="" red="0" blue="0" green="0" />
68+
<x field="" />
69+
<y field="" />
70+
<offset x="0" y="0" yfield="-1" xfield="-1" units="pt" />
71+
<angle field="" value="0" />
72+
<alignment field="-1" value="center" />
73+
<buffercolor field="" red="255" blue="255" green="255" />
74+
<buffersize field="" units="pt" value="1" />
75+
<bufferenabled field="" on="" />
76+
</labelattributes>
77+
</maplayer>
78+
</qgis>
+112
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,112 @@
1+
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
2+
<qgis version="0.9.2-Ganymede" >
3+
<maplayer minScale="1" maxScale="1e+08" scaleBasedVisibilityFlag="0" geometry="Point" type="vector" >
4+
<id>points20080103150949100</id>
5+
<datasource>/Users/timlinux/dev/cpp/qgis_qml/tests/testdata/points.shp</datasource>
6+
<layername>points</layername>
7+
<srs>
8+
<spatialrefsys>
9+
<proj4>+proj=longlat +ellps=WGS84 +no_defs</proj4>
10+
<srsid>1449</srsid>
11+
<srid>4031</srid>
12+
<epsg>4031</epsg>
13+
<description>Unknown datum based upon the GEM 10C ellipsoid</description>
14+
<projectionacronym>longlat</projectionacronym>
15+
<ellipsoidacronym>WGS84</ellipsoidacronym>
16+
<geographicflag>false</geographicflag>
17+
</spatialrefsys>
18+
</srs>
19+
<transparencyLevelInt>255</transparencyLevelInt>
20+
<provider>ogr</provider>
21+
<encoding>System</encoding>
22+
<classificationattribute>Value</classificationattribute>
23+
<displayfield>Name</displayfield>
24+
<label>0</label>
25+
<attributeactions/>
26+
<graduatedsymbol>
27+
<classificationfield>1</classificationfield>
28+
<symbol>
29+
<lowervalue>11.999</lowervalue>
30+
<uppervalue>56.200</uppervalue>
31+
<label></label>
32+
<pointsymbol>hard:circle</pointsymbol>
33+
<pointsize>20</pointsize>
34+
<outlinecolor red="0" blue="0" green="0" />
35+
<outlinestyle>SolidLine</outlinestyle>
36+
<outlinewidth>1</outlinewidth>
37+
<fillcolor red="255" blue="202" green="223" />
38+
<fillpattern>SolidPattern</fillpattern>
39+
<texturepath></texturepath>
40+
</symbol>
41+
<symbol>
42+
<lowervalue>56.200</lowervalue>
43+
<uppervalue>100.400</uppervalue>
44+
<label></label>
45+
<pointsymbol>hard:circle</pointsymbol>
46+
<pointsize>20</pointsize>
47+
<outlinecolor red="0" blue="0" green="0" />
48+
<outlinestyle>SolidLine</outlinestyle>
49+
<outlinewidth>1</outlinewidth>
50+
<fillcolor red="255" blue="80" green="133" />
51+
<fillpattern>SolidPattern</fillpattern>
52+
<texturepath></texturepath>
53+
</symbol>
54+
<symbol>
55+
<lowervalue>100.400</lowervalue>
56+
<uppervalue>144.600</uppervalue>
57+
<label></label>
58+
<pointsymbol>hard:circle</pointsymbol>
59+
<pointsize>20</pointsize>
60+
<outlinecolor red="0" blue="0" green="0" />
61+
<outlinestyle>SolidLine</outlinestyle>
62+
<outlinewidth>1</outlinewidth>
63+
<fillcolor red="255" blue="4" green="81" />
64+
<fillpattern>SolidPattern</fillpattern>
65+
<texturepath></texturepath>
66+
</symbol>
67+
<symbol>
68+
<lowervalue>144.600</lowervalue>
69+
<uppervalue>188.800</uppervalue>
70+
<label></label>
71+
<pointsymbol>hard:circle</pointsymbol>
72+
<pointsize>20</pointsize>
73+
<outlinecolor red="0" blue="0" green="0" />
74+
<outlinestyle>SolidLine</outlinestyle>
75+
<outlinewidth>1</outlinewidth>
76+
<fillcolor red="204" blue="0" green="59" />
77+
<fillpattern>SolidPattern</fillpattern>
78+
<texturepath></texturepath>
79+
</symbol>
80+
<symbol>
81+
<lowervalue>188.800</lowervalue>
82+
<uppervalue>233.001</uppervalue>
83+
<label></label>
84+
<pointsymbol>hard:circle</pointsymbol>
85+
<pointsize>20</pointsize>
86+
<outlinecolor red="0" blue="0" green="0" />
87+
<outlinestyle>SolidLine</outlinestyle>
88+
<outlinewidth>1</outlinewidth>
89+
<fillcolor red="133" blue="0" green="38" />
90+
<fillpattern>SolidPattern</fillpattern>
91+
<texturepath></texturepath>
92+
</symbol>
93+
</graduatedsymbol>
94+
<labelattributes>
95+
<label field="" text="Label" />
96+
<family field="" name="Lucida Grande" />
97+
<size field="" units="pt" value="12" />
98+
<bold field="" on="0" />
99+
<italic field="" on="0" />
100+
<underline field="" on="0" />
101+
<color field="" red="0" blue="0" green="0" />
102+
<x field="" />
103+
<y field="" />
104+
<offset x="0" y="0" yfield="-1" xfield="-1" units="pt" />
105+
<angle field="" value="0" />
106+
<alignment field="-1" value="center" />
107+
<buffercolor field="" red="255" blue="255" green="255" />
108+
<buffersize field="" units="pt" value="1" />
109+
<bufferenabled field="" on="" />
110+
</labelattributes>
111+
</maplayer>
112+
</qgis>
+60
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,60 @@
1+
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
2+
<qgis version="0.9.2-Ganymede" >
3+
<maplayer minScale="0" maxScale="1e+08" scaleBasedVisibilityFlag="0" geometry="Point" type="vector" >
4+
<id>points20080103150949100</id>
5+
<datasource>/Users/timlinux/dev/cpp/qgis_qml/tests/testdata/points.shp</datasource>
6+
<layername>points</layername>
7+
<srs>
8+
<spatialrefsys>
9+
<proj4>+proj=longlat +ellps=WGS84 +no_defs</proj4>
10+
<srsid>1449</srsid>
11+
<srid>4031</srid>
12+
<epsg>4031</epsg>
13+
<description>Unknown datum based upon the GEM 10C ellipsoid</description>
14+
<projectionacronym>longlat</projectionacronym>
15+
<ellipsoidacronym>WGS84</ellipsoidacronym>
16+
<geographicflag>false</geographicflag>
17+
</spatialrefsys>
18+
</srs>
19+
<transparencyLevelInt>255</transparencyLevelInt>
20+
<provider>ogr</provider>
21+
<encoding>System</encoding>
22+
<displayfield>Name</displayfield>
23+
<label>0</label>
24+
<attributeactions/>
25+
<singlesymbol>
26+
<angleclassificationfield>-1</angleclassificationfield>
27+
<scaleclassificationfield>-1</scaleclassificationfield>
28+
<symbol>
29+
<lowervalue></lowervalue>
30+
<uppervalue></uppervalue>
31+
<label></label>
32+
<pointsymbol>hard:circle</pointsymbol>
33+
<pointsize>6</pointsize>
34+
<outlinecolor red="0" blue="0" green="0" />
35+
<outlinestyle>SolidLine</outlinestyle>
36+
<outlinewidth>1</outlinewidth>
37+
<fillcolor red="1" blue="193" green="34" />
38+
<fillpattern>SolidPattern</fillpattern>
39+
<texturepath></texturepath>
40+
</symbol>
41+
</singlesymbol>
42+
<labelattributes>
43+
<label field="" text="Label" />
44+
<family field="" name="Lucida Grande" />
45+
<size field="" units="pt" value="12" />
46+
<bold field="" on="0" />
47+
<italic field="" on="0" />
48+
<underline field="" on="0" />
49+
<color field="" red="0" blue="0" green="0" />
50+
<x field="" />
51+
<y field="" />
52+
<offset x="0" y="0" yfield="-1" xfield="-1" units="pt" />
53+
<angle field="" value="0" />
54+
<alignment field="-1" value="center" />
55+
<buffercolor field="" red="255" blue="255" green="255" />
56+
<buffersize field="" units="pt" value="1" />
57+
<bufferenabled field="" on="" />
58+
</labelattributes>
59+
</maplayer>
60+
</qgis>

0 commit comments

Comments
 (0)