Skip to content

Commit

Permalink
Fix map render unit test
Browse files Browse the repository at this point in the history
git-svn-id: http://svn.osgeo.org/qgis/trunk/qgis@9799 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Dec 14, 2008
1 parent 5fbda84 commit 0ff0d5a
Show file tree
Hide file tree
Showing 2 changed files with 64 additions and 80 deletions.
Binary file modified tests/testdata/expected_maprender.png
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
144 changes: 64 additions & 80 deletions tests/testdata/maprender_testdata.qml
@@ -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>

0 comments on commit 0ff0d5a

Please sign in to comment.