<html>
  <head>
    <style type="text/css">
      <!--
        body { margin-top: 4px; font-variant: normal; line-height: normal; margin-right: 4px; margin-left: 4px; margin-bottom: 1px }
        p { margin-top: 0; margin-bottom: 0 }
      -->
    </style>
    
  </head>
  <body http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">All,</font>    </p>
<br>      
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">Ok, let's try this again, I redid the link. . . . should work now for everyone.</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">I'm playing around with generating a map collar image by labeling some lines with MapServer.</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">I get the labels looking about what I would like them to look like, but the alignment vertically ( and this applies to horizontal  alignment as well ) is not playing nice.</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">See this link: </font><font color="#0000ff" size="3" face="Comic Sans MS"><a href="http://gis.ci.stpaul.mn.us/datasets/SHP/FED/USGS/USNG/mn_usng_lines_labels_2_public.map?mapext=503179.6728349806%20111379.8994326578%20508281.0020239575%20135621.41573867595&mapsize=70%20600&mode=map&MOOSETIME=1241653121858"><u><i>http://gis.ci.stpaul.mn.us/datasets/SHP/FED/USGS/USNG/mn_usng_lines_labels_2_public.map?mapext=503179.6728349806%20111379.8994326578%20508281.0020239575%20135621.41573867595&mapsize=70%20600&mode=map&MOOSETIME=1241653121858</i></u></a></font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">I'm thinking that the labels are moving back and forth horizontally because of the underlying line work, It's not strictly horizontal but curved slightly, and there may or may not be a vertice visible within a view.  (Can a vertice be marked somehow?) So I think MapServer is using the longest straight segment within the view to center on for labeling.</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">Question, how do I get these to line up vertically (and horizontally)?  I know there was some recent justification work going on, but didn't follow it in detail.</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">Thanks</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">bobb</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Comic Sans MS" size="3">Pertinent mapfile chunks:</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">  LAYER</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    METADATA      </font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">          "ows_title" "layer_0"</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">          "gml_include_items" </font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">          "all"</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    END</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">         NAME 'usng'</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    DATA '0000_00/MN_Line_Experiments/MN_USNG_Ramsey_Line_Northing_Beta'</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    STATUS DEFAULT</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    TYPE LINE </font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    LABELITEM 'NORTHING'  </font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    CLASS</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">      LABEL</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        TYPE TRUETYPE</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        FONT bluehigh</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        SIZE 10</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        COLOR 25 25 25</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        OUTLINECOLOR 255 255 254</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        ANGLE 0</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        OFFSET -15 -1</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        FORCE true</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">      END</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    END</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">  END</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">  LAYER</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    METADATA      </font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">          "ows_title" "layer_0"</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">          "gml_include_items" </font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">          "all"</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    END</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">         NAME 'usng'</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    DATA '0000_00/MN_Line_Experiments/MN_USNG_Ramsey_Line_Northing_Beta'</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    STATUS DEFAULT</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    TYPE LINE </font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    LABELITEM 'NORTHING'  </font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    CLASS</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">      LABEL</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        TYPE TRUETYPE</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        FONT bluehigh</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        SIZE 15</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        COLOR 25 25 25</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        OUTLINECOLOR 255 255 254</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        ANGLE 0</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        FORCE true</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">      END</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    END</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">  END</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">  LAYER</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    METADATA      </font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">          "ows_title" "layer_0"</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">          "gml_include_items" </font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">          "all"</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    END</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">         NAME 'usng'</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    DATA '0000_00/MN_Line_Experiments/MN_USNG_Ramsey_Line_Northing_Beta'</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    STATUS DEFAULT</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    TYPE LINE </font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    LABELITEM 'NORTHING'  </font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    CLASS</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">      LABEL</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        TYPE TRUETYPE</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        FONT bluehigh</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        SIZE 10</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        COLOR 25 25 25</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        OUTLINECOLOR 255 255 254</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        ANGLE 0</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        OFFSET 14 -1</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">        FORCE true</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">      END</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    END</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">    MAXSCALE 5000000</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
          </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <font face="Courier" size="3">  END</font>    </p>
    <p style="margin-bottom: 0; margin-top: 0">
      <br>
    </p>
  </body>
</html>