Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fix map render unit test
git-svn-id: http://svn.osgeo.org/qgis/trunk@9799 c8812cc2-4d05-0410-92ff-de0c093fc19c
  • Loading branch information
timlinux committed Dec 14, 2008
1 parent 6de112a commit a5f41f3
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'> <!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
<qgis version="0.9.2-Ganymede" > <qgis version="1.0.0-Kore-trunk" minLabelScale="1" maxLabelScale="1e+08" scaleBasedLabelVisibilityFlag="0" >
<maplayer minimumScale="1" maximumScale="1e+08" hasScaleBasedVisibilityFlag="0" geometry="Polygon" type="vector" > <classificationattribute>Value</classificationattribute>
<id>maprender_testdata20080120093911087</id> <edittypes>
<datasource>/tmp/maprender_testdata.shp</datasource> <edittype type="0" name="Value" />
<layername>maprender_testdata</layername> </edittypes>
<srs> <displayfield>Value</displayfield>
<spatialrefsys> <label>0</label>
<proj4>+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs</proj4> <attributeactions/>
<srsid>2585</srsid> <continuoussymbol>
<srid>4326</srid> <classificationfield>Value</classificationfield>
<epsg>4326</epsg> <polygonoutline>0</polygonoutline>
<description>WGS 84</description> <lowestsymbol>
<projectionacronym>longlat</projectionacronym> <symbol>
<ellipsoidacronym>WGS84</ellipsoidacronym> <lowervalue>-180.000000</lowervalue>
<geographicflag>true</geographicflag> <uppervalue></uppervalue>
</spatialrefsys> <label></label>
</srs> <pointsymbol>hard:circle</pointsymbol>
<transparencyLevelInt>255</transparencyLevelInt> <pointsize>2</pointsize>
<provider>ogr</provider> <rotationclassificationfieldname></rotationclassificationfieldname>
<encoding>System</encoding> <scaleclassificationfieldname></scaleclassificationfieldname>
<classificationattribute>Value</classificationattribute> <outlinecolor red="182" blue="111" green="174" />
<displayfield>Value</displayfield> <outlinestyle>SolidLine</outlinestyle>
<label>0</label> <outlinewidth>0.26</outlinewidth>
<attributeactions/> <fillcolor red="182" blue="111" green="174" />
<continuoussymbol> <fillpattern>SolidPattern</fillpattern>
<classificationfield>0</classificationfield> <texturepath></texturepath>
<polygonoutline>0</polygonoutline> </symbol>
<lowestsymbol> </lowestsymbol>
<symbol> <highestsymbol>
<lowervalue>-180.000000</lowervalue> <symbol>
<uppervalue></uppervalue> <lowervalue>180.000000</lowervalue>
<label></label> <uppervalue></uppervalue>
<pointsymbol>hard:circle</pointsymbol> <label></label>
<pointsize>10</pointsize> <pointsymbol>hard:circle</pointsymbol>
<rotationclassificationfield>-1</rotationclassificationfield> <pointsize>2</pointsize>
<scaleclassificationfield>-1</scaleclassificationfield> <rotationclassificationfieldname></rotationclassificationfieldname>
<outlinecolor red="0" blue="0" green="0" /> <scaleclassificationfieldname></scaleclassificationfieldname>
<outlinestyle>SolidLine</outlinestyle> <outlinecolor red="255" blue="29" green="131" />
<outlinewidth>0</outlinewidth> <outlinestyle>SolidLine</outlinestyle>
<fillcolor red="221" blue="77" green="218" /> <outlinewidth>0.26</outlinewidth>
<fillpattern>SolidPattern</fillpattern> <fillcolor red="255" blue="29" green="131" />
<texturepath></texturepath> <fillpattern>SolidPattern</fillpattern>
</symbol> <texturepath></texturepath>
</lowestsymbol> </symbol>
<highestsymbol> </highestsymbol>
<symbol> </continuoussymbol>
<lowervalue>180.000000</lowervalue> <labelattributes>
<uppervalue></uppervalue> <label fieldname="" text="Label" />
<label></label> <family fieldname="" name="Verdana" />
<pointsymbol>hard:circle</pointsymbol> <size fieldname="" units="pt" value="12" />
<pointsize>10</pointsize> <bold fieldname="" on="0" />
<rotationclassificationfield>-1</rotationclassificationfield> <italic fieldname="" on="0" />
<scaleclassificationfield>-1</scaleclassificationfield> <underline fieldname="" on="0" />
<outlinecolor red="0" blue="0" green="0" /> <color fieldname="" red="0" blue="0" green="0" />
<outlinestyle>SolidLine</outlinestyle> <x fieldname="" />
<outlinewidth>0</outlinewidth> <y fieldname="" />
<fillcolor red="187" blue="20" green="27" /> <offset x="0" y="0" units="pt" yfieldname="" xfieldname="" />
<fillpattern>SolidPattern</fillpattern> <angle fieldname="" value="0" auto="0" />
<texturepath></texturepath> <alignment fieldname="" value="center" />
</symbol> <buffercolor fieldname="" red="255" blue="255" green="255" />
</highestsymbol> <buffersize fieldname="" units="pt" value="1" />
</continuoussymbol> <bufferenabled fieldname="" on="" />
<labelattributes> <multilineenabled fieldname="" on="" />
<label field="" text="Rótulo" /> </labelattributes>
<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> </qgis>

0 comments on commit a5f41f3

Please sign in to comment.