2007-09-25 23:06:52 +02:00
|
|
|
<?xml version="1.0" encoding="utf-8"?>
|
|
|
|
<!DOCTYPE Map >
|
2010-06-03 23:26:33 +02:00
|
|
|
<Map bgcolor="#b5d0d0" srs="+init=epsg:4326" min_version="0.7.1">
|
|
|
|
<Style name="1">
|
|
|
|
<Rule title="foo">
|
|
|
|
<Filter>([name]='Australia')</Filter>
|
|
|
|
<TextSymbolizer face_name="DejaVu Sans Book" size="10"
|
|
|
|
name="[name] + ' (png)'" halo_radius="1" dy="20"/>
|
|
|
|
<PointSymbolizer file="../images/dummy.png" type="png" dy="-10" width="16" height="16" allow_overlap="true"/>
|
|
|
|
</Rule>
|
|
|
|
<Rule title="foo1">
|
|
|
|
<Filter>([name]='Brazil')</Filter>
|
|
|
|
<TextSymbolizer face_name="DejaVu Sans Book" size="10"
|
|
|
|
name="[name] + ' (svg & tif)'" halo_radius="1" dy="20"/>
|
|
|
|
<PointSymbolizer file="../images/dummy.tif" type="tif" allow_overlap="true"/>
|
|
|
|
<PointSymbolizer file="../svg/ellipses.svg" allow_overlap="true"/>
|
2007-09-25 23:06:52 +02:00
|
|
|
</Rule>
|
|
|
|
<Rule title="foo">
|
2010-06-03 23:26:33 +02:00
|
|
|
<Filter>([name]='Mongolia')</Filter>
|
|
|
|
<TextSymbolizer face_name="DejaVu Sans Book" size="10"
|
|
|
|
name="[name] + ' (tiff)'" halo_radius="1" dy="20"/>
|
|
|
|
<PointSymbolizer file="../images/dummy.tiff" width="16" height="16" allow_overlap="true"/>
|
2010-02-23 03:39:45 +01:00
|
|
|
</Rule>
|
|
|
|
<Rule title="foo">
|
2010-06-03 23:26:33 +02:00
|
|
|
<Filter>([name]='Sudan')</Filter>
|
|
|
|
<TextSymbolizer face_name="DejaVu Sans Book" size="10"
|
|
|
|
name="[name] + ' (jpeg)'" halo_radius="1" dy="20"/>
|
|
|
|
<PointSymbolizer file="../images/dummy.jpeg" type="jpeg" />
|
2010-02-23 03:39:45 +01:00
|
|
|
</Rule>
|
|
|
|
<Rule title="foo">
|
2010-06-03 23:26:33 +02:00
|
|
|
<Filter>([name]='United States')</Filter>
|
|
|
|
<TextSymbolizer face_name="DejaVu Sans Book" size="10"
|
|
|
|
name="[name] + ' (jpg)'" halo_radius="1" dy="20"/>
|
|
|
|
<PointSymbolizer file="../images/dummy.jpg" type="jpg" width="5" height="10" />
|
2010-02-23 03:39:45 +01:00
|
|
|
</Rule>
|
|
|
|
<Rule title="foo">
|
2010-06-03 23:26:33 +02:00
|
|
|
<ElseFilter />
|
|
|
|
<TextSymbolizer face_name="DejaVu Sans Book" size="10"
|
|
|
|
name="[name]" halo_radius="1" dy="20"/>
|
|
|
|
<PointSymbolizer file="../images/bogus_will_fail.png"/>
|
2007-09-25 23:06:52 +02:00
|
|
|
</Rule>
|
|
|
|
</Style>
|
2010-06-03 23:26:33 +02:00
|
|
|
|
|
|
|
<Layer name="point" srs="+init=epsg:4326">
|
|
|
|
<StyleName>1</StyleName>
|
|
|
|
<Datasource>
|
|
|
|
<Parameter name="extent">-180,-60,180,60</Parameter>
|
|
|
|
<Parameter name="file">../sqlite/qgis_spatiallite.sqlite</Parameter>
|
|
|
|
<Parameter name="geometry_field">geometry</Parameter>
|
|
|
|
<Parameter name="key_field">pkuid</Parameter>
|
|
|
|
<Parameter name="table">point</Parameter>
|
|
|
|
<Parameter name="type">sqlite</Parameter>
|
|
|
|
<Parameter name="use_spatial_index">1</Parameter>
|
|
|
|
<Parameter name="wkb_format">spatialite</Parameter>
|
|
|
|
</Datasource>
|
|
|
|
</Layer>
|
|
|
|
|
2007-09-25 23:06:52 +02:00
|
|
|
</Map>
|