mapnik/plugins/input/templates/helloworld/test.xml

19 lines
819 B
XML
Raw Normal View History

2011-04-09 05:35:25 +00:00
<Map srs="+init=epsg:4326" background-color="white" minimum-version="0.7.2">
<Style name="style">
<Rule>
2011-04-09 05:35:25 +00:00
<PointSymbolizer/>
<!-- the hello world sample hardcodes 'key' as the hypothetical field name -->
2011-04-09 05:35:25 +00:00
<TextSymbolizer name="[key]" size="10" dx="5" dy="5" face-name="DejaVu Sans Book"/>
<LineSymbolizer stroke="green" stroke-width="3"/>
</Rule>
</Style>
<!-- this example only works in EPSG:4326 -->
<Layer name="test" srs="+init=epsg:4326">
<StyleName>style</StyleName>
<Datasource>
<!-- here we create a 'hello' type datasource which simply
displays a point in the middle of the world's boundin box -->
<Parameter name="type">hello</Parameter>
</Datasource>
</Layer>
</Map>