<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"Comic Sans MS";
        panose-1:3 15 7 2 3 3 2 2 2 4;}
@font-face
        {font-family:Consolas;
        panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
        {font-family:"Comic Sans MS \, serif";
        panose-1:0 0 0 0 0 0 0 0 0 0;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:11.0pt;
        font-family:"Calibri","sans-serif";
        color:black;}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
pre
        {mso-style-priority:99;
        mso-style-link:"HTML Preformatted Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:10.0pt;
        font-family:"Courier New","serif";
        color:black;}
span.HTMLPreformattedChar
        {mso-style-name:"HTML Preformatted Char";
        mso-style-priority:99;
        mso-style-link:"HTML Preformatted";
        font-family:Consolas;
        color:black;}
span.EmailStyle19
        {mso-style-type:personal;
        font-family:"Comic Sans MS","serif";
        color:windowtext;}
span.EmailStyle20
        {mso-style-type:personal-reply;
        font-family:"Comic Sans MS","serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page WordSection1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
        {page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body bgcolor="white" lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS","serif";color:windowtext">Hi Brent,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS","serif";color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS","serif";color:windowtext">Neat trick there, and straightforward too.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS","serif";color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS","serif";color:windowtext">I had thought about doing some sort of pipeline for drawing with MapServer, by simply drawing different grid areas at each step in the pipeline.  One step
 for each side of the map for example.  I know I can do it with MapSCRIPT, but being able to pass in a image to MapServer would be the cool way.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS","serif";color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS","serif";color:windowtext">Bobb<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS","serif";color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS","serif";color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS","serif";color:windowtext"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS","serif";color:windowtext"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal" style="margin-left:.5in"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif";color:windowtext"> Brent Fraser [mailto:bfraser@geoanalytic.com]
<br>
<b>Sent:</b> Friday, December 19, 2014 10:58 AM<br>
<b>To:</b> Basques, Bob (CI-StPaul); mapserver-users@lists.osgeo.org<br>
<b>Subject:</b> Re: [mapserver-users] Map collaring techniques.<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal" style="margin-left:.5in"><o:p> </o:p></p>
<div>
<p class="MsoNormal" style="margin-left:.5in">Bob, <br>
<br>
In the past I've dabbled with having layers to " erase"the map data around the perimeter:<br>
<br>
LAYER<br>
  NAME "Margin"<br>
  TRANSFORM FALSE<br>
  STATUS DEFAULT<br>
  TYPE POLYGON<br>
  CLASS<br>
     COLOR 255 255 255<br>
  END<br>
  FEATURE<br>
     POINTS 0 0 0 600 70 600 70 0 0 0 END<br>
     POINTS 70 0 70 70 800 70 800 0 70 0 END <br>
     POINTS 70 600 800 600 800 530 70 530 70 600 END<br>
     POINTS 730 70 730 530 800 530 800 70 730 70 END<br>
  END<br>
END<br>
<br>
#-----------------------------------------------------------<br>
LAYER<br>
  NAME "NeatLine"<br>
  TRANSFORM FALSE<br>
  STATUS DEFAULT<br>
  TYPE LINE<br>
  CLASS<br>
     COLOR 0 0 0<br>
  END<br>
  FEATURE<br>
     POINTS 70 70 70 530 730 530 730 70 70 70 END<br>
  END<br>
END<br>
<br>
<br>
Also I've experimented with adding FORMATOPTIONs to OUTPUTFORMAT code (see <a href="http://lists.osgeo.org/pipermail/mapserver-dev/2009-January/008050.html">
http://lists.osgeo.org/pipermail/mapserver-dev/2009-January/008050.html</a>)<br>
<br>
How big do you plan to make your maps?  Will they include imagery?<br>
<br>
<br>
<o:p></o:p></p>
<pre style="margin-left:.5in">Best Regards,<o:p></o:p></pre>
<pre style="margin-left:.5in">Brent Fraser<o:p></o:p></pre>
<p class="MsoNormal" style="margin-left:.5in">On 12/19/2014 8:46 AM, Basques, Bob (CI-StPaul) wrote:<o:p></o:p></p>
</div>
<blockquote style="margin-top:5.0pt;margin-bottom:5.0pt">
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;font-family:"Comic Sans MS , serif","serif"">All,</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;font-family:"Comic Sans MS , serif","serif""> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;font-family:"Comic Sans MS , serif","serif"">Anyone have any insights into using/modifying MapServer to label maps collar wise (along the edges)??</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;font-family:"Comic Sans MS , serif","serif""> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;font-family:"Comic Sans MS , serif","serif"">I’m interested in applying USNG collaring to maps in general as a grid overlay.  I’m pretty sure I ca do this with PERL, but all the re-projection
 capabilities in MapServer make it much more attractive.  There are also quite a fe desires finishing options that I would like to include related to rotation and alignment.  I’m open to applying the collar on or off (outside of ) the map itself.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;font-family:"Comic Sans MS , serif","serif""> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;font-family:"Comic Sans MS , serif","serif"">I’ve worked with both the ESRI and AutoDesk tools for accomplishing the same results as well.  AutoDesk has a fairly well thought out XML
 file format for defining the grid labeling, it’s almost SLD-ish as a matter of fact.  I’ve also been involved in a couple of Javascript mashups to provide USNG overlays to maps, but they aren’t hardcopy centric, which is what I need to focus on.</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;font-family:"Comic Sans MS , serif","serif""> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;font-family:"Comic Sans MS , serif","serif"">Thanks</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;font-family:"Comic Sans MS , serif","serif""> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;font-family:"Comic Sans MS , serif","serif"">Bobb</span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;font-family:"Comic Sans MS , serif","serif""> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:8.0pt;font-family:"Comic Sans MS , serif","serif""> </span><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><br>
<br>
<br>
<o:p></o:p></span></p>
<pre style="margin-left:.5in">_______________________________________________<o:p></o:p></pre>
<pre style="margin-left:.5in">mapserver-users mailing list<o:p></o:p></pre>
<pre style="margin-left:.5in"><a href="mailto:mapserver-users@lists.osgeo.org">mapserver-users@lists.osgeo.org</a><o:p></o:p></pre>
<pre style="margin-left:.5in"><a href="http://lists.osgeo.org/mailman/listinfo/mapserver-users">http://lists.osgeo.org/mailman/listinfo/mapserver-users</a><o:p></o:p></pre>
</blockquote>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:12.0pt;font-family:"Times New Roman","serif""><o:p> </o:p></span></p>
</div>
</body>
</html>