Change field result, fix building height result.

This commit is contained in:
Tom MacWright 2012-06-26 14:41:13 -04:00
parent d244fd0da8
commit 672a271cbe
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,20 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE Map[]>
<Map srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over" maximum-extent="-20037508.34,-20037508.34,20037508.34,20037508.34">
<Style name="world" filter-mode="first" >
<Rule>
<BuildingSymbolizer height="6*[HEIGHT]+2+[NOTHEIGHT]+8" />
</Rule>
</Style>
<Layer name="world"
srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over">
<StyleName>world</StyleName>
<Datasource>
<Parameter name="file"><![CDATA[[absolute path]]]></Parameter>
<Parameter name="type"><![CDATA[shape]]></Parameter>
</Datasource>
</Layer>
</Map>

View File

@ -8,7 +8,7 @@
</FontSet> </FontSet>
<Style name="world" filter-mode="first" > <Style name="world" filter-mode="first" >
<Rule> <Rule>
<TextSymbolizer size="11" fontset-name="fontset-0" ><![CDATA[hello [NAME]]]></TextSymbolizer> <TextSymbolizer size="11" fontset-name="fontset-0" ><![CDATA[hello +[NAME]]]></TextSymbolizer>
</Rule> </Rule>
</Style> </Style>
<Layer name="world" <Layer name="world"