<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=utf-8"><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;}
/* 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.MsoAcetate, li.MsoAcetate, div.MsoAcetate
        {mso-style-priority:99;
        mso-style-link:"Balloon Text Char";
        margin:0in;
        margin-bottom:.0001pt;
        font-size:8.0pt;
        font-family:"Tahoma","sans-serif";}
span.yiv893349410apple-style-span
        {mso-style-name:yiv893349410apple-style-span;}
span.yiv893349410apple-converted-space
        {mso-style-name:yiv893349410apple-converted-space;}
span.EmailStyle19
        {mso-style-type:personal-reply;
        font-family:"Arial","sans-serif";
        color:windowtext;
        font-weight:normal;
        font-style:normal;
        text-decoration:none none;}
span.BalloonTextChar
        {mso-style-name:"Balloon Text Char";
        mso-style-priority:99;
        mso-style-link:"Balloon Text";
        font-family:"Tahoma","sans-serif";}
.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 lang=EN-US link=blue vlink=purple><div class=WordSection1><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'>As far as I can tell the only layers in the demo where the ‘all’ parameter is used is the Yahoo/Google layers. All MapServer layers are explicitly called by name.<o:p></o:p></span></p><p class=MsoNormal><span style='font-size:10.0pt;font-family:"Arial","sans-serif"'><o:p>&nbsp;</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"'> Dan Little [mailto:danlittle@yahoo.com] <br><b>Sent:</b> Tuesday, April 17, 2012 8:39 AM<br><b>To:</b> Jim Klassen; Johan Forsman<br><b>Cc:</b> Bob Basques; geomoose-users@lists.osgeo.org<br><b>Subject:</b> Re: [Geomoose-users] Changes to mapserver-type layer handling in GM 2.6?<o:p></o:p></span></p></div></div><p class=MsoNormal><o:p>&nbsp;</o:p></p><div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>There is no fall-back to MapServer mode.<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>I really thought LAYERS=all was still working. In fact, I thought it's being used in the demo?<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'><o:p>&nbsp;</o:p></span></p></div><div><blockquote style='border:none;border-left:solid #1010FF 1.5pt;padding:0in 0in 0in 4.0pt;margin-left:3.75pt;margin-top:3.75pt;margin-bottom:5.0pt'><div><div><div><p class=MsoNormal style='background:white'><b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'>To:</span></b><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:black'> Johan Forsman &lt;<a href="mailto:Johan.Forsman@LA.GOV">Johan.Forsman@LA.GOV</a>&gt; <br><b>Cc:</b> Bob Basques &lt;<a href="mailto:Bob.Basques@ci.stpaul.mn.us">Bob.Basques@ci.stpaul.mn.us</a>&gt;; &quot;<a href="mailto:geomoose-users@lists.osgeo.org">geomoose-users@lists.osgeo.org</a>&quot; &lt;<a href="mailto:geomoose-users@lists.osgeo.org">geomoose-users@lists.osgeo.org</a>&gt; <br><b>Sent:</b> Monday, April 16, 2012 8:41 PM<br><b>Subject:</b> Re: [Geomoose-users] Changes to mapserver-type layer handling in GM 2.6?</span><span style='color:black'><o:p></o:p></span></p></div><p class=MsoNormal style='background:white'><span style='color:black'><o:p>&nbsp;</o:p></span></p><div id=yiv893349410><div><div><p class=MsoNormal style='background:white'><span style='color:black'>Cool!<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p>&nbsp;</o:p></span></p></div><p class=MsoNormal style='background:white'><span style='color:black'>The list is always a good place to start for problems/questions/feedback.<o:p></o:p></span></p><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p>&nbsp;</o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'>At one point I thought there was a fallback to the old MapServer mode, but I'm not seeing it in the code now. &nbsp;Maybe I missed it. &nbsp;Dan?<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='color:black'><o:p>&nbsp;</o:p></span></p><div><div><p class=MsoNormal style='background:white'><span style='color:black'>On Apr 16, 2012, at 8:08 PM, Johan Forsman wrote:<o:p></o:p></span></p></div><p class=MsoNormal style='background:white'><span style='color:black'><br><br><o:p></o:p></span></p><div style='margin-left:3.0pt;margin-top:3.0pt;margin-right:3.0pt;margin-bottom:.75pt'><div><div style='margin-left:3.0pt'><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Success!</span><span style='color:black'><o:p></o:p></span></p></div><div style='margin-left:3.0pt'><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>The fastest method I could think of to test all layers was a bulk Find of “STATUS ON” and Replace with “GROUP ‘all’” which indeed allows the layers to display as intended using &lt;layer name=&quot;all&quot;/&gt; in the mapbook.</span><span style='color:black'><o:p></o:p></span></p></div><div style='margin-left:3.0pt'><p class=MsoNormal style='background:white'><a name="_MailEndCompose"><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>I think this topic needs to be documented front and center in the migration guide as it represents a fundamental change in the way the application works. I am sure there are many instances of legacy GM/MapServer &nbsp;installations that may require significant retooling to work with the new version, especially if they are not configured to serve WMS already.</span></a><span style='color:black'><o:p></o:p></span></p></div><div style='margin-left:3.0pt'><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Thanks for the tips and for a really great product.</span><span style='color:black'><o:p></o:p></span></p></div><div style='margin-left:3.0pt'><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>I am curious about Jim’s “in the default case” &nbsp;statement. Does this mean there is a case where the MapServer layers are *<b>not</b>* translated to WMS calls?</span><span style='color:black'><o:p></o:p></span></p></div><div style='margin-left:3.0pt'><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Incidentally, I may have discovered a few other items that may not be as intended. If they are not user error, where is appropriate to report them?</span><span style='color:black'><o:p></o:p></span></p></div><div style='margin-left:3.0pt'><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Thanks again,</span><span style='color:black'><o:p></o:p></span></p></div><div style='margin-left:3.0pt'><p class=MsoNormal style='background:white'><span style='font-size:10.0pt;font-family:"Arial","sans-serif";color:#1F497D'>Johan.</span><span style='color:black'><o:p></o:p></span></p></div><div><div style='border:none;border-top:solid windowtext 1.0pt;padding:3.0pt 0in 0in 0in;border-color:initial;border-top-color:rgb(181, 196,&#13;&#10; 223)'><div><p class=MsoNormal style='background:white'><b><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>From:</span></b><span class=yiv893349410apple-converted-space><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>&nbsp;</span></span><span style='font-size:10.0pt;font-family:"Tahoma","sans-serif";color:black'>Bob Basques <a href="mailto:[mailto:Bob.Basques@ci.stpaul.mn.us]">[mailto:Bob.Basques@ci.stpaul.mn.us]</a><span class=yiv893349410apple-converted-space>&nbsp;</span><br><b>Sent:</b><span class=yiv893349410apple-converted-space>&nbsp;</span>Monday, April 16, 2012 3:07 PM<br><b>To:</b><span class=yiv893349410apple-converted-space>&nbsp;</span>Jim Klassen; Johan Forsman<br><b>Cc:</b><span class=yiv893349410apple-converted-space>&nbsp;</span><a href="mailto:geomoose-users@lists.osgeo.org" target="_blank">geomoose-users@lists.osgeo.org</a><br><b>Subject:</b><span class=yiv893349410apple-converted-space>&nbsp;</span>Re: [Geomoose-users] Changes to mapserver-type layer handling in GM 2.6?</span><span style='color:black'><o:p></o:p></span></p></div></div></div><div style='margin-left:3.0pt'><p class=MsoNormal style='background:white'><span style='color:black'>&nbsp;<o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Comic Sans MS";color:black'>All (of you),</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Comic Sans MS";color:black'>&nbsp;</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Comic Sans MS";color:black'>Just adding the desired layers to a GROUP called &quot;all&quot;, should fix things (I think)</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Comic Sans MS";color:black'>&nbsp;</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Comic Sans MS";color:black'>bobb</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Comic Sans MS";color:black'>&nbsp;</span><span style='color:black'><o:p></o:p></span></p></div><div><p class=MsoNormal style='background:white'><span style='font-family:"Comic Sans MS";color:black'><br><br>&gt;&gt;&gt; Jim Klassen &lt;<a href="mailto:klassen.js@gmail.com" target="_blank">klassen.js@gmail.com</a>&gt; wrote:</span><span style='color:black'><o:p></o:p></span></p></div><table class=MsoNormalTable border=0 cellpadding=0 style='margin-left:11.25pt;background:#F3F3F3'><tr><td style='padding:.75pt .75pt .75pt .75pt'><div style='border:none;border-left:solid #050505 1.0pt;padding:0in 0in 0in 5.0pt;border-color:initial'><div><p class=MsoNormal>It was intentional to migrate to using WMS over the MapServer specific calls in the default case as it eases interoperability with other servers and simplifies the code in many cases.<br><br>I don't think it was intentional to loose the layers=all trick (which was implemented inside MapServer not GeoMoose).&nbsp; Do any of the suggestions in the MapServer ticket referenced by Bob work as a workaround for you?<br><br>While 2.6 is near to release, one of the bigger tasks left is finishing up documentation.&nbsp; Thank you for testing and bring this to our attention.<br><br>On Apr 16, 2012, at 2:24 PM, Johan Forsman wrote:<br><br>&gt; All:<br>&gt;<br>&gt; I am slowly migrating a GM 2.2 site with some minor customizations to 2.6 and am wondering if what I am observing with my mapserver layers is by design or an error on my part.<br>&gt;<br>&gt; On 2.6 it appears that all mapserver layers are requested as WMS which appears to result in<br>&gt;<br>&gt; 1) any mapserver-type layer returns an error if the map file does not at least contain something like 'ows_enable_request' '*', and<br>&gt;<br>&gt; 2) using the &quot;all&quot; parameter in the layer definition in the mapbook returns an error.<br>&gt;<br>&gt; For example, in the 2.2 environment I have a &quot;roads&quot; source defined in the mapbook very simply as such:<br>&gt;<br>&gt; &lt;map-source name=&quot;roads_simple&quot; type=&quot;mapserver&quot; &gt;<br>&gt; &lt;file&gt;./sdwp/roads/webmaps_osm_lahwys.map&lt;/file&gt;<br>&gt; &lt;layer name=&quot;all&quot;/&gt;<br>&gt;<br>&gt; &lt;layer title=&quot;Roads&quot; src=&quot;roads_simple/all&quot; status=&quot;off&quot; legend=&quot;true&quot; show-legend=&quot;true&quot; fade=&quot;false&quot; unfade=&quot;false&quot;/&gt;<br>&gt;<br>&gt; The forwarded URL request is:<br>&gt;<br>&gt;<span class=yiv893349410apple-converted-space>&nbsp;</span><a href="http://oph-isb-gis01/cgi-bin/mapserv.exe?map=/mapserver/apps/geomoose2/maps//sdwp/roads/webmaps_osm_lahwys.map&amp;layers=all&amp;mode=map&amp;mapext=-10879743+3088767+-9475743+4200267&amp;imgext=-10879743+3088767+-9475743+4200267&amp;map_size=1404+1111&amp;imgx=702&amp;imgy=555.5&amp;imgxy=1404+1111">http://oph-isb-gis01/cgi-bin/mapserv.exe?map=/mapserver/apps/geomoose2/maps//sdwp/roads/webmaps_osm_lahwys.map&amp;layers=all&amp;mode=map&amp;mapext=-10879743+3088767+-9475743+4200267&amp;imgext=-10879743+3088767+-9475743+4200267&amp;map_size=1404+1111&amp;imgx=702&amp;imgy=555.5&amp;imgxy=1404+1111</a><br>&gt;<br>&gt; The map file contains many scale-dependent line- and annotation layers and renders beautifully.<br>&gt;<br>&gt; In the 2.6 environment the same mapbook definition and mapfile results in this call:<br>&gt;<br>&gt;<span class=yiv893349410apple-converted-space>&nbsp;</span><a href="http://oph-isb-gis01/cgi-bin/mapserv.exe">http://oph-isb-gis01/cgi-bin/mapserv.exe</a>?<br>&gt; MAP=/mapserver/apps/geomoose26/maps//sdwp/roads/webmaps_osm_lahwys.map&amp;FORMAT=image/png&amp;TRANSPARENT=TRUE&amp;SERVICE=WMS&amp;VERSION=1.1.1&amp;REQUEST=GetMap&amp;STYLES=&amp;LAYERS=all&amp;SRS=EPSG%3A3857&amp;BBOX=-10706687.23566,3214635.152984,-9648798.7643401,4074398.847016&amp;WIDTH=865&amp;HEIGHT=703<br>&gt;<br>&gt; which returns:<br>&gt;<br>&gt; &lt;ServiceException code=&quot;LayerNotDefined&quot;&gt;<br>&gt; msWMSLoadGetMapParams(): WMS server error. Invalid layer(s) given in the LAYERS parameter.<br>&gt; &lt;/ServiceException&gt;<br>&gt;<br>&gt; I have unsuccessfully searched for documentation on this topic. Please advise.<br>&gt;<br>&gt; Thanks!<br>&gt; Johan Forsman<br>&gt; Geologist<br>&gt; Engineering Services<br>&gt; LDHH-OPH-CEHS<br>&gt; 225.342.7309<br>&gt;<br>&gt;<br>&gt; _______________________________________________<br>&gt; Geomoose-users mailing list<br>&gt;<span class=yiv893349410apple-converted-space>&nbsp;</span><a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br>&gt;<span class=yiv893349410apple-converted-space>&nbsp;</span><a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br><br>_______________________________________________<br>Geomoose-users mailing list<br><a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><o:p></o:p></p></div></div></td></tr></table><div><p class=MsoNormal style='background:white'><span style='color:black'>&nbsp;<o:p></o:p></span></p></div></div></div></div><p class=MsoNormal style='background:white'><span style='color:black'><o:p>&nbsp;</o:p></span></p></div></div></div><p class=MsoNormal style='margin-bottom:12.0pt;background:white'><span style='color:black'><br>_______________________________________________<br>Geomoose-users mailing list<br><a href="mailto:Geomoose-users@lists.osgeo.org">Geomoose-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" target="_blank">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br><br><o:p></o:p></span></p></div></div></blockquote></div></div></div></body></html>