<html><body><div style="color:#000; background-color:#fff; font-family:arial, helvetica, sans-serif;font-size:10pt"><div><span>There is no fall-back to MapServer mode.</span></div><div><br><span></span></div><div><span>I really thought LAYERS=all was still working. </span>In fact, I thought it's being used in the demo?</div><div><br></div><div><blockquote style="border-left: 2px solid rgb(16, 16, 255); margin-left: 5px; margin-top: 5px; padding-left: 5px;"><div style="font-family: arial, helvetica, sans-serif; font-size: 10pt;"><div style="font-family: times new roman, new york, times, serif; font-size: 12pt;"><div dir="ltr"><font face="Arial" size="2"> <b><span style="font-weight: bold;">To:</span></b> Johan Forsman &lt;Johan.Forsman@LA.GOV&gt; <br><b><span style="font-weight: bold;">Cc:</span></b> Bob Basques &lt;Bob.Basques@ci.stpaul.mn.us&gt;; "geomoose-users@lists.osgeo.org" &lt;geomoose-users@lists.osgeo.org&gt; <br> <b><span style="font-weight:
 bold;">Sent:</span></b> Monday, April 16, 2012 8:41 PM<br> <b><span style="font-weight: bold;">Subject:</span></b> Re: [Geomoose-users] Changes to mapserver-type layer handling in GM 2.6?<br> </font> </div> <br>
