[mapserver-users] problems defining outline width using min/max

Lime, Steve D (DNR) steve.lime at state.mn.us
Thu Aug 26 10:50:05 EDT 2010


Did you set a symbol scale at the layer level?

From: mapserver-users-bounces at lists.osgeo.org [mailto:mapserver-users-bounces at lists.osgeo.org] On Behalf Of Dara Olson
Sent: Thursday, August 26, 2010 9:11 AM
To: mapserver-users at lists.osgeo.org
Subject: [mapserver-users] problems defining outline width using min/max

Greetings.
We are using MapServer 5.2.1 and I am having some problems with defining a polygon outline.  I would like the polygon outline to have widths so that when you zoom in it stays wide, but is not too wide when you are zoomed all the way out.  I thought I might be able to do this with min/max widths (see below), but it does not seem to change compared to if I just have the width defined as 2.2.  Is there a way to do this?  Should I be using something other than pixels or should I group into min/max scales?  Any help would be greatly appreciated.
Dara

...
    CLASS
       NAME "Ceded Territories"
            STYLE
            OUTLINECOLOR 140 63 55
            MINWIDTH 2.2
            MAXWIDTH 10
        END
        TEMPLATE "../identify/governmental_units/ceded_identify.html"
    END
END # Ceded Territories

________________________________
Dara Olson
ANA GIS Specialist
Great Lakes Indian Fish & Wildlife Commission
P.O. Box 9, 72682 Maple Street
Odanah, WI 54861
Phone: (715) 682-6619 ext.129
Email: dolson at glifwc.org<mailto:dolson at glifwc.org>
http://maps.glifwc.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.osgeo.org/pipermail/mapserver-users/attachments/20100826/bed9d4fb/attachment-0001.html


More information about the mapserver-users mailing list