2011-02-05 03:21:22 +00:00
|
|
|
<!DOCTYPE Map>
|
|
|
|
<Map background-color="#b5d0d0" minimum-version="0.8.0">
|
2010-02-23 02:39:45 +00:00
|
|
|
<Style name="test">
|
|
|
|
<Rule title="asia">
|
|
|
|
<Filter>([REGION]=142)</Filter>
|
2011-02-05 03:21:22 +00:00
|
|
|
<PointSymbolizer file="../images/dummy.png" allow-overlap="true"/>
|
2010-02-23 02:39:45 +00:00
|
|
|
</Rule>
|
|
|
|
<Rule title="europe">
|
|
|
|
<Filter>([REGION]=150)</Filter>
|
|
|
|
<!-- requires at least Mapnik 0.7.1 to work due to http://trac.mapnik.org/ticket/508 -->
|
2011-02-05 03:21:22 +00:00
|
|
|
<PolygonPatternSymbolizer file="../images/dummy.png"/>
|
2010-02-23 02:39:45 +00:00
|
|
|
</Rule>
|
|
|
|
<Rule title="americas">
|
|
|
|
<Filter>([REGION]=19)</Filter>
|
|
|
|
<!-- requires at least Mapnik 0.7.1 to work due to http://trac.mapnik.org/ticket/508 -->
|
2011-02-05 03:21:22 +00:00
|
|
|
<LinePatternSymbolizer file="../images/dummy.png"/>
|
2010-02-23 02:39:45 +00:00
|
|
|
</Rule>
|
|
|
|
<Rule title="Africa">
|
|
|
|
<Filter>([REGION]=2)</Filter>
|
2011-02-05 03:21:22 +00:00
|
|
|
<ShieldSymbolizer name="[NAME]" placement="vertex" size="10" fill="#000000" file="../images/dummy.png" face-name="DejaVu Sans Bold"/>
|
2010-02-23 02:39:45 +00:00
|
|
|
</Rule>
|
|
|
|
|
|
|
|
<Rule title="rest">
|
2011-02-05 03:21:22 +00:00
|
|
|
<ElseFilter/>
|
|
|
|
<LineSymbolizer stroke-width="1"/>
|
2010-02-23 02:39:45 +00:00
|
|
|
</Rule>
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
<Layer name="world_merc">
|
|
|
|
<StyleName>test</StyleName>
|
|
|
|
<Datasource>
|
|
|
|
<Parameter name="file">../../data/shp/world_merc</Parameter>
|
|
|
|
<Parameter name="type">shape</Parameter>
|
|
|
|
</Datasource>
|
|
|
|
</Layer>
|
2011-02-05 03:21:22 +00:00
|
|
|
</Map>
|