[Mapserver-users] Annotation layer with gifs disappears at a certain scale

Steve McCrone maps@work mccrone at pc.jaring.my
Fri Feb 21 01:35:30 PST 2003


I have an annotation layer that shows the point as a gif and also I am
labelling the layer using TrueType Font. My images disppear as I zoom in.
Currently I am not setting the MAXLABELSCALE but have played around with it.

I have another layer (POINT) that uses gifs for the points and they do not
disappear  - I can zoom in very closely.

Here is my layer that disappears -

LAYER
  NAME "WBU1234"
  TYPE ANNOTATION
  STATUS OFF
  DATA GPS
  LABELITEM "posID"
  CLASSITEM "Name"
  CLASS
    NAME 'WBU1234'
    EXPRESSION "WBU1234"
    COLOR 0 0 0 # dummy color
    SYMBOL 'symbols/Truck2.gif'
   TEMPLATE "gps.html"
    LABEL
     TYPE TRUETYPE
      MINFEATURESIZE 50
      MINDISTANCE 150
      POSITION CR
      #SIZE SMALL
      FONT arial
      SIZE 8
      COLOR 0 0 0
    END# Label
  END#Class

  HEADER "gps_header.html"
  FOOTER "gps_footer.html"
  TOLERANCE 8
  DUMP TRUE # allow GML export
END





More information about the MapServer-users mailing list