[mapserver-users] symbol of the streets

Frank Koormann frank.koormann at intevation.de
Tue Mar 12 10:04:15 PST 2002


Michel,

* Michel M. dos Santos (michel at omnisystem.com.br) [020312 18:02]:
> 
> 	Thanks a lot Frank, 
> 
> 	See:
> 
> 	http://creedence.org/imagens/demo2.png  (now, done by mapserver)

:)

>             LABEL
>                 ANGLE AUTO
>                 COLOR 0 0 0
>                 FONT "verdana"
>                 MINDISTANCE 300
>                 PARTIALS FALSE
>                 SIZE 11
>                 TYPE TRUETYPE
>             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

I think all labels run out of the exact line. Seems to be a systematic
error. Just some thoughts:
- Maybe the font metrics for "verdana" aren't handled correctly?
  You might try arial or helvetica as a fallback
- Although the docs say something different I get fine results using 
  a POSITION CC for the labels placed along lines.

To conclude, somthing like:
        LABEL
                TYPE TRUETYPE
                FONT arial
                SIZE 10
                COLOR 0 0 0
                ANGLE AUTO
                POSITION CC
                BUFFER 2
                PARTIALS FALSE
                MINFEATURESIZE AUTO
         END

works fine for me

regards,

        Frank

-- 
Frank Koormann                             <frank.koormann at intevation.de>
 Professional Service around Free Software       (http://intevation.net/)
 FreeGIS Project                                 (http://freegis.org/)
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 248 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20020312/15610131/attachment.sig>


More information about the MapServer-users mailing list