[mapguide-users] Compound line with Cartographic Stylization Engine
Gunter Becker
gunter.becker at CSOGIS.DE
Tue Feb 19 09:22:59 EST 2008
Hi all,
I would like to have a compound line symbol for street stylization like I
can do with basic stylization in MapGuide Studio. Now I've created a
SimpleSymbolDefinition called SolidLine and use this two times in the
CompositeSymbolization of my LayerDefintion. My problem is that the line
features were not melting with each other (see image).
http://www.nabble.com/file/p15560779/CompoundLine.png
Has someone done this with success.
Thanks, Gunter
The 'SolidLine' SymbolDefinition:
<SimpleSymbolDefinition>
<Name>SolidLine</Name>
<Graphics>
<Path>
<Geometry>M 0.0,0.0 L 1.0,0.0</Geometry>
<LineColor>%LINE_COLOR%</LineColor>
<LineWeight>%LINE_WEIGHT%</LineWeight>
<LineCap>'Round'</LineCap>
<LineJoin>'Round'</LineJoin>
</Path>
</Graphics>
<LineUsage>
<Repeat>1</Repeat>
</LineUsage>
<ParameterDefinition>
<Parameter> ... </Parameter>
<Parameter> ... </Parameter>
</ParameterDefinition>
</SimpleSymbolDefinition>
I use it in my LayerDefinition as follows:
<CompositeSymbolization>
<SymbolInstance>
<ResourceId>Library://Symbols/SolidLine.SymbolDefinition</ResourceId>
<ParameterOverrides>
<Override>
<SymbolName>SolidLine</SymbolName>
<ParameterIdentifier>LINE_COLOR</ParameterIdentifier>
<ParameterValue>FF8E6D09</ParameterValue>
</Override>
<Override>
<SymbolName>SolidLine</SymbolName>
<ParameterIdentifier>LINE_WEIGHT</ParameterIdentifier>
<ParameterValue>3.5</ParameterValue>
</Override>
</ParameterOverrides>
</SymbolInstance>
<SymbolInstance>
<ResourceId>Library://Symbols/SolidLine.SymbolDefinition</ResourceId>
<ParameterOverrides>
<Override>
<SymbolName>SolidLine</SymbolName>
<ParameterIdentifier>LINE_COLOR</ParameterIdentifier>
<ParameterValue>FFFFFA73</ParameterValue>
</Override>
<Override>
<SymbolName>SolidLine</SymbolName>
<ParameterIdentifier>LINE_WEIGHT</ParameterIdentifier>
<ParameterValue>3.0</ParameterValue>
</Override>
</ParameterOverrides>
</SymbolInstance>
--
View this message in context: http://www.nabble.com/Compound-line-with-Cartographic-Stylization-Engine-tp15560779s16610p15560779.html
Sent from the MapGuide Users mailing list archive at Nabble.com.
More information about the mapguide-users
mailing list