mapnik/tests/data/good_maps/sqlite.xml

43 lines
1.6 KiB
XML
Raw Normal View History

2011-02-05 04:21:22 +01:00
<Map srs="+init=epsg:4326" background-color="rgb(255,255,255)" minimum-version="0.7.2">
<Style name="world_borders_style1">
<Rule>
<!-- glow underneath continents -->
<LineSymbolizer stroke="green" stroke-width="1.5"/>
</Rule>
</Style>
<Style name="world_borders_style2">
<Rule>
<PolygonSymbolizer fill="yellow" gamma="0.5"/>
</Rule>
</Style>
<!-- layer created by ogr like: ogr2ogr -t_srs EPSG:4326 -f SQLite ../sqlite/world.sqlite world_merc.shp -->
<Layer name="world_borders2" srs="+init=epsg:4326">
<StyleName>world_borders_style1</StyleName>
<StyleName>world_borders_style2</StyleName>
<Datasource>
<Parameter name="type">sqlite</Parameter>
<Parameter name="file">../sqlite/world.sqlite</Parameter>
<Parameter name="table">world_merc</Parameter>
</Datasource>
</Layer>
<Style name="point_style">
<Rule>
<PointSymbolizer file="../svg/point_sm.svg"/>
<TextSymbolizer size="12" dy="-5" face-name="DejaVu Sans Book" halo-fill="rgba(255,255,255,.5)" halo-radius=".5">[name]</TextSymbolizer>
</Rule>
</Style>
<!-- file created by QGIS read with native sqlite plugin -->
<Layer name="point" srs="+init=epsg:4326">
<StyleName>point_style</StyleName>
<Datasource>
<Parameter name="type">sqlite</Parameter>
<Parameter name="file">../sqlite/qgis_spatiallite.sqlite</Parameter>
<Parameter name="table">point</Parameter>
</Datasource>
</Layer>
</Map>