Opened 16 years ago
Closed 15 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)
Change History (7)
by , 16 years ago
Attachment: | mapguide composite line style problem.png added |
---|
comment:1 by , 16 years ago
Component: | General → Rendering Service |
---|---|
Priority: | low → medium |
Severity: | trivial → major |
comment:2 by , 16 years ago
Cc: | added |
---|
comment:3 by , 16 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 , 16 years ago
Attachment: | FWY_TEST_SAMPLE_FILE_WITH_2_BUGS.mgp added |
---|
comment:4 by , 16 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 , 15 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
I believe that having the empty typestyles is a configuration error, and am closing this ticket.
Hi Zac, could you attach a package that we could use to reproduce this?