<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE Map> <Map background-color="green" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" minimum-version="2.0.0"> <Layer name="layer" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs"> <StyleName>My Style</StyleName> <Datasource> <Parameter name="type">osm</Parameter> <Parameter name="file">../data/points.osm</Parameter> </Datasource> </Layer> <Style name="My Style"> <Rule> <Filter>[nr] = '1'</Filter> <ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../../data/svg/crosshair16x16.svg">'X'</ShieldSymbolizer> </Rule> <Rule> <Filter>[nr] = '2'</Filter> <ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../../data/svg/crosshair16x16.svg" allow-overlap="true" horizontal-alignment="middle" dx="5">'X'</ShieldSymbolizer> </Rule> <Rule> <Filter>[nr] = '3'</Filter> <ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../../data/svg/crosshair16x16.svg" vertical-alignment="middle" dy="5">'X'</ShieldSymbolizer> </Rule> <Rule> <Filter>[nr] = '4'</Filter> <ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../../data/svg/crosshair16x16.svg" dy="0" vertical-alignment="bottom">'X'</ShieldSymbolizer> </Rule> <Rule> <Filter>[nr] = '5'</Filter> <ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../../data/svg/crosshair16x16.svg" allow-overlap="true" vertical-alignment="top">'X'</ShieldSymbolizer> </Rule> <Rule> <Filter>[nr] = '6'</Filter> <ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../../data/svg/crosshair16x16.svg" allow-overlap="true" horizontal-alignment="left">'X'</ShieldSymbolizer> </Rule> <Rule> <Filter>[nr] = '7'</Filter> <ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../../data/svg/crosshair16x16.svg" allow-overlap="true" horizontal-alignment="right">'X'</ShieldSymbolizer> </Rule> <Rule> <Filter>[nr] = '8'</Filter> <ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../../data/svg/crosshair16x16.svg">'X X X'</ShieldSymbolizer> </Rule> <Rule> <Filter>[nr] = '9'</Filter> <ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../../data/svg/crosshair16x16.svg">'XXX'</ShieldSymbolizer> </Rule> <Rule> <Filter>[nr] = '10'</Filter> <ShieldSymbolizer face-name="DejaVu Sans Book" size="16" placement="point" file="../../data/images/crosshair16x16.png">'X'</ShieldSymbolizer> </Rule> <Rule> <PointSymbolizer allow-overlap="true" file="../../data/raster/white-alpha.png"/> </Rule> </Style> </Map>