mapnik/tests/data/good_maps/point_json.xml

49 lines
1.3 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map >
<Map background-color="#b5d0d0" srs="+init=epsg:4326" minimum_version="0.7.0">
<Style name="1">
<Rule title="foo">
<Filter>([x]=0)</Filter>
<TextSymbolizer
name="[label]"
face_name="DejaVu Sans Book"
size="10"
halo_radius="1" dy="-10"
allow_overlap="true"
/>
<PointSymbolizer />
</Rule>
<Rule title="foo">
<Filter>([y]=0)</Filter>
<TextSymbolizer
name="[label]"
face_name="DejaVu Sans Book"
size="10"
halo_radius="1" dy="5"
/>
<PointSymbolizer />
</Rule>
<Rule title="foo">
<ElseFilter />
<TextSymbolizer
name="[label]"
face_name="DejaVu Sans Book"
size="10"
halo_radius="1" dy="-5"
/>
<PointSymbolizer />
</Rule>
</Style>
<Layer name="point" srs="+init=epsg:4326">
<StyleName>1</StyleName>
<Datasource>
<Parameter name="file">../json/points.json</Parameter>
<Parameter name="layer_by_index">0</Parameter>
<Parameter name="type">ogr</Parameter>
</Datasource>
</Layer>
</Map>