Johan,<br>     <br><div class="gmail_quote">On Mon, Apr 16, 2012 at 6:08 PM, Johan Forsman <span dir="ltr">&lt;<a href="mailto:Johan.Forsman@la.gov" target="_blank">Johan.Forsman@la.gov</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">

<u></u><u></u><div link="blue" vlink="purple" style="margin-left:3.0pt;margin-top:3.0pt;margin-right:3.0pt;margin-bottom:.75pt" lang="EN-US"><div><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">Success!<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;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. <u></u><u></u></span></p>

<p class="MsoNormal"><a name="136bf52db388b4bd_136bdd7e9cb5e500__MailEndCompose"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;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  installations that may require significant </span></a></p>

</div></div></blockquote><div><br>I have updated documentation here, 
<a href="http://geomoose.org/trunk/releases/2.6.html#release" target="_blank">http://geomoose.org/trunk/releases/2.6.html#release</a> and here, <a href="http://geomoose.org/trunk/docs/faq.html#why-doesn-t-layers-all-work-anymore">http://geomoose.org/trunk/docs/faq.html#why-doesn-t-layers-all-work-anymore</a> (should show updates in a while)  Please review it to confirm that it is sufficient.  <br>
 </div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div link="blue" vlink="purple" style="margin:3pt 3pt 0.75pt" lang="EN-US">
<div><p class="MsoNormal"><a name="136bf52db388b4bd_136bdd7e9cb5e500__MailEndCompose"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)">retooling to work with the new version, especially if they are not configured to serve WMS already.<u></u><u></u></span></a></p>

<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks for the tips and for a really great product.<u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">I am curious about Jim’s “in the default case”  statement. Does this mean there is a case where the MapServer layers are *<b>not</b>* translated to WMS calls?<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;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></p>

</div></div></blockquote><div><br>The email list is always a great place to confirm things. Once you are certain, a Trac Ticket is usually the best route, <a href="http://trac.osgeo.org/geomoose/newticket" target="_blank">http://trac.osgeo.org/geomoose/newticket</a><br>

 <br>Bests, Eli<br><br></div><blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex"><div link="blue" vlink="purple" style="margin:3pt 3pt 0.75pt" lang="EN-US">

<div><p class="MsoNormal"><span style="font-size:10pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:rgb(31,73,125)"><u></u><u></u></span></p><p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">Thanks again,<u></u><u></u></span></p>

<p class="MsoNormal"><span style="font-size:10.0pt;font-family:&quot;Arial&quot;,&quot;sans-serif&quot;;color:#1f497d">Johan.<u></u><u></u></span></p><div><div style="border:none;border-top:solid #b5c4df 1.0pt;padding:3.0pt 0in 0in 0in">

<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;">From:</span></b><span style="font-size:10.0pt;font-family:&quot;Tahoma&quot;,&quot;sans-serif&quot;"> Bob Basques [mailto:<a href="mailto:Bob.Basques@ci.stpaul.mn.us" target="_blank">Bob.Basques@ci.stpaul.mn.us</a>] <br>

<b>Sent:</b> Monday, April 16, 2012 3:07 PM<br><b>To:</b> Jim Klassen; Johan Forsman<br><b>Cc:</b> <a href="mailto:geomoose-users@lists.osgeo.org" target="_blank">geomoose-users@lists.osgeo.org</a><br><b>Subject:</b> Re: [Geomoose-users] Changes to mapserver-type layer handling in GM 2.6?<u></u><u></u></span></p>

</div></div><div><div><p class="MsoNormal"><u></u> <u></u></p><p style="margin:0in;margin-bottom:.0001pt"><span style="font-family:&quot;Comic Sans MS&quot;">All (of you), <u></u><u></u></span></p><p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt">

<span style="font-family:&quot;Comic Sans MS&quot;"><u></u> <u></u></span></p><p style="margin:0in;margin-bottom:.0001pt"><span style="font-family:&quot;Comic Sans MS&quot;">Just adding the desired layers to a GROUP called &quot;all&quot;, should fix things (I think) <u></u><u></u></span></p>

<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-family:&quot;Comic Sans MS&quot;"><u></u> <u></u></span></p><p style="margin:0in;margin-bottom:.0001pt"><span style="font-family:&quot;Comic Sans MS&quot;">bobb <u></u><u></u></span></p>

<p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><span style="font-family:&quot;Comic Sans MS&quot;"><u></u> <u></u></span></p><p style="margin:0in;margin-bottom:.0001pt"><span style="font-family:&quot;Comic Sans MS&quot;"><br>

<br>&gt;&gt;&gt; Jim Klassen &lt;<a href="mailto:klassen.js@gmail.com" target="_blank">klassen.js@gmail.com</a>&gt; wrote:<u></u><u></u></span></p><table style="margin-left:11.25pt;background:#f3f3f3" border="0" cellpadding="0">

<tbody><tr><td style="padding:.75pt .75pt .75pt .75pt"><div style="border:none;border-left:solid #050505 1.0pt;padding:0in 0in 0in 5.0pt"><p style="margin:0in;margin-bottom:.0001pt">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&#39;t think it was intentional to loose the layers=all trick (which was implemented inside MapServer not GeoMoose).  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.  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 &#39;ows_enable_request&#39; &#39;*&#39;, 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; <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" target="_blank">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; <a href="http://oph-isb-gis01/cgi-bin/mapserv.exe?" target="_blank">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; <a href="mailto:Geomoose-users@lists.osgeo.org" target="_blank">Geomoose-users@lists.osgeo.org</a><br>&gt; <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><u></u><u></u></p>

</div></td></tr></tbody></table><p class="MsoNormal" style="margin:0in;margin-bottom:.0001pt"><u></u> <u></u></p></div></div></div></div><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><br>
<br></blockquote></div><br>