[Mapserver-users] True Type Font - colour not showing

steve ms57 at streamyx.com
Wed Apr 21 09:59:29 EDT 2004


This is a follow up from the mail I sent earlier. My rotation and all is
working fine. I changed from POINT to ANNOTATION, (see map file section
below), but no matter what colour I set, it always comes out grey, until I
zoom very close, and then the set colours are seen.

Thanks

LAYER
  NAME "TuahTiga"
  DATA GPS1
  TYPE ANNOTATION
  STATUS OFF
  LABELANGLEITEM "Angle"
  CLASS
    NAME 'TuahTiga'
    TEXT "A"
    EXPRESSION ('[Name]' eq 'TuahTiga' AND [Posid] eq 1)
    LABEL
      TYPE TRUETYPE
      FORCE TRUE
      FONT vessel
      PARTIALS FALSE
      BUFFER 1
      OUTLINECOLOR 255 0 0
      COLOR 247 182 82
      ANTIALIAS TRUE
      POSITION CC
      SIZE 10
    END
  TEMPLATE "templates/gps.html"
  END#Class
  HEADER "templates/gps_header.html"
  FOOTER "templates/gps_footer.html"
  TOLERANCE 8
  DUMP TRUE # allow GML export
END




More information about the mapserver-users mailing list