Using class annotation angles
Stephen Woodbridge
woodbri at SWOODBRIDGE.COM
Mon Dec 19 12:13:30 PST 2005
size tiny
needs to be replaced by
size 8
"tiny" is only valid with type pixmap and rotated fonts only work with
type truetype
-Steve W.
Don Isgitt wrote:
> Hi,
>
> I am attempting to display some text at specified angles using
> labelangleitem, but no text plots. Without the font and type
> specifications, text is plotted, but at zero degrees. Here is the
> relevant data:
>
>> MAP
>> NAME "Area of Interest"
>> STATUS ON
>
> SIZE 1800 1260
>
>> IMAGETYPE png
>> extent 1140000 -140000 1930000 940000
>> CONFIG PROJ_LIB /home/djisgitt/proj-4.4.9/nad
>> fontset /usr/local/apache2/htdocs/gdsmap/font.list
>> UNITS kilometers
>> PROJECTION
>> "init=epsg:32039"
>> END
>
>
>
>> layer
>> name survey_ann
>> data area_s
>> status off
>> PROJECTION
>> "init=epsg:4283"
>> END
>> type annotation
>> force true
>> labelitem "Survey"
>> labelangleitem "SvyAng"
>> class
>> # color 232 232 232
>> outlinecolor 0 255 255
>> label
>> font cetus
>> type TrueType
>> position ul
>> size tiny
>> antialias true
>> color 219 149 8
>> partials off
>> end
>> end
>> end
>
>
>
> Other layers of type polygon and line fail similarly.
>
> Sample output of dbfdump:
>
> Survey SvyAng Block BlkAng Section
> SecAng CntyNam
> TCRR 0000 IJ 0000 43
> 0000 (NULL)
> JORDAN MW 0000 BB2 0000 7
> 0000 (NULL)
> BURLESON J 0015 37 T2S 0000 (NULL)
> 0000 J
> IRR 0015 A288 0000 1
> 0015 (NULL)
> (NULL) 0000 L CRCK 0000 3
> 0000 (NULL)
> FUENTES AM 0045 (NULL) 0000 139
> 0045 (NULL)
> HOPE WT 0040 4.5 0000 1
> 0040 (BLK. 4 1/2)
>
> Any help explaining what I am doing wrong will be much appreciated.
>
> Don
>
> p.s. Mapserver 4.6.1 on Linux compiled from source.
>
More information about the MapServer-users
mailing list