[QGIS Commit] r9799 - trunk/qgis/tests/testdata

svn_qgis at osgeo.org svn_qgis at osgeo.org
Sun Dec 14 12:09:23 EST 2008


Author: timlinux
Date: 2008-12-14 12:09:23 -0500 (Sun, 14 Dec 2008)
New Revision: 9799

Modified:
   trunk/qgis/tests/testdata/expected_maprender.png
   trunk/qgis/tests/testdata/maprender_testdata.qml
Log:
Fix map render unit test

Modified: trunk/qgis/tests/testdata/expected_maprender.png
===================================================================
(Binary files differ)

Modified: trunk/qgis/tests/testdata/maprender_testdata.qml
===================================================================
--- trunk/qgis/tests/testdata/maprender_testdata.qml	2008-12-14 16:23:38 UTC (rev 9798)
+++ trunk/qgis/tests/testdata/maprender_testdata.qml	2008-12-14 17:09:23 UTC (rev 9799)
@@ -1,82 +1,66 @@
 <!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
-<qgis version="0.9.2-Ganymede" >
-  <maplayer minimumScale="1" maximumScale="1e+08" hasScaleBasedVisibilityFlag="0" geometry="Polygon" type="vector" >
-    <id>maprender_testdata20080120093911087</id>
-    <datasource>/tmp/maprender_testdata.shp</datasource>
-    <layername>maprender_testdata</layername>
-    <srs>
-      <spatialrefsys>
-        <proj4>+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs</proj4>
-        <srsid>2585</srsid>
-        <srid>4326</srid>
-        <epsg>4326</epsg>
-        <description>WGS 84</description>
-        <projectionacronym>longlat</projectionacronym>
-        <ellipsoidacronym>WGS84</ellipsoidacronym>
-        <geographicflag>true</geographicflag>
-      </spatialrefsys>
-    </srs>
-    <transparencyLevelInt>255</transparencyLevelInt>
-    <provider>ogr</provider>
-    <encoding>System</encoding>
-    <classificationattribute>Value</classificationattribute>
-    <displayfield>Value</displayfield>
-    <label>0</label>
-    <attributeactions/>
-    <continuoussymbol>
-      <classificationfield>0</classificationfield>
-      <polygonoutline>0</polygonoutline>
-      <lowestsymbol>
-        <symbol>
-          <lowervalue>-180.000000</lowervalue>
-          <uppervalue></uppervalue>
-          <label></label>
-          <pointsymbol>hard:circle</pointsymbol>
-          <pointsize>10</pointsize>
-          <rotationclassificationfield>-1</rotationclassificationfield>
-          <scaleclassificationfield>-1</scaleclassificationfield>
-          <outlinecolor red="0" blue="0" green="0" />
-          <outlinestyle>SolidLine</outlinestyle>
-          <outlinewidth>0</outlinewidth>
-          <fillcolor red="221" blue="77" green="218" />
-          <fillpattern>SolidPattern</fillpattern>
-          <texturepath></texturepath>
-        </symbol>
-      </lowestsymbol>
-      <highestsymbol>
-        <symbol>
-          <lowervalue>180.000000</lowervalue>
-          <uppervalue></uppervalue>
-          <label></label>
-          <pointsymbol>hard:circle</pointsymbol>
-          <pointsize>10</pointsize>
-          <rotationclassificationfield>-1</rotationclassificationfield>
-          <scaleclassificationfield>-1</scaleclassificationfield>
-          <outlinecolor red="0" blue="0" green="0" />
-          <outlinestyle>SolidLine</outlinestyle>
-          <outlinewidth>0</outlinewidth>
-          <fillcolor red="187" blue="20" green="27" />
-          <fillpattern>SolidPattern</fillpattern>
-          <texturepath></texturepath>
-        </symbol>
-      </highestsymbol>
-    </continuoussymbol>
-    <labelattributes>
-      <label field="" text="Rótulo" />
-      <family field="" name="Lucida Grande" />
-      <size field="" units="pt" value="12" />
-      <bold field="" on="0" />
-      <italic field="" on="0" />
-      <underline field="" on="0" />
-      <color field="" red="0" blue="0" green="0" />
-      <x field="" />
-      <y field="" />
-      <offset x="0" y="0" yfield="-1" xfield="-1" units="pt" />
-      <angle field="" value="0" />
-      <alignment field="-1" value="center" />
-      <buffercolor field="" red="255" blue="255" green="255" />
-      <buffersize field="" units="pt" value="1" />
-      <bufferenabled field="" on="" />
-    </labelattributes>
-  </maplayer>
+<qgis version="1.0.0-Kore-trunk" minLabelScale="1" maxLabelScale="1e+08" scaleBasedLabelVisibilityFlag="0" >
+  <classificationattribute>Value</classificationattribute>
+  <edittypes>
+    <edittype type="0" name="Value" />
+  </edittypes>
+  <displayfield>Value</displayfield>
+  <label>0</label>
+  <attributeactions/>
+  <continuoussymbol>
+    <classificationfield>Value</classificationfield>
+    <polygonoutline>0</polygonoutline>
+    <lowestsymbol>
+      <symbol>
+        <lowervalue>-180.000000</lowervalue>
+        <uppervalue></uppervalue>
+        <label></label>
+        <pointsymbol>hard:circle</pointsymbol>
+        <pointsize>2</pointsize>
+        <rotationclassificationfieldname></rotationclassificationfieldname>
+        <scaleclassificationfieldname></scaleclassificationfieldname>
+        <outlinecolor red="182" blue="111" green="174" />
+        <outlinestyle>SolidLine</outlinestyle>
+        <outlinewidth>0.26</outlinewidth>
+        <fillcolor red="182" blue="111" green="174" />
+        <fillpattern>SolidPattern</fillpattern>
+        <texturepath></texturepath>
+      </symbol>
+    </lowestsymbol>
+    <highestsymbol>
+      <symbol>
+        <lowervalue>180.000000</lowervalue>
+        <uppervalue></uppervalue>
+        <label></label>
+        <pointsymbol>hard:circle</pointsymbol>
+        <pointsize>2</pointsize>
+        <rotationclassificationfieldname></rotationclassificationfieldname>
+        <scaleclassificationfieldname></scaleclassificationfieldname>
+        <outlinecolor red="255" blue="29" green="131" />
+        <outlinestyle>SolidLine</outlinestyle>
+        <outlinewidth>0.26</outlinewidth>
+        <fillcolor red="255" blue="29" green="131" />
+        <fillpattern>SolidPattern</fillpattern>
+        <texturepath></texturepath>
+      </symbol>
+    </highestsymbol>
+  </continuoussymbol>
+  <labelattributes>
+    <label fieldname="" text="Label" />
+    <family fieldname="" name="Verdana" />
+    <size fieldname="" units="pt" value="12" />
+    <bold fieldname="" on="0" />
+    <italic fieldname="" on="0" />
+    <underline fieldname="" on="0" />
+    <color fieldname="" red="0" blue="0" green="0" />
+    <x fieldname="" />
+    <y fieldname="" />
+    <offset x="0" y="0" units="pt" yfieldname="" xfieldname="" />
+    <angle fieldname="" value="0" auto="0" />
+    <alignment fieldname="" value="center" />
+    <buffercolor fieldname="" red="255" blue="255" green="255" />
+    <buffersize fieldname="" units="pt" value="1" />
+    <bufferenabled fieldname="" on="" />
+    <multilineenabled fieldname="" on="" />
+  </labelattributes>
 </qgis>



More information about the QGIS-commit mailing list