improve the datasource test
This commit is contained in:
parent
21865fdba1
commit
bdb454653a
1 changed files with 11 additions and 4 deletions
|
@ -1,14 +1,21 @@
|
|||
<!-- see: http://trac.mapnik.org/changeset/574 -->
|
||||
<Map bgcolor="steelblue" srs="+proj=longlat +ellps=airy +datum=OSGB36 +no_defs">
|
||||
|
||||
<Style name="test">
|
||||
<Rule>
|
||||
<PolygonSymbolizer />
|
||||
</Rule>
|
||||
</Style>
|
||||
|
||||
<Datasource name="shp">
|
||||
<Parameter name="file">../../data/shp/poly.shp</Parameter>
|
||||
<Parameter name="type">shape</Parameter>
|
||||
<Parameter name="base">../../data/shp/</Parameter>
|
||||
</Datasource>
|
||||
|
||||
<Layer name="lay" srs="+proj=longlat +ellps=airy +datum=OSGB36 +no_defs">
|
||||
<StyleName>test</StyleName>
|
||||
<Datasource base="shp">
|
||||
<Parameter name="type">shape</Parameter>
|
||||
<Parameter name="file">poly.shp</Parameter>
|
||||
</Datasource>
|
||||
</Layer>
|
||||
|
||||
|
|
Loading…
Reference in a new issue