<div id="yiv893349410"><base><div><div>Cool!</div><div><br></div>The list is always a good place to start for problems/questions/feedback.<div><br></div><div>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?</div><div><br><div><div>On Apr 16, 2012, at 8:08 PM, Johan Forsman wrote:</div><br class="yiv893349410Apple-interchange-newline"><blockquote type="cite"><span class="yiv893349410Apple-style-span" style="border-collapse:separate;font-family:Helvetica;font-style:normal;font-variant:normal;font-weight:normal;letter-spacing:normal;line-height:normal;orphans:2;text-indent:0px;text-transform:none;white-space:normal;widows:2;word-spacing:0px;font-size:medium;"><div style="margin-left:3pt;margin-top:3pt;margin-right:3pt;margin-bottom:0.75pt;" lang="EN-US"><div class="yiv893349410WordSection1" style=""><div class="yiv893349410MsoNormal"
 style="margin-right:0in;margin-left:3pt;font-size:12pt;font-family:serif;"><span style="font-size:10pt;font-family:Arial, sans-serif;color:rgb(31, 73, 125);">Success!</span></div><div class="yiv893349410MsoNormal" style="margin-right:0in;margin-left:3pt;font-size:12pt;font-family:serif;"><span style="font-size:10pt;font-family:Arial, sans-serif;color:rgb(31, 73, 125);">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="all"/&gt; in the mapbook.</span></div><div class="yiv893349410MsoNormal" style="margin-right:0in;margin-left:3pt;font-size:12pt;font-family:serif;"><a rel="nofollow" name="_MailEndCompose"><span style="font-size:10pt;font-family:Arial, sans-serif;color:rgb(31, 73, 125);">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></div><div class="yiv893349410MsoNormal" style="margin-right:0in;margin-left:3pt;font-size:12pt;font-family:serif;"><span style="font-size:10pt;font-family:Arial, sans-serif;color:rgb(31, 73, 125);">Thanks for the tips and for a really great product.</span></div><div class="yiv893349410MsoNormal" style="margin-right:0in;margin-left:3pt;font-size:12pt;font-family:serif;"><span style="font-size:10pt;font-family:Arial, sans-serif;color:rgb(31, 73, 125);">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></div><div class="yiv893349410MsoNormal"
 style="margin-right:0in;margin-left:3pt;font-size:12pt;font-family:serif;"><span style="font-size:10pt;font-family:Arial, sans-serif;color:rgb(31, 73, 125);">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></div><div class="yiv893349410MsoNormal" style="margin-right:0in;margin-left:3pt;font-size:12pt;font-family:serif;"><span style="font-size:10pt;font-family:Arial, sans-serif;color:rgb(31, 73, 125);">Thanks again,</span></div><div class="yiv893349410MsoNormal" style="margin-right:0in;margin-left:3pt;font-size:12pt;font-family:serif;"><span style="font-size:10pt;font-family:Arial, sans-serif;color:rgb(31, 73, 125);">Johan.</span></div><div><div style="border-right-style:none;border-bottom-style:none;border-left-style:none;border-color:initial;border-top-style:solid;border-top-color:rgb(181, 196,
 223);border-top-width:1pt;padding-top:3pt;padding-right:0in;padding-bottom:0in;padding-left:0in;"><div style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:serif;margin-top:0in;margin-bottom:0.0001pt;"><b><span style="font-size:10pt;font-family:Tahoma, sans-serif;">From:</span></b><span style="font-size:10pt;font-family:Tahoma, sans-serif;"><span class="yiv893349410Apple-converted-space">&nbsp;</span>Bob Basques [mailto:Bob.Basques@ci.stpaul.mn.us]<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 rel="nofollow" ymailto="mailto:geomoose-users@lists.osgeo.org" target="_blank" href="mailto:geomoose-users@lists.osgeo.org"
 style="color:blue;text-decoration:underline;">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></div></div></div><div class="yiv893349410MsoNormal" style="margin-right:0in;margin-left:3pt;font-size:12pt;font-family:serif;"> &nbsp;</div><div style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:serif;margin-top:0in;margin-bottom:0.0001pt;"><span style="font-family:'Comic Sans MS';">All (of you),</span></div><div style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:serif;margin-top:0in;margin-bottom:0.0001pt;"><span style="font-family:'Comic Sans MS';"> &nbsp;</span></div><div style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:serif;margin-top:0in;margin-bottom:0.0001pt;"><span style="font-family:'Comic Sans MS';">Just adding the desired layers to a GROUP called "all",
 should fix things (I think)</span></div><div style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:serif;margin-top:0in;margin-bottom:0.0001pt;"><span style="font-family:'Comic Sans MS';"> &nbsp;</span></div><div style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:serif;margin-top:0in;margin-bottom:0.0001pt;"><span style="font-family:'Comic Sans MS';">bobb</span></div><div style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:serif;margin-top:0in;margin-bottom:0.0001pt;"><span style="font-family:'Comic Sans MS';"> &nbsp;</span></div><div style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:serif;margin-top:0in;margin-bottom:0.0001pt;"><span style="font-family:'Comic Sans MS';"><br><br>&gt;&gt;&gt; Jim Klassen &lt;<a rel="nofollow" ymailto="mailto:klassen.js@gmail.com" target="_blank" href="mailto:klassen.js@gmail.com" style="color:blue;text-decoration:underline;">klassen.js@gmail.com</a>&gt;
 wrote:</span></div><table class="yiv893349410MsoNormalTable" style="margin-left:11.25pt;background-color:rgb(243, 243, 243);" border="0" cellpadding="0"><tbody><tr><td style="padding-top:0.75pt;padding-right:0.75pt;padding-bottom:0.75pt;padding-left:0.75pt;"><div style="border-top-style:none;border-right-style:none;border-bottom-style:none;border-color:initial;border-left-style:solid;border-left-color:rgb(5, 5, 5);border-left-width:1pt;padding-top:0in;padding-right:0in;padding-bottom:0in;padding-left:5pt;"><div style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:serif;margin-top:0in;margin-bottom:0.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'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 "all" 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 "roads" source defined in the mapbook
 very simply as such:<br>&gt;<br>&gt; &lt;map-source name="roads_simple" type="mapserver" &gt;<br>&gt; &lt;file&gt;./sdwp/roads/webmaps_osm_lahwys.map&lt;/file&gt;<br>&gt; &lt;layer name="all"/&gt;<br>&gt;<br>&gt; &lt;layer title="Roads" src="roads_simple/all" status="off" legend="true" show-legend="true" fade="false" unfade="false"/&gt;<br>&gt;<br>&gt; The forwarded URL request is:<br>&gt;<br>&gt;<span class="yiv893349410Apple-converted-space">&nbsp;</span>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<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>http://oph-isb-gis01/cgi-bin/mapserv.exe?<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="LayerNotDefined"&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 rel="nofollow" ymailto="mailto:Geomoose-users@lists.osgeo.org" target="_blank" href="mailto:Geomoose-users@lists.osgeo.org" style="color:blue;text-decoration:underline;">Geomoose-users@lists.osgeo.org</a><br>&gt;<span class="yiv893349410Apple-converted-space">&nbsp;</span><a rel="nofollow" target="_blank" href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" style="color:blue;text-decoration:underline;">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><br><br>_______________________________________________<br>Geomoose-users mailing list<br><a rel="nofollow" ymailto="mailto:Geomoose-users@lists.osgeo.org" target="_blank" href="mailto:Geomoose-users@lists.osgeo.org" style="color:blue;text-decoration:underline;">Geomoose-users@lists.osgeo.org</a><br><a rel="nofollow" target="_blank"
 href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" style="color:blue;text-decoration:underline;">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a></div></div></td></tr></tbody></table><div style="margin-right:0in;margin-left:0in;font-size:12pt;font-family:serif;margin-top:0in;margin-bottom:0.0001pt;"> &nbsp;</div></div></div></span></blockquote></div><br></div></div></div><br>_______________________________________________<br>Geomoose-users mailing list<br><a ymailto="mailto:Geomoose-users@lists.osgeo.org" 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><br> </div> </div> </blockquote></div>   </div></body></html>