carto/test/rendering/complex_cascades.result
2011-05-12 11:33:58 -07:00

73 lines
2.5 KiB
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 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over">
<Style name="world" filter-mode="first">
<Rule>
<MaxScaleDenominator>12500000</MaxScaleDenominator>
<Filter>([NAME] = 'United States')</Filter>
<PolygonSymbolizer fill="#666666"/>
<LineSymbolizer stroke="#ff0000" stroke-width="0.5" />
</Rule>
<Rule>
<MinScaleDenominator>12500000</MinScaleDenominator>
<Filter>([NAME] = 'United States')</Filter>
<PolygonSymbolizer fill="#cccccc"/>
<LineSymbolizer stroke="#ff0000" stroke-width="0.5" />
</Rule>
<Rule>
<Filter>([NAME] = 'Canada')</Filter>
<PolygonSymbolizer fill="#eeeeee"/>
<LineSymbolizer stroke="#cccccc" stroke-width="1" />
</Rule>
<Rule>
<PolygonSymbolizer fill="#ffffff"/>
<LineSymbolizer stroke="#ff0000" stroke-width="0.5" />
</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 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over">
<StyleName>world</StyleName>
<Datasource>
<Parameter name="file">[absolute path]</Parameter>
<Parameter name="type">shape</Parameter>
</Datasource>
</Layer>
<Style name="countries" filter-mode="first">
<Rule>
<MaxScaleDenominator>12500000</MaxScaleDenominator>
<Filter>([NAME] = 'United States')</Filter>
<PolygonSymbolizer fill="#aaffcc" />
<LineSymbolizer stroke-width="0.5" stroke="#cccccc" />
</Rule>
<Rule>
<MinScaleDenominator>12500000</MinScaleDenominator>
<Filter>([NAME] = 'United States')</Filter>
<PolygonSymbolizer fill="#eeeeee" />
<LineSymbolizer stroke="#cccccc" stroke-width="1" />
</Rule>
<Rule>
<MaxScaleDenominator>12500000</MaxScaleDenominator>
<LineSymbolizer stroke-width="0.5" stroke="#cccccc" />
<PolygonSymbolizer fill="#eeeeee" />
</Rule>
<Rule>
<MinScaleDenominator>12500000</MinScaleDenominator>
<PolygonSymbolizer fill="#eeeeee" />
<LineSymbolizer stroke="#cccccc" stroke-width="1" />
</Rule>
</Style>
<Layer
name="countries"
srs="+proj=merc +a=6378137 +b=6378137 +lat_ts=0.0 +lon_0=0.0 +x_0=0.0 +y_0=0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over">
<StyleName>countries</StyleName>
<Datasource>
<Parameter name="file">[absolute path]</Parameter>
<Parameter name="type">shape</Parameter>
</Datasource>
</Layer>
</Map>