mapnik/tests/visual_tests/styles/simple-shield.xml
2014-12-09 20:13:38 +00:00

35 lines
1.2 KiB
XML

<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map>
<Map background-color="white" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<Parameters>
<Parameter name="sizes">600,400</Parameter>
</Parameters>
<Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>My Style</StyleName>
<Datasource>
<Parameter name="type">csv</Parameter>
<Parameter name="inline">
lat,long,name,nr,color,type,empty-string
0,0,Test one,1,#ff0000,svg,
0,0.1,Test two,2,red,svg,
0,0.2,Test three,3,#00ff00,svg,
0,0.3,Test four,4,green,svg,
0,0.4,Test five,5,#0000ff,svg,
0,0.5,Test six,6,blue,svg,
0,0.6,Test seven,7,#000000,svg,
0,0.7,Test eight,8,black,svg,
0,0.8,Test nine,9,#ffffff,svg,
0,0.9,Test ten,10,white,svg,
</Parameter>
</Datasource>
</Layer>
<Style name="My Style">
<Rule>
<ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" dx="5" dy="16" file="../../data/[type]/[empty-string]crosshair16x16.svg" horizontal-alignment="middle" vertical-alignment="middle" placement-type="simple" placements="N,S,E,W,SW,10,5">[name]</ShieldSymbolizer>
<PointSymbolizer allow-overlap="true"/>
</Rule>
</Style>
</Map>