mirror of
https://github.com/qgis/QGIS.git
synced 2025-04-14 00:07:35 -04:00
Added various qmls to test data for unit testing different renderers
git-svn-id: http://svn.osgeo.org/qgis/trunk@7835 c8812cc2-4d05-0410-92ff-de0c093fc19c
This commit is contained in:
parent
9cbf59b68e
commit
ae0901d755
60
tests/testdata/points.qml
vendored
Normal file
60
tests/testdata/points.qml
vendored
Normal file
@ -0,0 +1,60 @@
|
||||
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
|
||||
<qgis version="0.9.2-Ganymede" >
|
||||
<maplayer minScale="0" maxScale="1e+08" scaleBasedVisibilityFlag="0" geometry="Point" type="vector" >
|
||||
<id>points20080103150949100</id>
|
||||
<datasource>/Users/timlinux/dev/cpp/qgis_qml/tests/testdata/points.shp</datasource>
|
||||
<layername>points</layername>
|
||||
<srs>
|
||||
<spatialrefsys>
|
||||
<proj4>+proj=longlat +ellps=WGS84 +no_defs</proj4>
|
||||
<srsid>1449</srsid>
|
||||
<srid>4031</srid>
|
||||
<epsg>4031</epsg>
|
||||
<description>Unknown datum based upon the GEM 10C ellipsoid</description>
|
||||
<projectionacronym>longlat</projectionacronym>
|
||||
<ellipsoidacronym>WGS84</ellipsoidacronym>
|
||||
<geographicflag>false</geographicflag>
|
||||
</spatialrefsys>
|
||||
</srs>
|
||||
<transparencyLevelInt>255</transparencyLevelInt>
|
||||
<provider>ogr</provider>
|
||||
<encoding>System</encoding>
|
||||
<displayfield>Name</displayfield>
|
||||
<label>0</label>
|
||||
<attributeactions/>
|
||||
<singlesymbol>
|
||||
<angleclassificationfield>-1</angleclassificationfield>
|
||||
<scaleclassificationfield>-1</scaleclassificationfield>
|
||||
<symbol>
|
||||
<lowervalue></lowervalue>
|
||||
<uppervalue></uppervalue>
|
||||
<label></label>
|
||||
<pointsymbol>hard:circle</pointsymbol>
|
||||
<pointsize>6</pointsize>
|
||||
<outlinecolor red="0" blue="0" green="0" />
|
||||
<outlinestyle>SolidLine</outlinestyle>
|
||||
<outlinewidth>1</outlinewidth>
|
||||
<fillcolor red="1" blue="193" green="34" />
|
||||
<fillpattern>SolidPattern</fillpattern>
|
||||
<texturepath></texturepath>
|
||||
</symbol>
|
||||
</singlesymbol>
|
||||
<labelattributes>
|
||||
<label field="" text="Label" />
|
||||
<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>
|
78
tests/testdata/points_continuous_symbol.qml
vendored
Normal file
78
tests/testdata/points_continuous_symbol.qml
vendored
Normal file
@ -0,0 +1,78 @@
|
||||
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
|
||||
<qgis version="0.9.2-Ganymede" >
|
||||
<maplayer minScale="1" maxScale="1e+08" scaleBasedVisibilityFlag="0" geometry="Point" type="vector" >
|
||||
<id>points20080103150949100</id>
|
||||
<datasource>/Users/timlinux/dev/cpp/qgis_qml/tests/testdata/points.shp</datasource>
|
||||
<layername>points</layername>
|
||||
<srs>
|
||||
<spatialrefsys>
|
||||
<proj4>+proj=longlat +ellps=WGS84 +no_defs</proj4>
|
||||
<srsid>1449</srsid>
|
||||
<srid>4031</srid>
|
||||
<epsg>4031</epsg>
|
||||
<description>Unknown datum based upon the GEM 10C ellipsoid</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>Name</displayfield>
|
||||
<label>0</label>
|
||||
<attributeactions/>
|
||||
<continuoussymbol>
|
||||
<classificationfield>1</classificationfield>
|
||||
<polygonoutline>1</polygonoutline>
|
||||
<lowestsymbol>
|
||||
<symbol>
|
||||
<lowervalue>12.000000</lowervalue>
|
||||
<uppervalue></uppervalue>
|
||||
<label></label>
|
||||
<pointsymbol>hard:circle</pointsymbol>
|
||||
<pointsize>6</pointsize>
|
||||
<outlinecolor red="255" blue="204" green="216" />
|
||||
<outlinestyle>SolidLine</outlinestyle>
|
||||
<outlinewidth>2</outlinewidth>
|
||||
<fillcolor red="0" blue="0" green="0" />
|
||||
<fillpattern>NoBrush</fillpattern>
|
||||
<texturepath></texturepath>
|
||||
</symbol>
|
||||
</lowestsymbol>
|
||||
<highestsymbol>
|
||||
<symbol>
|
||||
<lowervalue>233.000000</lowervalue>
|
||||
<uppervalue></uppervalue>
|
||||
<label></label>
|
||||
<pointsymbol>hard:circle</pointsymbol>
|
||||
<pointsize>6</pointsize>
|
||||
<outlinecolor red="196" blue="0" green="56" />
|
||||
<outlinestyle>SolidLine</outlinestyle>
|
||||
<outlinewidth>2</outlinewidth>
|
||||
<fillcolor red="0" blue="0" green="0" />
|
||||
<fillpattern>NoBrush</fillpattern>
|
||||
<texturepath></texturepath>
|
||||
</symbol>
|
||||
</highestsymbol>
|
||||
</continuoussymbol>
|
||||
<labelattributes>
|
||||
<label field="" text="Label" />
|
||||
<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>
|
112
tests/testdata/points_graduated_symbol.qml
vendored
Normal file
112
tests/testdata/points_graduated_symbol.qml
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
|
||||
<qgis version="0.9.2-Ganymede" >
|
||||
<maplayer minScale="1" maxScale="1e+08" scaleBasedVisibilityFlag="0" geometry="Point" type="vector" >
|
||||
<id>points20080103150949100</id>
|
||||
<datasource>/Users/timlinux/dev/cpp/qgis_qml/tests/testdata/points.shp</datasource>
|
||||
<layername>points</layername>
|
||||
<srs>
|
||||
<spatialrefsys>
|
||||
<proj4>+proj=longlat +ellps=WGS84 +no_defs</proj4>
|
||||
<srsid>1449</srsid>
|
||||
<srid>4031</srid>
|
||||
<epsg>4031</epsg>
|
||||
<description>Unknown datum based upon the GEM 10C ellipsoid</description>
|
||||
<projectionacronym>longlat</projectionacronym>
|
||||
<ellipsoidacronym>WGS84</ellipsoidacronym>
|
||||
<geographicflag>false</geographicflag>
|
||||
</spatialrefsys>
|
||||
</srs>
|
||||
<transparencyLevelInt>255</transparencyLevelInt>
|
||||
<provider>ogr</provider>
|
||||
<encoding>System</encoding>
|
||||
<classificationattribute>Value</classificationattribute>
|
||||
<displayfield>Name</displayfield>
|
||||
<label>0</label>
|
||||
<attributeactions/>
|
||||
<graduatedsymbol>
|
||||
<classificationfield>1</classificationfield>
|
||||
<symbol>
|
||||
<lowervalue>11.999</lowervalue>
|
||||
<uppervalue>56.200</uppervalue>
|
||||
<label></label>
|
||||
<pointsymbol>hard:circle</pointsymbol>
|
||||
<pointsize>20</pointsize>
|
||||
<outlinecolor red="0" blue="0" green="0" />
|
||||
<outlinestyle>SolidLine</outlinestyle>
|
||||
<outlinewidth>1</outlinewidth>
|
||||
<fillcolor red="255" blue="202" green="223" />
|
||||
<fillpattern>SolidPattern</fillpattern>
|
||||
<texturepath></texturepath>
|
||||
</symbol>
|
||||
<symbol>
|
||||
<lowervalue>56.200</lowervalue>
|
||||
<uppervalue>100.400</uppervalue>
|
||||
<label></label>
|
||||
<pointsymbol>hard:circle</pointsymbol>
|
||||
<pointsize>20</pointsize>
|
||||
<outlinecolor red="0" blue="0" green="0" />
|
||||
<outlinestyle>SolidLine</outlinestyle>
|
||||
<outlinewidth>1</outlinewidth>
|
||||
<fillcolor red="255" blue="80" green="133" />
|
||||
<fillpattern>SolidPattern</fillpattern>
|
||||
<texturepath></texturepath>
|
||||
</symbol>
|
||||
<symbol>
|
||||
<lowervalue>100.400</lowervalue>
|
||||
<uppervalue>144.600</uppervalue>
|
||||
<label></label>
|
||||
<pointsymbol>hard:circle</pointsymbol>
|
||||
<pointsize>20</pointsize>
|
||||
<outlinecolor red="0" blue="0" green="0" />
|
||||
<outlinestyle>SolidLine</outlinestyle>
|
||||
<outlinewidth>1</outlinewidth>
|
||||
<fillcolor red="255" blue="4" green="81" />
|
||||
<fillpattern>SolidPattern</fillpattern>
|
||||
<texturepath></texturepath>
|
||||
</symbol>
|
||||
<symbol>
|
||||
<lowervalue>144.600</lowervalue>
|
||||
<uppervalue>188.800</uppervalue>
|
||||
<label></label>
|
||||
<pointsymbol>hard:circle</pointsymbol>
|
||||
<pointsize>20</pointsize>
|
||||
<outlinecolor red="0" blue="0" green="0" />
|
||||
<outlinestyle>SolidLine</outlinestyle>
|
||||
<outlinewidth>1</outlinewidth>
|
||||
<fillcolor red="204" blue="0" green="59" />
|
||||
<fillpattern>SolidPattern</fillpattern>
|
||||
<texturepath></texturepath>
|
||||
</symbol>
|
||||
<symbol>
|
||||
<lowervalue>188.800</lowervalue>
|
||||
<uppervalue>233.001</uppervalue>
|
||||
<label></label>
|
||||
<pointsymbol>hard:circle</pointsymbol>
|
||||
<pointsize>20</pointsize>
|
||||
<outlinecolor red="0" blue="0" green="0" />
|
||||
<outlinestyle>SolidLine</outlinestyle>
|
||||
<outlinewidth>1</outlinewidth>
|
||||
<fillcolor red="133" blue="0" green="38" />
|
||||
<fillpattern>SolidPattern</fillpattern>
|
||||
<texturepath></texturepath>
|
||||
</symbol>
|
||||
</graduatedsymbol>
|
||||
<labelattributes>
|
||||
<label field="" text="Label" />
|
||||
<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>
|
60
tests/testdata/points_single_symbol.qml
vendored
Normal file
60
tests/testdata/points_single_symbol.qml
vendored
Normal file
@ -0,0 +1,60 @@
|
||||
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
|
||||
<qgis version="0.9.2-Ganymede" >
|
||||
<maplayer minScale="0" maxScale="1e+08" scaleBasedVisibilityFlag="0" geometry="Point" type="vector" >
|
||||
<id>points20080103150949100</id>
|
||||
<datasource>/Users/timlinux/dev/cpp/qgis_qml/tests/testdata/points.shp</datasource>
|
||||
<layername>points</layername>
|
||||
<srs>
|
||||
<spatialrefsys>
|
||||
<proj4>+proj=longlat +ellps=WGS84 +no_defs</proj4>
|
||||
<srsid>1449</srsid>
|
||||
<srid>4031</srid>
|
||||
<epsg>4031</epsg>
|
||||
<description>Unknown datum based upon the GEM 10C ellipsoid</description>
|
||||
<projectionacronym>longlat</projectionacronym>
|
||||
<ellipsoidacronym>WGS84</ellipsoidacronym>
|
||||
<geographicflag>false</geographicflag>
|
||||
</spatialrefsys>
|
||||
</srs>
|
||||
<transparencyLevelInt>255</transparencyLevelInt>
|
||||
<provider>ogr</provider>
|
||||
<encoding>System</encoding>
|
||||
<displayfield>Name</displayfield>
|
||||
<label>0</label>
|
||||
<attributeactions/>
|
||||
<singlesymbol>
|
||||
<angleclassificationfield>-1</angleclassificationfield>
|
||||
<scaleclassificationfield>-1</scaleclassificationfield>
|
||||
<symbol>
|
||||
<lowervalue></lowervalue>
|
||||
<uppervalue></uppervalue>
|
||||
<label></label>
|
||||
<pointsymbol>hard:circle</pointsymbol>
|
||||
<pointsize>6</pointsize>
|
||||
<outlinecolor red="0" blue="0" green="0" />
|
||||
<outlinestyle>SolidLine</outlinestyle>
|
||||
<outlinewidth>1</outlinewidth>
|
||||
<fillcolor red="1" blue="193" green="34" />
|
||||
<fillpattern>SolidPattern</fillpattern>
|
||||
<texturepath></texturepath>
|
||||
</symbol>
|
||||
</singlesymbol>
|
||||
<labelattributes>
|
||||
<label field="" text="Label" />
|
||||
<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>
|
112
tests/testdata/points_uniquevalue_symbol.qml
vendored
Normal file
112
tests/testdata/points_uniquevalue_symbol.qml
vendored
Normal file
@ -0,0 +1,112 @@
|
||||
<!DOCTYPE qgis PUBLIC 'http://mrcc.com/qgis.dtd' 'SYSTEM'>
|
||||
<qgis version="0.9.2-Ganymede" >
|
||||
<maplayer minScale="1" maxScale="1e+08" scaleBasedVisibilityFlag="0" geometry="Point" type="vector" >
|
||||
<id>points20080103150949100</id>
|
||||
<datasource>/Users/timlinux/dev/cpp/qgis_qml/tests/testdata/points.shp</datasource>
|
||||
<layername>points</layername>
|
||||
<srs>
|
||||
<spatialrefsys>
|
||||
<proj4>+proj=longlat +ellps=WGS84 +no_defs</proj4>
|
||||
<srsid>1449</srsid>
|
||||
<srid>4031</srid>
|
||||
<epsg>4031</epsg>
|
||||
<description>Unknown datum based upon the GEM 10C ellipsoid</description>
|
||||
<projectionacronym>longlat</projectionacronym>
|
||||
<ellipsoidacronym>WGS84</ellipsoidacronym>
|
||||
<geographicflag>true</geographicflag>
|
||||
</spatialrefsys>
|
||||
</srs>
|
||||
<transparencyLevelInt>255</transparencyLevelInt>
|
||||
<provider>ogr</provider>
|
||||
<encoding>System</encoding>
|
||||
<classificationattribute>Name</classificationattribute>
|
||||
<displayfield>Name</displayfield>
|
||||
<label>0</label>
|
||||
<attributeactions/>
|
||||
<uniquevalue>
|
||||
<classificationfield>0</classificationfield>
|
||||
<symbol>
|
||||
<lowervalue>bar</lowervalue>
|
||||
<uppervalue></uppervalue>
|
||||
<label></label>
|
||||
<pointsymbol>svg:/Users/timlinux/apps/qgis0.9.2-renderer.app/Contents/MacOS/share/qgis/svg/biology/Deciduous.svg</pointsymbol>
|
||||
<pointsize>20</pointsize>
|
||||
<outlinecolor red="0" blue="0" green="0" />
|
||||
<outlinestyle>SolidLine</outlinestyle>
|
||||
<outlinewidth>1</outlinewidth>
|
||||
<fillcolor red="12" blue="174" green="174" />
|
||||
<fillpattern>SolidPattern</fillpattern>
|
||||
<texturepath></texturepath>
|
||||
</symbol>
|
||||
<symbol>
|
||||
<lowervalue>foo</lowervalue>
|
||||
<uppervalue></uppervalue>
|
||||
<label></label>
|
||||
<pointsymbol>svg:/Users/timlinux/apps/qgis0.9.2-renderer.app/Contents/MacOS/share/qgis/svg/gpsicons/anchor.svg</pointsymbol>
|
||||
<pointsize>20</pointsize>
|
||||
<outlinecolor red="0" blue="0" green="0" />
|
||||
<outlinestyle>SolidLine</outlinestyle>
|
||||
<outlinewidth>1</outlinewidth>
|
||||
<fillcolor red="239" blue="133" green="98" />
|
||||
<fillpattern>SolidPattern</fillpattern>
|
||||
<texturepath></texturepath>
|
||||
</symbol>
|
||||
<symbol>
|
||||
<lowervalue>grey</lowervalue>
|
||||
<uppervalue></uppervalue>
|
||||
<label></label>
|
||||
<pointsymbol>svg:/Users/timlinux/apps/qgis0.9.2-renderer.app/Contents/MacOS/share/qgis/svg/gpsicons/parachute.svg</pointsymbol>
|
||||
<pointsize>20</pointsize>
|
||||
<outlinecolor red="0" blue="0" green="0" />
|
||||
<outlinestyle>SolidLine</outlinestyle>
|
||||
<outlinewidth>1</outlinewidth>
|
||||
<fillcolor red="212" blue="14" green="9" />
|
||||
<fillpattern>SolidPattern</fillpattern>
|
||||
<texturepath></texturepath>
|
||||
</symbol>
|
||||
<symbol>
|
||||
<lowervalue>red</lowervalue>
|
||||
<uppervalue></uppervalue>
|
||||
<label></label>
|
||||
<pointsymbol>svg:/Users/timlinux/apps/qgis0.9.2-renderer.app/Contents/MacOS/share/qgis/svg/gpsicons/deer.svg</pointsymbol>
|
||||
<pointsize>20</pointsize>
|
||||
<outlinecolor red="0" blue="0" green="0" />
|
||||
<outlinestyle>SolidLine</outlinestyle>
|
||||
<outlinewidth>1</outlinewidth>
|
||||
<fillcolor red="136" blue="2" green="172" />
|
||||
<fillpattern>SolidPattern</fillpattern>
|
||||
<texturepath></texturepath>
|
||||
</symbol>
|
||||
<symbol>
|
||||
<lowervalue>yellow</lowervalue>
|
||||
<uppervalue></uppervalue>
|
||||
<label></label>
|
||||
<pointsymbol>svg:/Users/timlinux/apps/qgis0.9.2-renderer.app/Contents/MacOS/share/qgis/svg/gpsicons/conveneince.svg</pointsymbol>
|
||||
<pointsize>20</pointsize>
|
||||
<outlinecolor red="0" blue="0" green="0" />
|
||||
<outlinestyle>SolidLine</outlinestyle>
|
||||
<outlinewidth>1</outlinewidth>
|
||||
<fillcolor red="98" blue="107" green="18" />
|
||||
<fillpattern>SolidPattern</fillpattern>
|
||||
<texturepath></texturepath>
|
||||
</symbol>
|
||||
</uniquevalue>
|
||||
<labelattributes>
|
||||
<label field="" text="Label" />
|
||||
<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>
|
Loading…
x
Reference in New Issue
Block a user