Opened 13 years ago
Closed 13 years ago
#3954 closed defect (invalid)
Broken legend for layers with dash patterns
Reported by: | fgagnon | Owned by: | sdlime |
---|---|---|---|
Priority: | normal | Milestone: | |
Component: | MapServer C Library | Version: | 5.6 |
Severity: | normal | Keywords: | Legend, Pattern |
Cc: |
Description
Auto-generated legend icons (from GetLegendGraphic) for layers with dashes represent associated features very poorly.
Tested in both version 5.6.3 and 6.0.0.
Attachments (1)
Change History (2)
by , 13 years ago
Attachment: | legend_demo.map added |
---|
comment:1 by , 13 years ago
Resolution: | → invalid |
---|---|
Status: | new → closed |
The syntax you are using is for placing symbols along a line, not for drawing dashed patterns.
try with this:
STYLE COLOR 100 100 100 WIDTH 4 PATTERN 1 3 END LINECAP BUTT END
This doesn't resolve the legend issue though, but anyhow rendering a wide dashed line on a tiny icon will not give a good result (try increasing the legend icon size)
Note:
See TracTickets
for help on using tickets.
Sample MapFile (Valid for 5.6.3 and 6.0.0)