JJ,

You need to use "OFFSET x y" to shift the shield to lineup with the label text. I also recommend using POSITION CC. x and y are numbers of pixel and can be negative values to shift in the opposite direction.

-Steve W

Steve Lime wrote:
Do you have a visual sample of the problem?

Steve

On 3/27/2009 at 11:05 AM, in message
<[email protected]>, "J.J. Schlafley"
<[email protected]> wrote:
HI,
I am using Bob's Googlish road symbolization example, but cant get road shields to "line up" with road labels. GAP property for my symbol doesnt seem to work. Symbol and Layer def below. Mapserver version 5.2.

Thanks for the input

SYMBOL
  NAME "highway"
  TYPE ellipse
  FILLED true
  POINTS
    1.5 1
  END
  GAP 10
END

LAYER
NAME 'road_sym'
GROUP 'interstate_poly'
DATA "Roads"
STATUS OFF
TYPE ANNOTATION
CLASSITEM 'FCC'
LABELITEM 'RDNUMBER'
TOLERANCE 1000
CLASS
EXPRESSION (("[FCC]" = "A11") OR ("[FCC]" = "A12")) # interstates
STYLE
SYMBOL 'highway'
SIZE 18
COLOR 115 113 206
OUTLINECOLOR 254 254 254
END
LABEL
TYPE TRUETYPE
FONT arial
SIZE 12
COLOR 254 254 254
MINDISTANCE 200
MINFEATURESIZE 10
OFFSET 0 0
PARTIALS FALSE
END
END
CLASS
EXPRESSION 'A21' # US Highway
STYLE
SYMBOL 'highway'
SIZE 18
COLOR 255 255 255
OUTLINECOLOR 0 0 0
END
LABEL
TYPE TRUETYPE
FONT arial
SIZE 11
COLOR 0 0 0
MINDISTANCE 250
MINFEATURESIZE 15
OFFSET 0 -1
PARTIALS FALSE
END
MAXSCALE 400000
END



_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

_______________________________________________
mapserver-users mailing list
[email protected]
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to