Polygon legend problem #4105

Closed
wants to merge 1 commit into
from

Projects

None yet

3 participants

@mapserver-bot

Reporter: zanollim
Date: 2011/12/02 - 10:26
Trac URL: http://trac.osgeo.org/mapserver/ticket/4105
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)

@tbonfort tbonfort was assigned Apr 5, 2012
@tbonfort
Member
tbonfort commented Apr 4, 2013

cc/ @zanollim

@sdlime
Member
sdlime commented Apr 4, 2013

Good catch and fix... --Steve

@tbonfort
Member
tbonfort commented Apr 8, 2013

rebased and added to master in f87ab84

@tbonfort tbonfort closed this Apr 8, 2013
@tbonfort tbonfort added a commit to mapserver/msautotest_DEPRECATED that referenced this pull request Apr 9, 2013
@tbonfort tbonfort update expected results 81855da
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment