[mapserver-dev] ticket 3153 fixed in MapServer 6.0?
Brent Fraser
bfraser at geoanalytic.com
Tue May 24 17:36:47 EDT 2011
FYI, a possibly related ticket: http://trac.osgeo.org/mapserver/ticket/875
Best Regards,
Brent Fraser
On 5/24/2011 3:30 PM, Worth Lutz wrote:
>
> 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
> SYMBOLSCALEDENOMin 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
>
>
> _______________________________________________
> mapserver-dev mailing list
> mapserver-dev at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-dev
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20110524/8636679e/attachment.html
More information about the mapserver-dev
mailing list