[mapserver-dev] ticket 3153 fixed in MapServer 6.0?
Worth Lutz
wal3 at mindspring.com
Tue May 24 17:30:27 EDT 2011
Is this ticket http://trac.osgeo.org/mapserver/ticket/3153 fixed in
MapServer 6. I am using version 6.
I've spent some time today tracking down a problem with changing my
resolution of my map from 72 to 300.
I scaled up the width and height and changed the resolution. Defresolution
was left at the default.
I displayed the two maps on the screen with the same height and width. The
two maps should have looked the same but the labels were tiny on the map
with a resolution of 300.
After much google searching, testing and head scratching, I finally figured
out that it was a "MAXSCALE" value in the layer in the mapfile. The "SIZE"
was set to 7 and the "MAXSCALE" set to 7. Removing the "MAXSCALE" value
fixed this layer. There was no SYMBOLSCALEDENOM in this layer. Thus this
was not a good test.
Now looking at another I am seeing a problem with another layer. Layer
definition below.
The labels on the State Roads are good with resolution at 72 and tiny with
resolution set to 300.
If I remove the three lines, SYMBOLSCALEDENOM, MAXSIZE, MINSIZE, I get
identical maps at both resolutions.
Am I doing something wrong or is this a bug I should report?
Worth Lutz
LAYER
NAME "highways_anno"
GROUP "NCDOT_trans_grp"
STATUS off
TYPE ANNOTATION
DATA "/data/NCDOT/shapefiles/LRS_Arcs"
MAXSCALEDENOM 3750001
TEMPLATE void
CLASSITEM "rte_1_clss"
LABELITEM "rte_1_nbr"
SYMBOLSCALEDENOM 1000
CLASS
EXPRESSION "SR" # State Roads
MAXSCALEDENOM 25001
COLOR 0 0 0 # dummy color
TEXT "(SR[rte_1_nbr])"
LABEL
BUFFER 15
TYPE TRUETYPE
MINFEATURESIZE 5
MINDISTANCE 150
POSITION auto
ALIGN center
ANGLE follow
FONT vera
ANTIALIAS true
SIZE 11
MAXSIZE 11
MINSIZE 6
COLOR 0 0 255
END
END
END
Worth Lutz
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20110524/5e8de228/attachment-0001.html
More information about the mapserver-dev
mailing list