Hi Gunter, Had the same problem and didn't find the solution (yet), except for some extra stylization that mimics proper line stitching:
http://www.nabble.com/MGE%3A-Composite-line-styles-with-EndCaps-and-Roads-infrastructure-td12689297s16610.html#a12689297 http://www.nabble.com/MGE%3A-Composite-line-styles-with-EndCaps-and-Roads-infrastructure-td12689297s16610.html#a12689297 Regards, Maksim Sestic Gunter Becker wrote: > > 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-tp15560779s16610p15560798.html Sent from the MapGuide Users mailing list archive at Nabble.com. _______________________________________________ mapguide-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapguide-users
