[mapserver-users] symbol of the streets

Steve Lime steve.lime at dnr.state.mn.us
Tue Mar 12 13:27:14 PST 2002


Auto rotation of labels requires lines. Are the lines being labeled also
being displayed? Doesn't
seem like it to me. If you actually draw those what does the map look
like?

Steve

Stephen Lime
Data & Applications Manager

Minnesota DNR
500 Lafayette Road
St. Paul, MN 55155
651-297-2937

>>> "Michel M. dos Santos" <michel at omnisystem.com.br> 03/12/02 11:06AM
>>>


	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