<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:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@font-face
{font-family:Wingdings;
panose-1:5 0 0 0 0 0 0 0 0 0;}
@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;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
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;}
p
{mso-style-priority:99;
margin:0in;
margin-bottom:.0001pt;
font-size:12.0pt;
font-family:"Times New Roman","serif";}
pre
{mso-style-priority:99;
mso-style-link:"HTML Preformatted Char";
margin:0in;
margin-bottom:.0001pt;
font-size:10.0pt;
font-family:"Courier New";}
span.HTMLPreformattedChar
{mso-style-name:"HTML Preformatted Char";
mso-style-priority:99;
mso-style-link:"HTML Preformatted";
font-family:Consolas;}
span.start-tag
{mso-style-name:start-tag;}
span.end-tag
{mso-style-name:end-tag;}
span.cdata
{mso-style-name:cdata;}
span.EmailStyle23
{mso-style-type:personal-reply;
font-family:"Comic Sans MS";
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;}
/* List Definitions */
@list l0
{mso-list-id:1513764551;
mso-list-type:hybrid;
mso-list-template-ids:1562917958 67698689 67698691 67698693 67698689 67698691 67698693 67698689 67698691 67698693;}
@list l0:level1
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level2
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level3
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level4
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level5
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level6
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
@list l0:level7
{mso-level-number-format:bullet;
mso-level-text:\F0B7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Symbol;}
@list l0:level8
{mso-level-number-format:bullet;
mso-level-text:o;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:"Courier New";}
@list l0:level9
{mso-level-number-format:bullet;
mso-level-text:\F0A7;
mso-level-tab-stop:none;
mso-level-number-position:left;
text-indent:-.25in;
font-family:Wingdings;}
ol
{margin-bottom:0in;}
ul
{margin-bottom:0in;}
--></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 lang="EN-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS"">All,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS"">Additional items related to my Parser for the printing from GeoMoose.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS""><o:p> </o:p></span></p>
<div>
<p class="MsoNormal" style="margin-left:.5in"><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS"">An example layer, JSON object (from the Demo for the “Parcels” layer) that is sent from GeoMoose for printing, looks something like this:<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS""><o:p> </o:p></span></p>
<pre><span class="cdata"><span style="color:black"> params => HASH(0xd0ae08)<o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="color:black"> FORMAT => image/png;bits=8<o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="color:black"> SRS => EPSG:3857<o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="color:black"> SERVICE => WMS<o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="color:black"> LAYERS => parcels<o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="color:black"> MAP => /srv/geomoose/geomoose-2.6.1/maps//demo/parcels/parcels.map<o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="color:black"> map => /srv/geomoose/geomoose-2.6.1/maps//demo/parcels/parcels.map<o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="color:black"> TRANSPARENT => TRUE<o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="color:black"> VERSION => 1.1.1<o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="color:black"> REQUEST => GetMap<o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="color:black"> STYLES => <o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="color:black"> legends => ARRAY(0xd0ae80)<o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="color:black"> 0 => /mapserver/cgi-bin/mapserv?FORMAT=image%2Fpng%3Bbits%3D8&MAP=%2Fsrv%2Fgeomoose%2Fgeomoose-2.6.1%2Fmaps%2F%2Fdemo%2Fparcels%2Fparcels.map&TRANSPARENT=TRUE&SERVICE=WMS&VERSION=1.1.1&REQUEST=GetLegendGraphic&STYLES=&LAYERS=parcels&SRS=EPSG%3A3857&BBOX=-10393038.057085,5549777.3884558,-10346373.251323,5578976.3332566&WIDTH=1221&HEIGHT=764&SCALE=108336.00408736734&LAYER=parcels<o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="color:black"> url => /mapserver/cgi-bin/mapserv<o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="color:black"> type => wms<o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="color:black"> layers => ARRAY(0xd0ae98)<o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="color:black"> 0 => parcels<o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="color:black"><o:p> </o:p></span></span></pre>
<pre><span class="cdata"><span style="font-size:8.0pt;font-family:"Comic Sans MS";color:black">Question: what would be the approach to grab each Layers “title” value from the mapbook for inclusion in the request? I want the Pretty-print value from the MapBook to build out a layer legend. In the above example the corresponding TITLE value => “Parcels” in the MapBook. And I guess while were at it, what about the META value as well. Hmm, now that I look closely at other layers, maybe I should be asking for all the Layer parameters (I may have missed some here) Am I in trac/ticket territory here? :<o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="font-size:8.0pt;font-family:"Comic Sans MS";color:black"><o:p> </o:p></span></span></pre>
<pre><span class="cdata"><span style="font-size:8.0pt;color:black"><map-source . . .><o:p></o:p></span></span></pre>
<pre style="margin-left:.5in"><span class="cdata"><span style="font-size:8.0pt;color:black">file => <PATH> (Already included – concatenated with GeoMoose home path)<o:p></o:p></span></span></pre>
<pre style="margin-left:.5in"><span class="cdata"><span style="font-size:8.0pt;color:black">url => <URL><o:p></o:p></span></span></pre>
<pre style="margin-left:.5in"><span class="cdata"><span style="font-size:8.0pt;color:black">layer - NAME => <STRING> (Already included)<o:p></o:p></span></span></pre>
<pre style="margin-left:.5in"><span class="cdata"><span style="font-size:8.0pt;color:black">layer - STATUS => <ON/OFF><o:p></o:p></span></span></pre>
<pre style="margin-left:.5in"><span class="cdata"><span style="font-size:8.0pt;color:black">param - <TRANSPARENT> => <TRUE/FALSE> (Already included) <o:p></o:p></span></span></pre>
<pre style="margin-left:.5in"><span class="cdata"><span style="font-size:8.0pt;color:black">param - <FORMAT> => <MIME-STRING> (Already included) <o:p></o:p></span></span></pre>
<pre style="margin-left:.5in"><span class="cdata"><span style="font-size:8.0pt;color:black"><o:p> </o:p></span></span></pre>
<pre><span class="cdata"><span style="font-size:8.0pt;color:black"></map-source><o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="font-size:8.0pt;color:black"><o:p> </o:p></span></span></pre>
<pre><span class="cdata"><span style="font-size:8.0pt;color:black"><layer . . .><o:p></o:p></span></span></pre>
<pre style="margin-left:.5in"><span class="cdata"><span style="font-size:8.0pt;color:black">title => <STRING><o:p></o:p></span></span></pre>
<pre style="margin-left:.5in"><span class="cdata"><span style="font-size:8.0pt;color:black">src => <PATH> (Already included – sort of)<o:p></o:p></span></span></pre>
<pre style="margin-left:.5in"><span class="cdata"><span style="font-size:8.0pt;color:black">status => <ON/OFF><o:p></o:p></span></span></pre>
<pre style="margin-left:.5in"><span class="cdata"><span style="font-size:8.0pt;color:black">legend => <TRUE/FALSE> (Already included – As Legend Link)<o:p></o:p></span></span></pre>
<pre style="margin-left:.5in"><span class="cdata"><span style="font-size:8.0pt;color:black">fade => <TRUE/FALSE><o:p></o:p></span></span></pre>
<pre style="margin-left:.5in"><span class="cdata"><span style="font-size:8.0pt;color:black">unfade => <TRUE/FALSE><o:p></o:p></span></span></pre>
<pre style="margin-left:.5in"><span class="cdata"><span style="font-size:8.0pt;color:black">metadata => <TRUE/FALSE><o:p></o:p></span></span></pre>
<pre style="margin-left:1.0in"><span class="cdata"><span style="font-size:8.0pt;color:black"><METADATA> < URL> </METADATA><o:p></o:p></span></span></pre>
<pre style="margin-left:.5in"><span class="cdata"><span style="font-size:8.0pt;color:black">Tip => <STRING><o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="font-size:8.0pt;color:black"></layer><o:p></o:p></span></span></pre>
<pre><span class="cdata"><span style="font-size:8.0pt;font-family:"Comic Sans MS";color:black"><o:p> </o:p></span></span></pre>
<pre><span class="cdata"><span style="font-size:8.0pt;font-family:"Comic Sans MS";color:black"><o:p> </o:p></span></span></pre>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS"">Thanks<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS"">Bobb<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS""><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:8.0pt;font-family:"Comic Sans MS""><o:p> </o:p></span></p>
</div>
</div>
</body>
</html>