[mapserver-users] symbol of the streets

Michel M. dos Santos michel at omnisystem.com.br
Tue Mar 12 12:06:05 EST 2002



	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