[mapguide-users] Compound line with Cartographic Stylization
Engine
Traian Stanev
traian.stanev at autodesk.com
Tue Feb 19 09:30:21 EST 2008
Try adding setting a RenderingPass tag as follows:
> <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>
<RenderingPass>0</RenderingPass>
> </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>
<RenderingPass>1</RenderingPass>
> </SymbolInstance>
Traian
> -----Original Message-----
> From: mapguide-users-bounces at lists.osgeo.org [mailto:mapguide-users-
> bounces at lists.osgeo.org] On Behalf Of Gunter Becker
> Sent: Tuesday, February 19, 2008 9:23 AM
> To: mapguide-users at lists.osgeo.org
> Subject: [mapguide-users] Compound line with Cartographic Stylization
> Engine
>
>
> 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.
>
> _______________________________________________
> mapguide-users mailing list
> mapguide-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapguide-users
More information about the mapguide-users
mailing list