TYPE truetype
Nolte, Tim
Tim.Nolte at IPCSWIRELESSINC.COM
Mon Jan 21 09:07:54 PST 2008
This is an example of what I am using and it work:
LABEL
FONT "sans"
TYPE TRUETYPE
POSITION CC
OFFSET 0 0
ANGLE FOLLOW
SIZE 6
BUFFER 3
MINDISTANCE 300
MINFEATURESIZE 10
COLOR 0 0 0
OUTLINECOLOR 242 236 230
#ANTIALIAS TRUE
PARTIALS FALSE
END
----
Timothy J Nolte - tnolte at ilpcs.com
Associate Network Planning Engineer
iPCS Wireless, Inc.
4717 Broadmoor Ave, Suite G
Kentwood, MI 49512
Office: 616-656-5163
PCS: 616-706-2438
Fax: 616-554-6484
Web: www.ipcswirelessinc.com
-----Original Message-----
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of The Bun
Sent: Monday, January 21, 2008 11:52 AM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] TYPE truetype
Hi list,
I am having problems with the labels: Text with the following
configuration
is showed correctly but not orientated with streets and buildings, it is
all
orizzontal. As far as I know the only type you can define an angle
(orientation) should be the TRUETYPE, well if I uncomment the line with
TYPE
truetype then my map is not displayed at all, the weird thing is I
cannot
find any message in the error log of Apache, surely I am missing
something.
Here you are the LAYER portion:
LAYER
NAME cartotext
TYPE POINT
STATUS DEFAULT
LABELCACHE ON
LABELITEM "textstring"
DEBUG ON
CONNECTIONTYPE OGR
CONNECTION
"MySQL:test,user=root,host=localhost,password=password,port=3306"
DATA "mm_cartographictext_topo"
CLASS
STYLE # It is actually the point
COLOR 255 0 0
ANTIALIAS TRUE
END
LABEL # Is the text
ANGLE AUTO
COLOR 0 153 0
#TYPE truetype
FONT "arial-bold"
POSITION AUTO
BUFFER 4
ANTIALIAS TRUE
PARTIALS FALSE
END # end of label
END
END
I hope someone can help I have tried at least 50 different configuration
and
noone works.
Regards
Rosario
--
View this message in context:
http://www.nabble.com/TYPE-truetype-tp15001513p15001513.html
Sent from the Mapserver - User mailing list archive at Nabble.com.
More information about the MapServer-users
mailing list