[mapserver-users] AGG and cartoline trap

thomas bonfort thomas.bonfort at gmail.com
Tue Nov 4 00:40:18 PST 2008


you can get that with a truetype or vector symbol

SYMBOL
 NAME 'rail'
 TYPE TRUETYPE
 FONT arial
 CHARACTER '|'
 GAP -20
END

then

STYLE
 COLOR 0 0 0
 WIDTH 1
END
STYLE
 COLOR 0 0 0
 SIZE 8
 SYMBOL 'rail'
END

cheers,
thomas

On Tue, Nov 4, 2008 at 08:45, Raivo Alla <snaperski at gmail.com> wrote:
> Hi!
>
> I have question about AGG incapability to handle CARTOLINE type of
> symbols which in my case leads to problem - I can't figure out how I
> can manage to describe symbol
> seen here: http://picasaweb.google.com/snaperski/Ort#5264703564091103650
>
> With GD rendering I could use symbol definition as follows:
>
> SYMBOL
>  NAME "dotline"
>  TYPE cartoline
>  LINECAP butt
>  LINEJOIN miter
>  LINEJOINMAXSIZE 3
>  STYLE
>  1 20 1 20
>  END
> END
>
> and in mapfile describe the style like that:
>
>  CLASS
>  NAME "Elektriliin"
>  EXPRESSION '10'
>  STYLE
>   SYMBOL "line"
>   SIZE 1
>   COLOR 0 0 0
>  END
>  STYLE
>   SYMBOL "dotline"
>   SIZE 8  #vertical stripes
>   COLOR 0 0 0
>  END
>  END
>
> How I can do that without cartolines?
>
>
> Sincerely,
> Raivo Alla
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>



More information about the MapServer-users mailing list