2011-02-05 04:21:22 +01:00
|
|
|
<!DOCTYPE Map>
|
2013-01-25 09:49:55 +01:00
|
|
|
<Map background-color="#b5d0d0" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" minimum-version="0.7.2">
|
2010-12-10 19:40:07 +01:00
|
|
|
<Style name="1">
|
|
|
|
<Rule>
|
|
|
|
<Filter>([label]='center')</Filter>
|
2014-08-04 21:52:46 +02:00
|
|
|
<TextSymbolizer size="10" dy="-5" face-name="DejaVu Sans Book" wrap-width="1" halo-radius="1">'one
|
2011-10-03 22:24:51 +02:00
|
|
|
two
|
|
|
|
three'</TextSymbolizer>
|
2011-02-05 04:21:22 +01:00
|
|
|
<PointSymbolizer/>
|
2010-12-10 19:40:07 +01:00
|
|
|
</Rule>
|
|
|
|
<Rule>
|
2011-02-05 04:21:22 +01:00
|
|
|
<ElseFilter/>
|
2014-08-04 21:52:46 +02:00
|
|
|
<TextSymbolizer size="10" dy="-5" face-name="DejaVu Sans Book" wrap-width="1" halo-radius="1">[label]</TextSymbolizer>
|
2011-02-05 04:21:22 +01:00
|
|
|
<PointSymbolizer/>
|
2010-12-10 19:40:07 +01:00
|
|
|
</Rule>
|
|
|
|
</Style>
|
|
|
|
|
2013-01-25 09:49:55 +01:00
|
|
|
<Layer name="point" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
2010-12-10 19:40:07 +01:00
|
|
|
<StyleName>1</StyleName>
|
|
|
|
<Datasource>
|
|
|
|
<Parameter name="string">
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
"type": "FeatureCollection",
|
|
|
|
|
|
|
|
/* comment */
|
|
|
|
|
|
|
|
"features": [
|
|
|
|
|
|
|
|
{ "type": "Feature",
|
|
|
|
|
|
|
|
"properties": { "x": 0, "y": 0, "label": "0\n0" },
|
|
|
|
"geometry" : { "type": "Point", "coordinates": [ 0, 0 ] }
|
|
|
|
},
|
|
|
|
{ "type": "Feature",
|
|
|
|
|
|
|
|
"properties": { "x": 5, "y": 5, "label": "5\n5" },
|
|
|
|
"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": "center" },
|
|
|
|
"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 04:21:22 +01:00
|
|
|
</Map>
|