Opened 15 years ago

Closed 14 years ago

#773 closed defect (invalid)

Composite line styles don’t connect cleanly leaving a “black” join mark

Reported by: zspitzer Owned by:
Priority: medium Milestone:
Component: Rendering Service Version: 2.0.2
Severity: major Keywords:
Cc: waltweltonlair External ID:

Description

When using composite lines the join at the node points do not render cleanly leaving a black join mark which is the lowest colour in the composite line. Maybe the line joins need to be set as ”round caps” rather than “square butt caps” for any additional line style set as a composite line.

Attachments (2)

mapguide composite line style problem.png (12.2 KB ) - added by zspitzer 15 years ago.
FWY_TEST_SAMPLE_FILE_WITH_2_BUGS.mgp (156.3 KB ) - added by zspitzer 15 years ago.

Download all attachments as: .zip

Change History (7)

comment:1 by zspitzer, 15 years ago

Component: GeneralRendering Service
Priority: lowmedium
Severity: trivialmajor

comment:2 by tomfukushima, 15 years ago

Cc: waltweltonlair added

Hi Zac, could you attach a package that we could use to reproduce this?

comment:3 by zspitzer, 15 years ago

Attached is the mgp of the composite line style bug where the lines do not join correctly.

May have something to do with the rendering pass as in composite symbol styles, or the second (top) line needs a different end cap style (say square join) instead of round join as in the first line pass. Sometimes you want this to happen with a single line only not lines that join. Maybe the form where you set the composite line style could have line joins buttons added so the user can select what type they need for the feature.

by zspitzer, 15 years ago

comment:4 by waltweltonlair, 15 years ago

I noticed the same problem while looking at the data attached to ticket 732. For that data set, the problem is that the layer definitions have empty PointTypeStyle and AreaTypeStyle elements (in addition to the LineTypeStyle). This interferes with the code which checks if we should display a composite line style. The check fails, and so the code ends up treating the LineTypeStyle as a non-composite.

A quick workaround is to remove the empty PointTypeStyle and AreaTypeStyle elements from your layer definition XML.

comment:5 by jbirch, 14 years ago

Resolution: invalid
Status: newclosed

I believe that having the empty typestyles is a configuration error, and am closing this ticket.

Note: See TracTickets for help on using tickets.