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

thomas bonfort thomas.bonfort at gmail.com
Tue Feb 23 10:04:44 EST 2010


OFFSET 2 -99 would be the way to go, but isn't the most optimal solution
Havard, we're paving the road right now for the ORIGIN to happen, just
have to be patient ;)

--
thomas

On Tue, Feb 23, 2010 at 08:47, Havard Tveite <havard.tveite at umb.no> wrote:
> 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/
> _______________________________________________
> mapserver-users mailing list
> mapserver-users at lists.osgeo.org
> http://lists.osgeo.org/mailman/listinfo/mapserver-users
>


More information about the mapserver-users mailing list