Opened 12 years ago

#4105 new defect

Polygon legend problem

Reported by: zanollim Owned by: tbonfort
Priority: normal Milestone:
Component: Renderer API Version: 6.0
Severity: normal Keywords:
Cc:

Description

If I define my polygon layer as LINE as follows:

[...]
TYPE LINE
STYLE
  WIDTH 4
  LINECAP round
  OUTLINECOLOR 0 0 0
  PATTERN 0.1 6 END
END
[...]

the legend icon obtained through cgi is correct (see line_legend.png)

If I define the same layer as POLYGON as follows:

[...]
TYPE POLYGON
STYLE
  COLOR 255 255 255
END
STYLE
  WIDTH 4
  LINECAP round
  OUTLINECOLOR 0 0 0
  PATTERN 0.1 6 END
END
[...]

the legend icon is wrong, e.g. points are cut in the middle (see polygon_legend.png)

Attachments (2)

line_legend.png (1.9 KB ) - added by zanollim 12 years ago.
polygon_legend.png (398 bytes ) - added by zanollim 12 years ago.

Download all attachments as: .zip

Change History (2)

by zanollim, 12 years ago

Attachment: line_legend.png added

by zanollim, 12 years ago

Attachment: polygon_legend.png added
Note: See TracTickets for help on using tickets.