vector symbol origin not collocated at POINT?
Charlton Purvis
cplist at SECONDCREEK.ORG
Tue May 8 08:59:09 PDT 2007
Hi, all:
Is there any way to have the starting point of a vector symbol as its origin
rather than the center of the final vector? I have looked on the symbols
page as well as carto how-to and can't seem to find an answer.
I want to avoid having to compute offsets because I eventually want to
rotate these items. And that wreaks havoc on those offset #'s.
See the attached image. The circle is at POINT(x,y). No problem. But so
is the *center* of the vector.
The little vector is defined as:
SYMBOL
NAME 'ln'
TYPE vector
POINTS
0 0
0 1
END
END
But I guess (0,0) from the vector definition above doesn't really mean the
same thing as POINT(x,y)?
The circle symbol is the standard:
Symbol
Name 'circle'
Type ELLIPSE
Filled TRUE
Points
1 1
END
END
I want to avoid using a true type symbol if possible (since I only want it
to grow in length -- not width) or saving something like the attached as a
bitmap symbol because that messes up the crispness of the black edge when
transparency arrives on the scene.
I did poke around the listserv but found nothing apropos.
Many thanks,
Charlton
-------------- next part --------------
A non-text attachment was scrubbed...
Name: arr.png
Type: image/png
Size: 182 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20070508/88eb13ab/attachment.png>
More information about the MapServer-users
mailing list