mapnik/tests/data/python_plugin/python_circle_datasource.xml
2013-01-25 00:49:55 -08:00

50 lines
1.7 KiB
XML

<!DOCTYPE Map>
<Map background-color="#b5d0d0" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs" minimum-version="0.7.2">
<Style name="1">
<Rule>
<LineSymbolizer stroke="rgb(80%,0%,0%)" />
</Rule>
</Style>
<Style name="2">
<Rule>
<LineSymbolizer stroke="rgb(0%,80%,0%)" />
</Rule>
</Style>
<Style name="3">
<Rule>
<LineSymbolizer stroke="rgb(0%,0%,80%)" />
</Rule>
</Style>
<Layer name="circles1" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>1</StyleName>
<Datasource>
<Parameter name="type">python</Parameter>
<Parameter name="factory">python_plugin_test:CirclesDatasource</Parameter>
</Datasource>
</Layer>
<Layer name="circles2" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>2</StyleName>
<Datasource>
<Parameter name="type">python</Parameter>
<Parameter name="factory">python_plugin_test:CirclesDatasource</Parameter>
<Parameter name="centre_x">-20</Parameter>
<Parameter name="centre_y">50</Parameter>
</Datasource>
</Layer>
<Layer name="circles3" srs="+proj=longlat +ellps=WGS84 +datum=WGS84 +no_defs">
<StyleName>3</StyleName>
<Datasource>
<Parameter name="type">python</Parameter>
<Parameter name="factory">python_plugin_test:CirclesDatasource</Parameter>
<Parameter name="centre_x">60</Parameter>
<Parameter name="centre_y">140</Parameter>
<Parameter name="step">20</Parameter>
</Datasource>
</Layer>
</Map>