88 lines
2.7 KiB
XML
88 lines
2.7 KiB
XML
|
<!DOCTYPE Map>
|
||
|
<Map background-color="#b5d0d0" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" minimum-version="0.7.2">
|
||
|
<Parameters>
|
||
|
<Parameter name="sizes">512,512</Parameter>
|
||
|
</Parameters>
|
||
|
<Style name="1">
|
||
|
<Rule>
|
||
|
<TextSymbolizer
|
||
|
size="30"
|
||
|
allow-overlap="true"
|
||
|
face-name="DejaVu Sans Book"
|
||
|
wrap-width="1"
|
||
|
wrap-character="[wrap-character]"
|
||
|
wrap-before="false"
|
||
|
character-spacing="5"
|
||
|
repeat-wrap-character="[repeat-wrap-character]"
|
||
|
halo-radius="1">'XXX XXX XXX'</TextSymbolizer>
|
||
|
<DebugSymbolizer mode="vertex"/>
|
||
|
<DebugSymbolizer mode="collision"/>
|
||
|
</Rule>
|
||
|
</Style>
|
||
|
|
||
|
<Layer name="point" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||
|
<StyleName>1</StyleName>
|
||
|
<Datasource>
|
||
|
<Parameter name="inline">
|
||
|
|
||
|
{
|
||
|
"type": "FeatureCollection",
|
||
|
|
||
|
"features": [
|
||
|
|
||
|
{ "type": "Feature",
|
||
|
"properties": {
|
||
|
"label": "this,that",
|
||
|
"wrap-character":" ",
|
||
|
"repeat-wrap-character":false
|
||
|
},
|
||
|
"geometry" : { "type": "Point", "coordinates": [ 2.5, 2.5 ] }
|
||
|
},
|
||
|
{ "type": "Feature",
|
||
|
"properties": {
|
||
|
"label": "this-that",
|
||
|
"wrap-character":"X",
|
||
|
"repeat-wrap-character":false
|
||
|
},
|
||
|
"geometry" : { "type": "Point", "coordinates": [ 0, 5 ] }
|
||
|
},
|
||
|
{ "type": "Feature",
|
||
|
"properties": {
|
||
|
"label": "this-that",
|
||
|
"wrap-character":"X",
|
||
|
"repeat-wrap-character":true
|
||
|
},
|
||
|
"geometry" : { "type": "Point", "coordinates": [ 5, 0 ] }
|
||
|
}
|
||
|
]
|
||
|
}
|
||
|
|
||
|
</Parameter>
|
||
|
<Parameter name="type">geojson</Parameter>
|
||
|
</Datasource>
|
||
|
</Layer>
|
||
|
|
||
|
<!-- points to frame data view -->
|
||
|
|
||
|
<Style name="frame">
|
||
|
<Rule>
|
||
|
<PointSymbolizer />
|
||
|
</Rule>
|
||
|
</Style>
|
||
|
|
||
|
<Layer name="frame" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
|
||
|
<StyleName>frame</StyleName>
|
||
|
<Datasource>
|
||
|
<Parameter name="type">csv</Parameter>
|
||
|
<Parameter name="inline">
|
||
|
x,y
|
||
|
-1,-1
|
||
|
6,-1
|
||
|
-1,6
|
||
|
6,6
|
||
|
</Parameter>
|
||
|
</Datasource>
|
||
|
</Layer>
|
||
|
|
||
|
</Map>
|