Labels Problem

Skweda O'Bomsawin sobomsawin at KASSINI.COM
Wed Aug 11 12:47:20 PDT 2004


Hi list!

 

I have a weird label problem with Mapserver.  I try to display street names
with an angle set to auto.  My map file looks like this:

 

CLASS

        Name 'road_labels'

        LABEL

            TYPE TRUETYPE

            FONT "arial"

            SIZE 7

            MINSIZE 4

            MAXSIZE 256

            POSITION UC

            ANGLE AUTO

            BUFFER 2

            MINDISTANCE 150

            MINFEATURESIZE 20

            COLOR 100 50 0

            SHADOWCOLOR 0 0 0

            SHADOWSIZE 0 0

            PARTIALS FALSE

        END

    END # Class

 

As you can see on the picture I have sent, I am unable to get the labels
centered on the street lines.  Some names are as far as 400m from the center
of the street and the translation seems to be always parallel to the street
line.  I'm using Mapserver 4.0 with Postgis 0.7 on a Whitebox Linux with gd
1.8.4-12 and freetype 2.1.4-4.

 

Thanks!

 

Skweda O'Bomsawin

sobomsawin at kassini.com

 


---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.735 / Virus Database: 489 - Release Date: 2004-08-06
 
  
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20040811/c4f02b26/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CAGPARSL.jpg
Type: image/jpeg
Size: 72496 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20040811/c4f02b26/attachment.jpg>


More information about the MapServer-users mailing list