Beispiel für „FeatureStyleRangeTheme“
Dies ist ein Beispiel für die Definition eines Bereichsdesigns. Beachten Sie, dass das sichtbare Attribut im zweiten „RangeThemeBin“ auf „falsch“ festgelegt wird. Daher findet der Stilbereich für diesen Bereich keine Anwendung.
<FeatureStyleRangeTheme
id="id6"
alias="Ranged Theme id6"
name="Ranges by Pop_1980">
<RangeValueExpression>
<NumericValueExpression>
<AttributeName>Pop_1980</AttributeName>
</NumericValueExpression>
</RangeValueExpression>
<RangeThemeBaseStyle applyStylePart="all">
<AreaStyle>
<LineStyle
stroke="rgb(0,0,0)"
stroke-opacity="1"
width="1"
width-unit="mapinfo:imagesize pixel">
<Pen>mapinfo:pen 2</Pen>
</LineStyle>
<Interior fill-opacity="1" fill="(#id7)">
<Defs>
<Pattern id="id7">
<Bitmap uri="mapinfo:brush 42">
<ColorAdjustmentSet>
<ColorAdjustment
color-1="nonWhite"
color-2="rgb(255,0,0)"
opacity="1"/>
<ColorAdjustment
color-1="rgb(255,255,255)"
color-2="rgb(255,255,255)"
opacity="1"/>
</ColorAdjustmentSet>
</Bitmap>
</Pattern>
</Defs>
</Interior>
</AreaStyle>
</RangeThemeBaseStyle>
<RangeThemeBinSet>
<RangeThemeBin>
<NumericRange>400000 1900000</NumericRange>
<CompositeStyle>
<LineStyle
stroke="rgb(0,0,0)"
stroke-opacity="1"
width="1"
width-unit="mapinfo:imagesize pixel">
<Pen>mapinfo:pen 2</Pen>
</LineStyle>
<AreaStyle>
<LineStyle
stroke="rgb(0,0,0)"
stroke-opacity="1"
width="1"
width-unit="mapinfo:imagesize pixel">
<Pen>mapinfo:pen 2</Pen>
</LineStyle>
<Interior fill-opacity="1" fill="(#id8)">
<Defs>
<Pattern id="id8">
<Bitmap uri="mapinfo:brush 3">
<ColorAdjustmentSet>
<ColorAdjustment
color-1="nonWhite"
color-2="rgb(0,0,0)"
opacity="1"/>
<ColorAdjustment
color-1="rgb(255,255,255)"
color-2="rgb(255,255,255)"
opacity="1"/>
</ColorAdjustmentSet>
</Bitmap>
</Pattern>
</Defs>
</Interior>
</AreaStyle>
<PointStyle>
<FontSymbol
text="""
size="12"
size-unit="mapinfo:length pt"
stroke="rgb(0,0,0)"
stroke-opacity="1"
family="MapInfo 3.0 Compatible"/>
</PointStyle>
</CompositeStyle>
</RangeThemeBin>
<RangeThemeBin visible="false">
<NumericRange>1900000 4600000</NumericRange>
<CompositeStyle>
<LineStyle
stroke="rgb(128,0,0)"
stroke-opacity="1"
width="1"
width-unit="mapinfo:imagesize pixel">
<Pen>mapinfo:pen 2</Pen>
</LineStyle>
<AreaStyle>
<LineStyle
stroke="rgb(0,0,0)"
stroke-opacity="1"
width="1"
width-unit="mapinfo:imagesize pixel">
<Pen>mapinfo:pen 2</Pen>
</LineStyle>
<Interior fill-opacity="1" fill="rgb(128,0,0)"/>
</AreaStyle>
<PointStyle>
<FontSymbol
text="""
size="12"
size-unit="mapinfo:length pt"
stroke="rgb(128,0,0)"
stroke-opacity="1"
family="MapInfo 3.0 Compatible"/>
</PointStyle>
</CompositeStyle>
</RangeThemeBin>
<RangeThemeBin>
<NumericRange>4600000 23700000</NumericRange>
<CompositeStyle>
<LineStyle
stroke="rgb(255,0,0)"
stroke-opacity="1"
width="1"
width-unit="mapinfo:imagesize pixel">
<Pen>mapinfo:pen 2</Pen>
</LineStyle>
<AreaStyle>
<LineStyle
stroke="rgb(0,0,0)"
stroke-opacity="1"
width="1"
width-unit="mapinfo:imagesize pixel">
<Pen>mapinfo:pen 2</Pen>
</LineStyle>
<Interior fill-opacity="1" fill="(#id9)">
<Defs>
<Pattern id="id9">
<Bitmap uri="mapinfo:brush 42">
<ColorAdjustmentSet>
<ColorAdjustment
color-1="nonWhite"
color-2="rgb(255,0,0)"
opacity="1"/>
<ColorAdjustment
color-1="rgb(255,255,255)"
color-2="rgb(255,255,255)"
opacity="1"/>
</ColorAdjustmentSet>
</Bitmap>
</Pattern>
</Defs>
</Interior>
</AreaStyle>
<PointStyle>
<FontSymbol
text="""
size="12"
size-unit="mapinfo:length pt"
stroke="rgb(255,0,0)"
stroke-opacity="1"
family="MapInfo 3.0 Compatible"/>
</PointStyle>
</CompositeStyle>
</RangeThemeBin>
<AllOthersStyle>
<CompositeStyle>
<LineStyle
stroke="rgb(255,255,255)"
stroke-opacity="1"
width="1"
width-unit="mapinfo:imagesize pixel">
<Pen>mapinfo:pen 2</Pen>
</LineStyle>
<AreaStyle>
<LineStyle
stroke="rgb(0,0,0)"
stroke-opacity="1"
width="1"
width-unit="mapinfo:imagesize pixel">
<Pen>mapinfo:pen 2</Pen>
</LineStyle>
<Interior fill-opacity="1" fill="rgb(255,255,255)"/>
</AreaStyle>
<PointStyle>
<FontSymbol
text="("
size="12"
size-unit="mapinfo:length pt"
stroke="rgb(255,255,255)"
stroke-opacity="1"
family="MapInfo 3.0 Compatible"/>
</PointStyle>
</CompositeStyle>
</AllOthersStyle>
</RangeThemeBinSet>
<RangeThemeBinValueConstraints>
<RangeSpreadMethod allowEmptyRanges="false">equalCount</RangeSpreadMethod>
<RoundTo>100000</RoundTo>
</RangeThemeBinValueConstraints>
<RangeThemeBinStyleConstraints spreadMethod="color">
<ColorSpreadMethod>rgb</ColorSpreadMethod>
<SizeSpreadMethod>sqrt</SizeSpreadMethod>
</RangeThemeBinStyleConstraints>
</FeatureStyleRangeTheme>