Dear Steve,
Is this another case for allowing the user to explicitly specify
the centre of a symbol (as proposed in RFC 45 -
http://mapserver.org/development/rfc/ms-rfc-45.html)?
Håvard
Steve Lime wrote:
Hi David: There is no connection between offset and symbol size. The offset is
Hi David: There is no connection between offset and symbol size. The offset is
independent and given
as a constant value in pixels (although it is scaled). Sounds like you need to
change it dynamically based
on your image size and that can't be done as things sit now. Can you fix your
image
David Martin wrote:
As you can see I am sizing the output symbol which is a 20x20px PIXMAP
image – this is working great however the position of the image needs to
be OFFSET up by half the size of the image (to make the actual point be
the center of the image) – I have tried using OFFSET
RFC 45 suggests several rendering improvements for Mapserver,
including adding a tag (CENTER/ORIGIN) for specifying the
centre of a symbol. This feature has, however, not been
given priority yet (there are workarounds for the most
important cases).
I am developing a new application and am rendering around a load of
graphic symbol layers using a Map file layer such as
LAYER
NAMEcape_headland_point
STATUS ON
GROUP all
DATA'ExplorOz/Places/Cape,Headland,Point'
TYPEPOINT