mapnik/tests/data/good_maps/sqlite.xml
2011-02-05 03:21:22 +00:00

33 lines
No EOL
1.5 KiB
XML

<Map srs="+init=epsg:4326" background-color="rgb(255,255,255)" minimum-version="0.7.2">
<Style name="point_style">
<Rule>
<PointSymbolizer file="../svg/point.svg"/>
<TextSymbolizer size="12" name="[name]" dy="-5" face-name="DejaVu Sans Book" halo-fill="rgba(255,255,255,.5)" halo-radius=".5"/>
</Rule>
</Style>
<Style name="world_borders_style">
<Rule>
<PolygonSymbolizer fill="grey" gamma="0.7"/>
</Rule>
</Style>
<Layer name="world_borders" srs="+proj=merc +lon_0=0 +lat_ts=0 +x_0=0 +y_0=0 +ellps=WGS84 +datum=WGS84 +units=m +no_defs">
<StyleName>world_borders_style</StyleName>
<Datasource>
<Parameter name="file">../shp/world_merc.shp</Parameter>
<Parameter name="type">shape</Parameter>
</Datasource>
</Layer>
<Layer name="point" srs="+init=epsg:4326">
<StyleName>point_style</StyleName>
<Datasource>
<Parameter name="extent">-100.276283619,-23.5207203374,136.782396088,45.7946830856</Parameter>
<Parameter name="file">../sqlite/qgis_spatiallite.sqlite</Parameter>
<Parameter name="geometry_field">geometry</Parameter>
<Parameter name="key_field">pkuid</Parameter>
<Parameter name="table">point</Parameter>
<Parameter name="type">sqlite</Parameter>
<Parameter name="use_spatial_index">1</Parameter>
<Parameter name="wkb_format">spatialite</Parameter>
</Datasource>
</Layer>
</Map>