How-to scalable symbols and text

Ma marin at here.is
Fri Feb 4 19:30:06 EST 2000


In the line.sym file which comes with 3.3.006 there is no ellipse type symbols.
Can you send me ellipse type line symbol(s) for 3.3.006?
I send here the line.sym I had before and and the line.sym from 3.3.006 now. Why doesn't work with
the first line.sym file with 3.3.006?

########
### the line.sym file from 3.3b
####

LineSet

# 1
Symbol
Type STYLED
Style
0 0
0 1
END # Style
END

# 2
Symbol
Type STYLED
Style
0 -1
0 0
0 1
END # Style
END

# 3
Symbol
Type STYLED
Style
3 0
END # Style
END

# 4
Symbol
Type STYLED
Style
6 0
END # Style
END

# 5
Symbol
Type STYLED
Style
3 0
3 1
END # Style
END

# 6
Symbol
Type STYLED
Style
6 0
6 1
END # Style
END

# 7
Symbol
Type STYLED
Style
3 -1
3 0
3 1
END # Style
END

# 8
Symbol
Type STYLED
Style
6 -1
6 0
6 1
END # Style
END

# 9
Symbol
Type STYLED
Style
0 -1
0 1
END # Style
END

# 10
Symbol
Type STYLED
Style
4 -1
4 1
END # Style
END

# 11
Symbol
Type STYLED
Style
0 -1
4 0
0 1
END # Style
END

# 12
Symbol
Type STYLED
Style
0 -1
8 0
0 1
END # Style
END

# 13
Symbol
Type ELLIPSE
Filled
transparent 0
POINTS
1 1
END
END

END # LineSet

###########################
## the line.sym from 3.3.006

LINESET

Symbol
Type STYLED
Style
 0 0 0
 1 0 0
END
END

Symbol
Type STYLED
Style
-1 0 0
 0 0 0
 1 0 0
END
END

Symbol
Type STYLED
Style
 0 3 3
END
END

Symbol
Type STYLED
Style
 0 6 6
END
END

Symbol
Type STYLED
Style
 0 3 3
 1 3 3
END
END

Symbol
Type STYLED
Style
 0 6 6
 1 6 6
END
END

Symbol
Type STYLED
Style
-1 3 3
 0 3 3
 1 3 3
END
END

Symbol
Type STYLED
Style
-1 6 6
 0 6 6
 1 6 6
END
END

Symbol
Type STYLED
Style
-1 0 0
 1 0 0
END
END

Symbol
Type STYLED
Style
-1 6 6
 1 6 6
END
END

Symbol
Type STYLED
Style
 -1 0 0
  0 6 6
  1 0 0
END
END

Symbol
Type Styled
Style
  -1 0 0
  0 12 12
  1 0 0
END
END

Symbol
Type STYLED
Style
  -1 1 7
  0 0 0
  1 1 7
END
END

Symbol
Type STYLED
Style
  -1 1 5
  0 1 5
  0 1 2
  1 1 5
END
END



END # LineSet



--
Ma

Stephen Lime wrote:

> 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