[mapserver-users] symbol of the streets
Stephen Woodbridge
woodbri at swoodbridge.com
Tue Mar 12 09:59:27 PST 2002
Michel,
Try adding to your LABEL section
POSITION CC
because CC will position the center of the label on the center of the
street which should minimize and errors.
You also might want to make the font a 2 points smaller if it continues
to be a problem.
-Steve W.
"Michel M. dos Santos" wrote:
>
> Thanks a lot Frank,
>
> See:
>
> http://creedence.org/imagens/demo2.png (now, done by mapserver)
>
> my mapfile:
>
> CLASS
> COLOR 0 0 0
> LABEL
> ANGLE AUTO
> COLOR 0 0 0
> FONT "verdana"
> MINDISTANCE 300
> PARTIALS FALSE
> SIZE 11
> TYPE TRUETYPE
> END
> NAME "ruas"
> SIZE 15
> SYMBOL "circle"
> TEMPLATE "ttt_query.html"
> TEXT ([TIPO] [NOME])
> OVERLAYSYMBOL "circle"
> OVERLAYCOLOR 239 255 214
> OVERLAYSIZE 13
> END
>
> my symbolset
>
> SYMBOL # standard circular brush
> NAME 'circle'
> TYPE ELLIPSE
> POINTS 1 1 END
> FILLED TRUE
> END
>
> Only more one question:
>
> The labels of the streets sometimes not follow the symbol exactly . Example
> in my image:
> R FRANCISO FERREIRA DE SOUZA
> R FREDERICO MAURER
> R ANTONIO RICARDO DOS SANTOS
>
> Is there some way to improve it ? Is my data bank the problem ?
>
> --
> []'s
> Michel M. dos Santos
>
> Em Ter 12 Mar 2002 09:04, Frank Koormann escreveu:
> > Michel,
> >
> > * Michel M. dos Santos (michel at omnisystem.com.br) [020311 21:11]:
> > > Hello,
> > >
> > > I need to represent the streets like this:
> > >
> > > http://creedence.org/imagens/demo.jpg (example, It not was done by
> > > mapserver)
> > >
> > > How I can draw a symbol for it ?
> > >
> > > I try use this :
> > >
> > > SYMBOL # standard circular brush
> >
> > [...]
> >
> > > But OUTLINECOLOR doesn't work with layer type LINE.
> >
> > You can use an additional overlaysymbol.
> > With a combination black filled circle symbol and a slightly smaller
> > white (or whatever) filled circle overlaysymbol you can acheive the
> > effect.
> >
> > See
> > http://mapserver.gis.umn.edu/doc/mapfile-reference.html#class
> > for details.
> >
> > Regards,
> > Frank
More information about the MapServer-users
mailing list