<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 12 (filtered medium)">
<title>Geomoose optimization... map source</title>
<style>
<!--
/* Font Definitions */
@font-face
        {font-family:"Cambria Math";
        panose-1:2 4 5 3 5 4 6 3 2 4;}
@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;}
/* 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;
        mso-margin-top-alt:auto;
        margin-right:0in;
        mso-margin-bottom-alt:auto;
        margin-left:0in;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
p.MsoListParagraph, li.MsoListParagraph, div.MsoListParagraph
        {mso-style-priority:34;
        margin-top:0in;
        margin-right:0in;
        margin-bottom:0in;
        margin-left:.5in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
span.EmailStyle18
        {mso-style-type:personal-reply;
        font-family:"Calibri","sans-serif";
        color:#1F497D;}
.MsoChpDefault
        {mso-style-type:export-only;
        font-size:10.0pt;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
/* List Definitions */
@list l0
        {mso-list-id:1875192295;
        mso-list-type:hybrid;
        mso-list-template-ids:1882912558 67698703 67698713 67698715 67698703 67698713 67698715 67698703 67698713 67698715;}
@list l0:level1
        {mso-level-tab-stop:none;
        mso-level-number-position:left;
        text-indent:-.25in;}
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=Section1>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Just to be clear, we are talking GM 2.x (in GM 1.x each source
could be only one layer).<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>For my two cents, I tried to put all layers into a single
mapfile and thus have one map-source, but generally don’t do this any
more because:<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><span
style='mso-list:Ignore'>1.<span style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The stack order of layers is set by the order of the layers in
the map-source (top layer on top, then goes down from there)<o:p></o:p></span></p>
<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><span
style='mso-list:Ignore'>2.<span style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Opacity is set at the map-source level, thus all layers in a
map-source would have the same opacity<o:p></o:p></span></p>
<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><span
style='mso-list:Ignore'>3.<span style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>The fade-in and fade-out tools work at the map-source level,
thus all layers would be changed when changing one in the catalog<o:p></o:p></span></p>
<p class=MsoListParagraph style='text-indent:-.25in;mso-list:l0 level1 lfo1'><![if !supportLists]><span
style='font-size:11.0pt;font-family:"Calibri","sans-serif";color:#1F497D'><span
style='mso-list:Ignore'>4.<span style='font:7.0pt "Times New Roman"'>
</span></span></span><![endif]><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Tend to get a redraw of all layers in the map-source when turning
one layer on/off<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>I still combine “like” layers into one map-source
and one mapfile, but watch how the layers are going to be displayed.<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><o:p> </o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'>Len<o:p></o:p></span></p>
<p class=MsoNormal><span style='font-size:11.0pt;font-family:"Calibri","sans-serif";
color:#1F497D'><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><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'>From:</span></b><span
style='font-size:10.0pt;font-family:"Tahoma","sans-serif"'> Mark Volz
[mailto:MarkVolz@co.lyon.mn.us] <br>
<b>Sent:</b> Thursday, February 18, 2010 8:46 AM<br>
<b>To:</b> geomoose-users@lists.sourceforge.net<br>
<b>Subject:</b> [Geomoose-users] Geomoose optimization... map source<o:p></o:p></span></p>
</div>
</div>
<p class=MsoNormal><o:p> </o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>Hello,</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>I would like to try to move
all my layers into a single .map file so that only</span> <span
style='font-family:"Calibri","sans-serif"'>one map with many layers is drawn at
a time. Is the standard practice to:</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>1) </span>
<span style='font-family:"Calibri","sans-serif"'>Create a single
<map-source> with</span> <span style='font-family:"Calibri","sans-serif"'>multiple
references in the catalog to that single map source.</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>2) </span>
<span style='font-family:"Calibri","sans-serif"'>Create</span> <span
style='font-family:"Calibri","sans-serif"'>separate <map-source> tags
that each have their own reference</span> <span style='font-family:"Calibri","sans-serif"'>to
the same</span> <span style='font-family:"Calibri","sans-serif"'>.map file.</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>For example which example
between the two is a standard practice so only one map is drawn?</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><map-source
name="AllLayers" type="mapserver"></span><o:p></o:p></p>
<p> <span style='font-family:"Calibri","sans-serif"'><file>AllLayers.map</file></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><layer
name="layer1"/></span><o:p></o:p></p>
<p> <span style='font-family:"Calibri","sans-serif"'><layer
name="layer2"/></span><o:p></o:p></p>
<p> <span style='font-family:"Calibri","sans-serif"'><layer
name="layer3"/></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'></map-source></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>…</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><catalog></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><layer
title="layer1" src="AllLayers/layer1"/></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><layer
title="layer2" src="AllLayers/layer2"/></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><layer
title="layer3" src="AllLayers/layer3"/></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'></catalog></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>OR</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><map-source
name="layer1" type="mapserver"></span><o:p></o:p></p>
<p> <span style='font-family:"Calibri","sans-serif"'><file>AllLayers.map</file></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><layer
name="layer1"/></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'></map-source></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><map-source
name="layer2" type="mapserver"></span><o:p></o:p></p>
<p> <span style='font-family:"Calibri","sans-serif"'><file>AllLayers.map</file></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><layer
name="layer2"/></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'></map-source></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><map-source
name="layer3" type="mapserver"></span><o:p></o:p></p>
<p> <span style='font-family:"Calibri","sans-serif"'><file>AllLayers.map</file></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><layer
name="layer3"/></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'></map-source></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><catalog></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><layer
title="layer1" src="layer1/layer1"/></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><layer
title="layer2" src="layer2/layer2"/></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'><layer
title="layer3" src="layer3/layer3"/></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'></catalog></span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>Next,</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>Is it okay to use this
method for operational layers such as parcels?</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>Thanks</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>Mark Volz</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>GIS Specialist</span><o:p></o:p></p>
<p><span style='font-family:"Calibri","sans-serif"'>Lyon County, MN</span><o:p></o:p></p>
</div>
</body>
</html>