MapInfo Pro

 View Only
  • 1.  Align labels to polygon angles

    Posted 10-03-2022 06:38
    Hi, I am trying to align labels of an OS Mastermap text .tab file to the angle of a polygon. Within the .tab file, I have columns for the text I want to label the layer with and the angle that the polygon is set at. I would like to set the label of the polygon to the angle and text specified within the .tab file. The below image provides an example of how the layer is currently labelled. All labels are currently horizontal, whereas I would like labels to be the same angle as the polygon. Is there a way I can do this?
    Many thanks, Alex



    ------------------------------
    Alex Davison
    Knowledge Community Shared Account
    ------------------------------


  • 2.  RE: Align labels to polygon angles

    Employee
    Posted 10-03-2022 09:14
    Hi Alex

    I wrote a #MapInfoMonday article a few months back describing how this can be done using a Select statement.

    The general idea is to create​ a derived object which is a rotated line passing through the centroid of the original object.

    ------------------------------
    Peter Horsbøll Møller
    Principal Presales Consultant | Distinguished Engineer
    Precisely | Trust in Data
    ------------------------------