Opened 15 years ago

Closed 13 years ago

#3132 closed defect (fixed)

WIDTH of HATCH lines does not scale with AGG

Reported by: havatv Owned by: tbonfort
Priority: normal Milestone: 6.0 release
Component: AGG Version: 5.4
Severity: normal Keywords:
Cc:

Description

When using scalable symbols (SYMBOLSCALEDENOM) with AGG, hatches are not scaled correctly. The inter-line distance can be specified using (STYLE) SIZE, and is scaled correctly. The width of the lines in the hatch can be specified using (STYLE) WIDTH, but the line width is not scaled. Scaling of HATCH symbols works as expected with GD. Mapserver 5.4.2.

  SYMBOL
    NAME "hatch"
    TYPE HATCH
  END

...
    SYMBOLSCALEDENOM 2650
...
      STYLE
	SYMBOL "hatch" # scaling does not work with AGG - SIZE scales, but not WIDTH
	ANGLE 90
	SIZE 72
	WIDTH 12
	COLOR 61 255 23
      END # style

Attachments (2)

hatch_small_scale.png (9.2 KB ) - added by havatv 15 years ago.
hatch_large_scale.png (43.3 KB ) - added by havatv 15 years ago.

Download all attachments as: .zip

Change History (4)

by havatv, 15 years ago

Attachment: hatch_small_scale.png added

by havatv, 15 years ago

Attachment: hatch_large_scale.png added

comment:1 by tbonfort, 15 years ago

Milestone: 6.0 release

comment:2 by tbonfort, 13 years ago

Resolution: fixed
Status: newclosed

verified and tweaked in trunk in r11314.

looking at the 5.6 code, it would seem that this has been fixed. please reopen if this isn't the case.

Note: See TracTickets for help on using tickets.