<html>
  <head>
    <meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <font face="Times New Roman, Times, serif">That's it, thanks Thomas.
      It's a problem with the development version of OpenLayers, where
      during a map refresh the old version remains visible for some time
      next to the updated one, in order to get a smooth transition. I
      find intelligent labelpositioning more important than smooth
      transitions, so I'll suggest to them an option to disable the
      smoothing effect.<br>
      <br>
      Jan<br>
    </font><br>
    On 02/20/2012 03:30 PM, thomas bonfort wrote:
    <blockquote
cite="mid:CAOM3y2g7_GQxSwAtQC7AVzLY04Xah+bS5WkdfvPGE9nJEDa20A@mail.gmail.com"
      type="cite">
      <pre wrap="">PROCESSING "LABEL_NO_CLIP=yes"

--
thomas

On Mon, Feb 20, 2012 at 15:27, Jan Hartmann <a class="moz-txt-link-rfc2396E" href="mailto:j.l.h.hartmann@uva.nl">&lt;j.l.h.hartmann@uva.nl&gt;</a> wrote:
</pre>
      <blockquote type="cite">
        <pre wrap="">

On 02/14/2012 06:17 PM, Stephen Woodbridge wrote:

google: mapserver geomtransform

this will let you fix the label point to the centroid of the object or some
other positions.

The issue is that the label point is generally calculated based on the
geometry of the object as clipped to the view port. So the geometry changes
based on the view clipping and this causes the label point to also change.
the geomtransform works on the original data and so the label point becomes
fixed.


No I can't get this to work, perhaps I don't understand the syntax of
geomtransform. Can you give me an example of fixing a label to the center
point of a rectangle, without shifting it when the rectangle crosses the
viewport? My mapfile looks:

connectiontype postgis
connection ""
data the_rect from bnds
labelitem rect_id
style
  color 0 0 0
end
label
  color 0 0 255
end

I put a few geotransforms within the label and within the style objects, but
the label always shifts near the margin of the viewport.

Thanks,

Jan

_______________________________________________
mapserver-users mailing list
<a class="moz-txt-link-abbreviated" href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a>
<a class="moz-txt-link-freetext" href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a>

</pre>
      </blockquote>
    </blockquote>
  </body>
</html>