mapnik/tests/data/good_maps/point_symbolizer.xml

46 lines
2.2 KiB
XML
Raw Permalink Normal View History

2011-02-05 04:21:22 +01:00
<!DOCTYPE Map>
<Map background-color="#b5d0d0" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" minimum-version="0.7.2">
<Style name="1">
2011-12-16 16:22:52 +01:00
<Rule>
<Filter>([name]='CHILE')</Filter>
<TextSymbolizer size="10" dy="5" face-name="DejaVu Sans Book" text-transform="lowercase" wrap-width="10" halo-radius="1">[name] + ' (default OGC pixel)'</TextSymbolizer>
2011-02-05 04:21:22 +01:00
<PointSymbolizer/>
</Rule>
2011-12-16 16:22:52 +01:00
<Rule>
<Filter>([name]='Australia')</Filter>
<TextSymbolizer size="10" dy="20" face-name="DejaVu Sans Book" halo-radius="1">[name] + ' (png)'</TextSymbolizer>
<PointSymbolizer file="../images/dummy.png" allow-overlap="true"/>
</Rule>
2011-12-16 16:22:52 +01:00
<Rule>
<Filter>([name]='Brazil')</Filter>
<TextSymbolizer size="10" dy="20" face-name="DejaVu Sans Book" halo-radius="1">[name] + ' (svg &amp; tif)'</TextSymbolizer>
2011-02-05 04:21:22 +01:00
<PointSymbolizer file="../images/dummy.tif" allow-overlap="true"/>
<PointSymbolizer file="../svg/ellipses.svg" allow-overlap="true"/>
</Rule>
2011-12-16 16:22:52 +01:00
<Rule>
<Filter>([name]='Mongolia')</Filter>
<TextSymbolizer size="10" dy="20" face-name="DejaVu Sans Book" halo-radius="1">[name] + ' (tiff)'</TextSymbolizer>
2011-02-05 04:21:22 +01:00
<PointSymbolizer file="../images/dummy.tiff" allow-overlap="true"/>
</Rule>
2011-12-16 16:22:52 +01:00
<Rule>
<Filter>([name]='Sudan')</Filter>
<TextSymbolizer size="10" dy="20" face-name="DejaVu Sans Book" halo-radius="1">[name] + ' (jpeg)'</TextSymbolizer>
2011-02-05 04:21:22 +01:00
<PointSymbolizer file="../images/dummy.jpeg"/>
</Rule>
2011-12-16 16:22:52 +01:00
<Rule>
<Filter>([name]='United States')</Filter>
<TextSymbolizer size="10" dy="20" face-name="DejaVu Sans Book" halo-radius="1">[name] + ' (jpg)'</TextSymbolizer>
2011-02-05 04:21:22 +01:00
<PointSymbolizer file="../images/dummy.jpg"/>
</Rule>
</Style>
<Layer name="point" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>1</StyleName>
<Datasource>
<Parameter name="type">sqlite</Parameter>
<Parameter name="file">../sqlite/qgis_spatiallite.sqlite</Parameter>
<Parameter name="table">point</Parameter>
</Datasource>
</Layer>
2011-02-05 04:21:22 +01:00
</Map>