How-to scalable symbols and text
Stephen Lime
steve.lime at dnr.state.mn.us
Fri Feb 4 14:03:14 PST 2000
Hi: Works the same as before. Problem is the symbol you're tring to scale. Line symbols
of type STYLED are not scalable. You have to use type ELLIPSE symbols. Here's an
example of an filled ellipse symbol radius 1,1 (i.e. a circle). This is scalable and results in
circular of varying sizes.
Symbol
Type ELLIPSE
Filled
Points
1 1
END
END
With 3.3 you can define styles within any symbol type and therefore can get scaled, complex
symbols as well. Your millage may vary. Type STYLED symbols use a single pixel width lines
only. Symbols are admittedly hard to work with, but you can do some wild things with them as
they're pretty flexible.
Steve
Stephen Lime
Internet Applications Analyst
Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937
>>> Ma <marin at here.is> 02/04/00 03:12PM >>>
How to scale symbols and text in 3.3.006. I did this in 3.3b but now
there is something different.
Here is part of the map file:
###############################
# --- roads -------
LAYER
NAME roads
TYPE LINE
STATUS OFF
DATA roads
TOLERANCE 0
SYMBOLSCALE 1000000
CLASSITEM RoadType
CLASS
NAME "Primary road"
EXPRESSION "Pr"
COLOR 255 000 00
SYMBOL 2 # this is the symbol from the distribution 3.3.006
MAXSIZE 5
MINSIZE 1
END
END
###########
Any ideas?
--
Ma
More information about the MapServer-users
mailing list