carto/test/rendering/partial_overrides.result

107 lines
4.1 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.0 +k=1.0 +units=m +nadgrids=@null +wktext +no_defs +over">
<Style name="world" filter-mode="first" >
<Rule>
<MaxScaleDenominator>1500000</MaxScaleDenominator>
<Filter>([NAME] = 'United States') and ([POP] &gt; 100000000)</Filter>
<LineSymbolizer stroke-opacity="0.5" stroke-width="20" stroke="#ff0000" />
</Rule>
<Rule>
<MaxScaleDenominator>12500000</MaxScaleDenominator>
<MinScaleDenominator>1500000</MinScaleDenominator>
<Filter>([NAME] = 'United States') and ([POP] &gt; 100000000)</Filter>
<LineSymbolizer stroke-width="20" stroke-opacity="0.7" stroke="#ff0000" />
</Rule>
<Rule>
<MaxScaleDenominator>100000000</MaxScaleDenominator>
<MinScaleDenominator>12500000</MinScaleDenominator>
<Filter>([NAME] = 'United States') and ([POP] &gt; 100000000)</Filter>
<LineSymbolizer stroke-width="20" stroke="#ff0000" stroke-opacity="0.2" />
</Rule>
<Rule>
<MinScaleDenominator>100000000</MinScaleDenominator>
<Filter>([NAME] = 'United States') and ([POP] &gt; 100000000)</Filter>
<LineSymbolizer stroke-width="20" stroke="#ff0000" />
</Rule>
<Rule>
<MaxScaleDenominator>1500000</MaxScaleDenominator>
<Filter>([NAME] = 'United States')</Filter>
<LineSymbolizer stroke-opacity="0.5" stroke="#ff0000" stroke-width="5" />
</Rule>
<Rule>
<MaxScaleDenominator>12500000</MaxScaleDenominator>
<MinScaleDenominator>1500000</MinScaleDenominator>
<Filter>([NAME] = 'United States')</Filter>
<LineSymbolizer stroke-opacity="0.7" stroke="#ff0000" stroke-width="5" />
</Rule>
<Rule>
<MaxScaleDenominator>100000000</MaxScaleDenominator>
<MinScaleDenominator>12500000</MinScaleDenominator>
<Filter>([NAME] = 'United States')</Filter>
<LineSymbolizer stroke="#ff0000" stroke-width="5" stroke-opacity="0.2" />
</Rule>
<Rule>
<MinScaleDenominator>100000000</MinScaleDenominator>
<Filter>([NAME] = 'United States')</Filter>
<LineSymbolizer stroke="#ff0000" stroke-width="5" />
</Rule>
<Rule>
<MaxScaleDenominator>12500000</MaxScaleDenominator>
<Filter>([NAME] != 'Canada') and ([POP] &gt; 100000000)</Filter>
<LineSymbolizer stroke-width="20" stroke-opacity="0.7" />
</Rule>
<Rule>
<MaxScaleDenominator>100000000</MaxScaleDenominator>
<MinScaleDenominator>12500000</MinScaleDenominator>
<Filter>([NAME] != 'Canada') and ([POP] &gt; 100000000)</Filter>
<LineSymbolizer stroke-width="20" stroke-opacity="0.2" />
</Rule>
<Rule>
<MinScaleDenominator>100000000</MinScaleDenominator>
<Filter>([NAME] != 'Canada') and ([POP] &gt; 100000000)</Filter>
<LineSymbolizer stroke-width="20" />
</Rule>
<Rule>
<MaxScaleDenominator>12500000</MaxScaleDenominator>
<Filter>([NAME] != 'Canada')</Filter>
<LineSymbolizer stroke-opacity="0.7" stroke-width="5" />
</Rule>
<Rule>
<MaxScaleDenominator>100000000</MaxScaleDenominator>
<MinScaleDenominator>12500000</MinScaleDenominator>
<Filter>([NAME] != 'Canada')</Filter>
<LineSymbolizer stroke-width="5" stroke-opacity="0.2" />
</Rule>
<Rule>
<MinScaleDenominator>100000000</MinScaleDenominator>
<Filter>([NAME] != 'Canada')</Filter>
<LineSymbolizer stroke-width="5" />
</Rule>
<Rule>
<MaxScaleDenominator>1500000</MaxScaleDenominator>
<LineSymbolizer stroke-opacity="0.4" stroke-width="3" />
</Rule>
<Rule>
<MaxScaleDenominator>100000000</MaxScaleDenominator>
<MinScaleDenominator>1500000</MinScaleDenominator>
<LineSymbolizer stroke-opacity="0.2" stroke-width="3" />
</Rule>
<Rule>
<MinScaleDenominator>100000000</MinScaleDenominator>
<LineSymbolizer stroke-width="3" />
</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>