[mapserver-users] two problems

gispmpf at zipmail.com.br gispmpf at zipmail.com.br
Sat Dec 1 09:26:55 PST 2001


Hello ,

I'm having two problems with the following script:

  CONNECTIONTYPE postgis
  NAME ruas
  CONNECTION "user=postgres dbname=cadastro"
  DATA "pontos from roads"
  FILTER "cod_road <6"
  STATUS  ON
  TYPE LINE
  LABELITEM "desc_item"
  CLASS
  NAME "Roads"
  EXPRESSION ([tipo]=1)
   COLOR 0 0 89
   SYMBOL 'line'
   SIZE 10
   MINSIZE 3
   MAXSIZE 15
   OVERLAYCOLOR 255 0 0
   OVERLAYSYMBOL 0
   OVERLAYSIZE 3
   OVERLAYMINSIZE 1
   OVERLAYMAXSIZE 2
   SIZE 15
   LABEL
    TYPE truetype
    FONT arial-bold
    SIZE 14
    ANTIALIAS
    COLOR 0 0 0
    OUTLINECOLOR 255 255 255
    PARTIALS OFF
   END
   QUERY
    teste.html
   END
  END

1)loadlabel(): Unknown identifier. Keyword FONT is not valid without TrueType
font supportLAYER
and i already have compiled mapserver with the --with--ttf option but the
error remains...
2)loadLayer(): Unknown identifier. (QUERY):(122)
How can i declared this query?

Could you help me?
Thanks
João.




------------------------------------------
Use o melhor sistema de busca da Internet
Radar UOL - http://www.radaruol.com.br






More information about the MapServer-users mailing list