TYPE truetype

The Bun rosario.carbone at IPL.COM
Mon Jan 21 08:52:27 PST 2008


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