Opened 13 years ago

Closed 13 years ago

#3632 closed defect (fixed)

Controling outline width with SYMBOLSCALE set for polygons...

Reported by: sdlime Owned by: tbonfort
Priority: normal Milestone: 6.0 release
Component: Renderer API Version: svn-trunk (development)
Severity: normal Keywords:
Cc:

Description

I'm running into an issue with 6.0 where I can't control min/max outline widths for polygons. In the past this worked (assuming a SYMBOLSCALE is set):

  STYLE
    SIZE 1 MINSIZE 1 MAXSIZE 1
    OUTLINECOLOR 0 153 204
    COLOR 102 204 255  
  END

In 6.0 the outline width is not constrained. I also tried:

  STYLE
    SIZE 1 MINSIZE 1 MAXSIZE 1
    WIDTH 1 MINWIDTH 1 MAXWIDTH 1
    OUTLINECOLOR 0 153 204
    COLOR 102 204 255  
  END

No luck. Don't know if this is a bug or a documentation issue...

Steve

Attachments (1)

3632.patch (639 bytes ) - added by sdlime 13 years ago.
Patch to fix the bug for simple polygons.

Download all attachments as: .zip

Change History (3)

by sdlime, 13 years ago

Attachment: 3632.patch added

Patch to fix the bug for simple polygons.

comment:1 by sdlime, 13 years ago

I've attached a simple patch that uses min/max width for simple polygons. I didn't apply since I don't know if the current behavior is preferred. Seems like this could be supported for other types of fills that don't use the outlinecolor otherwise...

Steve

comment:2 by tbonfort, 13 years ago

Resolution: fixed
Status: newclosed

I think it makes sense to apply the scalefactor here.

the fix could also be added for controlling the width of a hatch symbol (The other cases seem to be already covered)

commited in r10783

Note: See TracTickets for help on using tickets.