2011-02-05 03:21:22 +00:00
|
|
|
<Map srs="+init=epsg:4326" background-color="rgb(233,233,233)" minimum-version="0.7.2">
|
2011-02-01 23:21:32 +00:00
|
|
|
|
|
|
|
<Style name="multipolygon_style">
|
|
|
|
<Rule>
|
|
|
|
<PolygonSymbolizer fill="pink" gamma="0.7"/>
|
|
|
|
<LineSymbolizer stroke="darkred"/>
|
|
|
|
</Rule>
|
|
|
|
<Rule>
|
|
|
|
<!-- Text using interior point -->
|
|
|
|
<!-- Using normal centroid algorithm -->
|
2011-02-05 03:21:22 +00:00
|
|
|
<TextSymbolizer dy="2" name="'interior point'" placement="interior" face-name="DejaVu Sans Book" halo-radius="2" allow-overlap="true"/>
|
|
|
|
<PointSymbolizer placement="interior" allow-overlap="true"/>
|
2011-02-01 23:21:32 +00:00
|
|
|
</Rule>
|
|
|
|
<Rule>
|
|
|
|
<!-- Text using interior point -->
|
|
|
|
<!-- Using normal centroid algorithm -->
|
2011-02-05 03:21:22 +00:00
|
|
|
<TextSymbolizer dy="-2" name="'centroid'" face-name="DejaVu Sans Book" halo-radius="2" allow-overlap="true"/>
|
|
|
|
<PointSymbolizer allow-overlap="true"/>
|
2011-02-01 23:21:32 +00:00
|
|
|
</Rule>
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
<Layer name="multipolygon" srs="+init=epsg:4326">
|
|
|
|
<StyleName>multipolygon_style</StyleName>
|
|
|
|
<Datasource>
|
|
|
|
<Parameter name="extent">-120.714996709,-60.7304861311,140.581413391,86.9753066091</Parameter>
|
|
|
|
<Parameter name="file">/Users/dane/projects/mapnik-dev/trunk-devseed/tests/data/sqlite/qgis_spatiallite.sqlite</Parameter>
|
|
|
|
<Parameter name="geometry_field">geometry</Parameter>
|
|
|
|
<Parameter name="key_field">pkuid</Parameter>
|
|
|
|
<Parameter name="table">multipolygon</Parameter>
|
|
|
|
<Parameter name="type">sqlite</Parameter>
|
|
|
|
<Parameter name="use_spatial_index">1</Parameter>
|
|
|
|
<Parameter name="wkb_format">spatialite</Parameter>
|
|
|
|
</Datasource>
|
|
|
|
</Layer>
|
|
|
|
</Map>
|