Thank you for advice!
I will try this as soon as possible.. Raivo On Mon, Jun 15, 2009 at 5:31 PM, Daniel Morissette<dmorisse...@mapgears.com> wrote: > Raivo Alla wrote: >> >> As it could be seen on the picture >> (http://picasaweb.google.com/snaperski/Ort#5347526051315751666), >> street labels are strangely positioned in different ways. >> I want labels only when they have enough space to fit in >> (MINFEATURESIZE AUTO) and I want them >> centered. As it appears, sometimes they are aligned left, sometimes >> right, only lucky ones at the center. >> Those red boxes are to visualize vertex points. >> > > You are using "ANGLE AUTO" in your label definition. In this case, MapServer > places the label at the center of the longest segment of the polyline that > define the street, and follows the angle of that segment. > > If you use ANGLE FOLLOW then the label will be placed at the center of the > polyline itself (i.e. at total_length/2)... that should give the results > that you expect. > > Daniel > -- > Daniel Morissette > http://www.mapgears.com/ > _______________________________________________ > mapserver-users mailing list > mapserver-users@lists.osgeo.org > http://lists.osgeo.org/mailman/listinfo/mapserver-users > _______________________________________________ mapserver-users mailing list mapserver-users@lists.osgeo.org http://lists.osgeo.org/mailman/listinfo/mapserver-users