carto/test/rendering/filtervariable.result
2014-06-11 17:52:06 +02:00

27 lines
833 B
XML

<?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" >
<Style name="world" filter-mode="first">
<Rule>
<Filter>([COUNTRY] != 'US')</Filter>
<PolygonSymbolizer fill="#ff0000" />
</Rule>
<Rule>
<Filter>([COUNTRY] = 'US')</Filter>
<PolygonSymbolizer fill="#000000" />
</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>