It seems like my symbol's ANCHORPOINT is not being scaled when my style
definition uses MINSIZE, MAXSIZE and MAXSCALEDENOM.

Here's my symbol definition:

SYMBOL
  NAME "arrowv"
  TYPE vector
  ANCHORPOINT 0.5 1
  POINTS
    0 2
    1 0
    2 2
    -99 -99
    1 0
    1 3
  END
END

and my style definition:

    STYLE
      SYMBOL "arrowv"
      SIZE 40
      COLOR 0 0 255
      ANGLE [angle]
    END

Which produces what I want:

(​The red dot is the map x, y insertion point)
but when I add SYMBOLSCALEDENOM and change my symbol definition to:

    STYLE
      SYMBOL "arrowv"
      MINSIZE 15
      MAXSIZE 40
      COLOR 0 0 255
      MINWIDTH 1
      MAXWIDTH 1
      ANGLE [angle]
    END

I get:

The ANCHORPOINT is not scaled along with the symbol. A little hard to see
in these two, but the ANCHORPOINT is being used, just not scaled:

ANCHORPOINT 0 0

ANCHORPOINT 1 1

​
​Am I doing something wrong?

Thanks,
Rich

-- 
Richard W. Greenwood, PLS
www.greenwoodmap.com
_______________________________________________
mapserver-users mailing list
mapserver-users@lists.osgeo.org
http://lists.osgeo.org/mailman/listinfo/mapserver-users

Reply via email to