[mapserver-users] vertical alignment of symbols along a line

Havard Tveite havard.tveite at umb.no
Tue Feb 23 05:47:20 PST 2010


Perhaps you could use OFFSET (with -99) - I have not tried it.
See: http://mapserver.org/mapfile/symbology/construction.html

A general mechanism (CENTER/ORIGIN) for defining the
centre point of a symbol for more control of the
precise placement of symbols was suggested in RFC 45
http://mapserver.org/development/rfc/ms-rfc-45.html ,
but I don't think this has been implemented yet.

Håvard Tveite

On 2/23/2010 10:31 AM, windfreak wrote:
>
> I use truetype fonts to render symbols along a line. The fonts are always
> parallel to the line. Unfortunately I see the fonts are always centered
> vertically along the line. Even symbols like the '^' or '`' symbol appear on
> the line. How can I disable this vertical alignment?
> Here you see an example of a triangle symbol that should appear above the
> line.  http://n2.nabble.com/file/n4617860/example.png
> Here you see an example of the '^' symbol, also aligned on the line.
> http://n2.nabble.com/file/n4617860/example2.png
>
>
> -----
> http://www.topspots.org

-- 
Håvard Tveite
Department of Mathematical Sciences and Technology, UMB
Drøbakveien 31, POBox 5003, N-1432 Ås, NORWAY
Phone: +47 64965483 Fax: +47 64965401 http://www.umb.no/imt/



More information about the MapServer-users mailing list