Skip to content

Commit 0ff0d5a

Browse files
author
timlinux
committed
Fix map render unit test
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9799 c8812cc2-4d05-0410-92ff-de0c093fc19c
1 parent 5fbda84 commit 0ff0d5a

File tree

2 files changed

+64
-80
lines changed

2 files changed

+64
-80
lines changed

tests/testdata/expected_maprender.png

59 Bytes
Loading

tests/testdata/maprender_testdata.qml

Lines changed: 64 additions & 80 deletions
Original file line numberDiff line numberDiff line change
@@ -1,82 +1,66 @@
11
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
2-
<qgis version="0.9.2-Ganymede" >
3-
<maplayer minimumScale="1" maximumScale="1e+08" hasScaleBasedVisibilityFlag="0" geometry="Polygon" type="vector" >
4-
<id>maprender_testdata20080120093911087</id>
5-
<datasource>/tmp/maprender_testdata.shp</datasource>
6-
<layername>maprender_testdata</layername>
7-
<srs>
8-
<spatialrefsys>
9-
<proj4>+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs</proj4>
10-
<srsid>2585</srsid>
11-
<srid>4326</srid>
12-
<epsg>4326</epsg>
13-
<description>WGS 84</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>Value</displayfield>
24-
<label>0</label>
25-
<attributeactions/>
26-
<continuoussymbol>
27-
<classificationfield>0</classificationfield>
28-
<polygonoutline>0</polygonoutline>
29-
<lowestsymbol>
30-
<symbol>
31-
<lowervalue>-180.000000</lowervalue>
32-
<uppervalue></uppervalue>
33-
<label></label>
34-
<pointsymbol>hard:circle</pointsymbol>
35-
<pointsize>10</pointsize>
36-
<rotationclassificationfield>-1</rotationclassificationfield>
37-
<scaleclassificationfield>-1</scaleclassificationfield>
38-
<outlinecolor red="0" blue="0" green="0" />
39-
<outlinestyle>SolidLine</outlinestyle>
40-
<outlinewidth>0</outlinewidth>
41-
<fillcolor red="221" blue="77" green="218" />
42-
<fillpattern>SolidPattern</fillpattern>
43-
<texturepath></texturepath>
44-
</symbol>
45-
</lowestsymbol>
46-
<highestsymbol>
47-
<symbol>
48-
<lowervalue>180.000000</lowervalue>
49-
<uppervalue></uppervalue>
50-
<label></label>
51-
<pointsymbol>hard:circle</pointsymbol>
52-
<pointsize>10</pointsize>
53-
<rotationclassificationfield>-1</rotationclassificationfield>
54-
<scaleclassificationfield>-1</scaleclassificationfield>
55-
<outlinecolor red="0" blue="0" green="0" />
56-
<outlinestyle>SolidLine</outlinestyle>
57-
<outlinewidth>0</outlinewidth>
58-
<fillcolor red="187" blue="20" green="27" />
59-
<fillpattern>SolidPattern</fillpattern>
60-
<texturepath></texturepath>
61-
</symbol>
62-
</highestsymbol>
63-
</continuoussymbol>
64-
<labelattributes>
65-
<label field="" text="Rótulo" />
66-
<family field="" name="Lucida Grande" />
67-
<size field="" units="pt" value="12" />
68-
<bold field="" on="0" />
69-
<italic field="" on="0" />
70-
<underline field="" on="0" />
71-
<color field="" red="0" blue="0" green="0" />
72-
<x field="" />
73-
<y field="" />
74-
<offset x="0" y="0" yfield="-1" xfield="-1" units="pt" />
75-
<angle field="" value="0" />
76-
<alignment field="-1" value="center" />
77-
<buffercolor field="" red="255" blue="255" green="255" />
78-
<buffersize field="" units="pt" value="1" />
79-
<bufferenabled field="" on="" />
80-
</labelattributes>
81-
</maplayer>
2+
<qgis version="1.0.0-Kore-trunk" minLabelScale="1" maxLabelScale="1e+08" scaleBasedLabelVisibilityFlag="0" >
3+
<classificationattribute>Value</classificationattribute>
4+
<edittypes>
5+
<edittype type="0" name="Value" />
6+
</edittypes>
7+
<displayfield>Value</displayfield>
8+
<label>0</label>
9+
<attributeactions/>
10+
<continuoussymbol>
11+
<classificationfield>Value</classificationfield>
12+
<polygonoutline>0</polygonoutline>
13+
<lowestsymbol>
14+
<symbol>
15+
<lowervalue>-180.000000</lowervalue>
16+
<uppervalue></uppervalue>
17+
<label></label>
18+
<pointsymbol>hard:circle</pointsymbol>
19+
<pointsize>2</pointsize>
20+
<rotationclassificationfieldname></rotationclassificationfieldname>
21+
<scaleclassificationfieldname></scaleclassificationfieldname>
22+
<outlinecolor red="182" blue="111" green="174" />
23+
<outlinestyle>SolidLine</outlinestyle>
24+
<outlinewidth>0.26</outlinewidth>
25+
<fillcolor red="182" blue="111" green="174" />
26+
<fillpattern>SolidPattern</fillpattern>
27+
<texturepath></texturepath>
28+
</symbol>
29+
</lowestsymbol>
30+
<highestsymbol>
31+
<symbol>
32+
<lowervalue>180.000000</lowervalue>
33+
<uppervalue></uppervalue>
34+
<label></label>
35+
<pointsymbol>hard:circle</pointsymbol>
36+
<pointsize>2</pointsize>
37+
<rotationclassificationfieldname></rotationclassificationfieldname>
38+
<scaleclassificationfieldname></scaleclassificationfieldname>
39+
<outlinecolor red="255" blue="29" green="131" />
40+
<outlinestyle>SolidLine</outlinestyle>
41+
<outlinewidth>0.26</outlinewidth>
42+
<fillcolor red="255" blue="29" green="131" />
43+
<fillpattern>SolidPattern</fillpattern>
44+
<texturepath></texturepath>
45+
</symbol>
46+
</highestsymbol>
47+
</continuoussymbol>
48+
<labelattributes>
49+
<label fieldname="" text="Label" />
50+
<family fieldname="" name="Verdana" />
51+
<size fieldname="" units="pt" value="12" />
52+
<bold fieldname="" on="0" />
53+
<italic fieldname="" on="0" />
54+
<underline fieldname="" on="0" />
55+
<color fieldname="" red="0" blue="0" green="0" />
56+
<x fieldname="" />
57+
<y fieldname="" />
58+
<offset x="0" y="0" units="pt" yfieldname="" xfieldname="" />
59+
<angle fieldname="" value="0" auto="0" />
60+
<alignment fieldname="" value="center" />
61+
<buffercolor fieldname="" red="255" blue="255" green="255" />
62+
<buffersize fieldname="" units="pt" value="1" />
63+
<bufferenabled fieldname="" on="" />
64+
<multilineenabled fieldname="" on="" />
65+
</labelattributes>
8266
</qgis>

0 commit comments

Comments
 (0)