mapnik/tests/data/good_maps/interior_point.xml

30 lines
1.3 KiB
XML
Raw Normal View History

<Map srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" background-color="rgb(233,233,233)" minimum-version="0.7.2">
<Style name="multipolygon_style">
<Rule>
<PolygonSymbolizer fill="pink" gamma="0.7"/>
<LineSymbolizer stroke="darkred"/>
</Rule>
<Rule>
<!-- Text using interior point -->
<!-- Using normal centroid algorithm -->
<TextSymbolizer dy="2" placement="interior" face-name="DejaVu Sans Book" halo-radius="2" allow-overlap="true">'interior point'</TextSymbolizer>
2011-02-05 04:21:22 +01:00
<PointSymbolizer placement="interior" allow-overlap="true"/>
</Rule>
<Rule>
<!-- Text using interior point -->
<!-- Using normal centroid algorithm -->
<TextSymbolizer dy="-2" face-name="DejaVu Sans Book" halo-radius="2" allow-overlap="true">'centroid'</TextSymbolizer>
2011-02-05 04:21:22 +01:00
<PointSymbolizer allow-overlap="true"/>
</Rule>
</Style>
<Layer name="multipolygon" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>multipolygon_style</StyleName>
<Datasource>
<Parameter name="type">sqlite</Parameter>
2011-02-15 19:45:49 +01:00
<Parameter name="file">../sqlite/qgis_spatiallite.sqlite</Parameter>
<Parameter name="table">multipolygon</Parameter>
</Datasource>
</Layer>
</Map>