2011-02-05 03:21:22 +00:00
|
|
|
<!DOCTYPE Map>
|
|
|
|
<Map background-color="#b5d0d0" srs="+init=epsg:4326" minimum-version="0.7.0">
|
2010-11-16 08:21:57 +00:00
|
|
|
<Style name="1">
|
|
|
|
<Rule title="foo">
|
|
|
|
<Filter>([x]=0)</Filter>
|
2011-02-05 03:21:22 +00:00
|
|
|
<TextSymbolizer name="[label]" size="10" dy="-10" face-name="DejaVu Sans Book" halo-radius="1" allow-overlap="true"/>
|
|
|
|
<PointSymbolizer/>
|
2010-11-16 08:21:57 +00:00
|
|
|
</Rule>
|
|
|
|
<Rule title="foo">
|
|
|
|
<Filter>([y]=0)</Filter>
|
2011-02-05 03:21:22 +00:00
|
|
|
<TextSymbolizer name="[label]" size="10" dy="5" face-name="DejaVu Sans Book" halo-radius="1"/>
|
|
|
|
<PointSymbolizer/>
|
2010-11-16 08:21:57 +00:00
|
|
|
</Rule>
|
|
|
|
<Rule title="foo">
|
2011-02-05 03:21:22 +00:00
|
|
|
<ElseFilter/>
|
|
|
|
<TextSymbolizer name="[label]" size="10" dy="-5" face-name="DejaVu Sans Book" halo-radius="1"/>
|
|
|
|
<PointSymbolizer/>
|
2010-11-16 08:21:57 +00:00
|
|
|
</Rule>
|
|
|
|
|
|
|
|
</Style>
|
|
|
|
|
|
|
|
<Layer name="point" srs="+init=epsg:4326">
|
|
|
|
<StyleName>1</StyleName>
|
|
|
|
<Datasource>
|
2010-11-16 22:03:34 +00:00
|
|
|
<Parameter name="string">
|
2010-11-16 08:21:57 +00:00
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"type": "FeatureCollection",
|
|
|
|
|
|
|
|
/* comment */
|
|
|
|
|
|
|
|
"features": [
|
|
|
|
|
|
|
|
{ "type": "Feature",
|
|
|
|
|
|
|
|
"properties": { "x": 0, "y": 0, "label": "0,0" },
|
|
|
|
"geometry" : { "type": "Point", "coordinates": [ 0, 0 ] }
|
|
|
|
},
|
|
|
|
{ "type": "Feature",
|
|
|
|
|
|
|
|
"properties": { "x": 5, "y": 5, "label": "5,5" },
|
|
|
|
"geometry" : { "type": "Point", "coordinates": [ 5, 5 ] }
|
|
|
|
},
|
|
|
|
{ "type": "Feature",
|
|
|
|
|
|
|
|
"properties": { "x": 0, "y": 0, "label": "0,5" },
|
|
|
|
"geometry" : { "type": "Point", "coordinates": [ 0, 5 ] }
|
|
|
|
},
|
|
|
|
{ "type": "Feature",
|
|
|
|
|
|
|
|
"properties": { "x": 5, "y": 0, "label": "5,0" },
|
|
|
|
"geometry" : { "type": "Point", "coordinates": [ 5, 0 ] }
|
|
|
|
},
|
|
|
|
{ "type": "Feature",
|
|
|
|
|
|
|
|
"properties": { "x": 2.5, "y": 2.5, "label": "2.5,2.5" },
|
|
|
|
"geometry" : { "type": "Point", "coordinates": [ 2.5, 2.5 ] }
|
|
|
|
},
|
|
|
|
|
|
|
|
]
|
|
|
|
}
|
|
|
|
|
|
|
|
</Parameter>
|
|
|
|
<Parameter name="layer_by_index">0</Parameter>
|
|
|
|
<Parameter name="type">ogr</Parameter>
|
|
|
|
</Datasource>
|
|
|
|
</Layer>
|
|
|
|
|
2011-02-05 03:21:22 +00:00
|
|
|
</Map>
|