>REPEATDISTANCE only works with lines. What is does is to create multiple label points >along the line. This does not make sense for ANNOTATION layers for two reasons:
ok, thx for explain. I misunderstand the mean of "repeat". >2. annotation is deprecated in 6.2 and will be going away in the future This is really interesting to know. There is a better choice to write a text on a map? Thx, 2012/9/24 Stephen Woodbridge <[email protected]> > REPEATDISTANCE only works with lines. What is does is to create multiple > label points along the line. This does not make sense for ANNOTATION layers > for two reasons: > > 1. annotation is a point, you can not repeat along a point > 2. annotation is deprecated in 6.2 and will be going away in the future > > You might try creating a line feature and label that with repeatdistance. > Or create a grid of points that you can use to position you disclaimer > labels with. > > -Steve W > > > On 9/24/2012 5:17 AM, Andrea Peri wrote: > >> Hi, >> >> I notice the repeatdistance don't work on a label of a type annotation >> layer. >> >> I read the doc. >> Seem the repeatdistance work only with a line layer. >> But I guess it could work also with the annotation. >> When the goal is the put many disclaimers on a map. >> >> Is this an enhancement feature or a bug of the actual repeatdistance >> command. ? >> >> This is my mapfile: >> >> LAYER >> NAME "rt_ofc.10k10.disclaimer" >> STATUS OFF >> TYPE ANNOTATION >> TRANSFORM LL >> FEATURE >> POINTS >> 80 -20 >> END >> TEXT 'Disclaimer Map...' >> END >> METADATA >> "wms_title" "...." >> "wms_abstract" "..." >> "wms_layer_group" "..." >> END >> CLASS >> LABEL >> TYPE TRUETYPE >> FORCE true >> COLOR "#FFFFFF60" >> ANTIALIAS false >> PRIORITY 10 >> SIZE 10 >> ANGLE 0 >> FONT "LiberationSans-Regular" >> POSITION UR >> REPEATDISTANCE 100 <--- seem don't work >> END >> END >> END >> >> >> -- >> ----------------- >> Andrea Peri >> . . . . . . . . . >> qwerty àèìòù >> ----------------- >> >> >> >> ______________________________**_________________ >> mapserver-users mailing list >> [email protected].**org <[email protected]> >> http://lists.osgeo.org/**mailman/listinfo/mapserver-**users<http://lists.osgeo.org/mailman/listinfo/mapserver-users> >> >> > ______________________________**_________________ > mapserver-users mailing list > [email protected].**org <[email protected]> > http://lists.osgeo.org/**mailman/listinfo/mapserver-**users<http://lists.osgeo.org/mailman/listinfo/mapserver-users> > -- ----------------- Andrea Peri . . . . . . . . . qwerty àèìòù -----------------
_______________________________________________ mapserver-users mailing list [email protected] http://lists.osgeo.org/mailman/listinfo/mapserver-users
