Ticket #3153 (closed defect: fixed)
STYLE->MAXWIDTH, MINWIDTH, MINSIZE, MAXSIZE are not scaled with resolution
| Reported by: | aboudreault | Owned by: | aboudreault |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.0 release |
| Component: | MapServer C Library | Version: | svn-trunk (development) |
| Severity: | normal | Keywords: | resolution style maxwidth |
| Cc: | dmorissette, assefa, cnieman, tbonfort |
Description
cnieman reported:
When we scaled these styles for print [(width/resolution)*dpi] which was, for example, in the first class of the attached sample, [(16/96)*300 = 50] and [(10/96)*300 = 31.25] we found that the ratio between the two line >widths was not consistent with what was displayed with no scaling; the line that should have >had a width of 50 was only getting drawn with a width of 32 because of the default MAXWIDTH >value. When MAXWIDTH was set using the same scaling calculation, the lines were drawn with the >correct ratio between the widths.
An example with three line styles can be downloaded at this url: http://trac.osgeo.org/mapserver/attachment/ticket/2948/MAXWIDTH_example.zip
