<html><head><base href="x-msg://28/"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; "><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="Apple-interchange-newline"><blockquote type="cite"><span class="Apple-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-align: -webkit-auto; text-indent: 0px; text-transform: none; white-space: normal; widows: 2; word-spacing: 0px; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; -webkit-text-decorations-in-effect: none; -webkit-text-size-adjust: auto; -webkit-text-stroke-width: 0px; font-size: medium; "><div lang="EN-US" link="blue" vlink="purple" style="margin-left: 3pt; margin-top: 3pt; margin-right: 3pt; margin-bottom: 0.75pt; "><div class="WordSection1" style="page: WordSection1; "><p class="MsoNormal" style="margin-right: 0in; margin-left: 3pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(31, 73, 125); ">Success!<o:p></o:p></span></p><p class="MsoNormal" style="margin-right: 0in; margin-left: 3pt; font-size: 12pt; font-family: 'Times New Roman', 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.<o:p></o:p></span></p><p class="MsoNormal" style="margin-right: 0in; margin-left: 3pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><a 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.<o:p></o:p></span></a></p><p class="MsoNormal" style="margin-right: 0in; margin-left: 3pt; font-size: 12pt; font-family: 'Times New Roman', 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.<o:p></o:p></span></p><p class="MsoNormal" style="margin-right: 0in; margin-left: 3pt; font-size: 12pt; font-family: 'Times New Roman', 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?<o:p></o:p></span></p><p class="MsoNormal" style="margin-right: 0in; margin-left: 3pt; font-size: 12pt; font-family: 'Times New Roman', 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?<o:p></o:p></span></p><p class="MsoNormal" style="margin-right: 0in; margin-left: 3pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(31, 73, 125); ">Thanks again,<o:p></o:p></span></p><p class="MsoNormal" style="margin-right: 0in; margin-left: 3pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><span style="font-size: 10pt; font-family: Arial, sans-serif; color: rgb(31, 73, 125); ">Johan.<o:p></o:p></span></p><div><div style="border-right-style: none; border-bottom-style: none; border-left-style: none; border-width: initial; 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: 'Times New Roman', 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="Apple-converted-space">&nbsp;</span>Bob Basques [mailto:Bob.Basques@ci.stpaul.mn.us]<span class="Apple-converted-space">&nbsp;</span><br><b>Sent:</b><span class="Apple-converted-space">&nbsp;</span>Monday, April 16, 2012 3:07 PM<br><b>To:</b><span class="Apple-converted-space">&nbsp;</span>Jim Klassen; Johan Forsman<br><b>Cc:</b><span class="Apple-converted-space">&nbsp;</span><a 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="Apple-converted-space">&nbsp;</span>Re: [Geomoose-users] Changes to mapserver-type layer handling in GM 2.6?<o:p></o:p></span></div></div></div><p class="MsoNormal" style="margin-right: 0in; margin-left: 3pt; font-size: 12pt; font-family: 'Times New Roman', serif; "><o:p>&nbsp;</o:p></p><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span style="font-family: 'Comic Sans MS'; ">All (of you),<o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span style="font-family: 'Comic Sans MS'; "><o:p>&nbsp;</o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', 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)<o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span style="font-family: 'Comic Sans MS'; "><o:p>&nbsp;</o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span style="font-family: 'Comic Sans MS'; ">bobb<o:p></o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span style="font-family: 'Comic Sans MS'; "><o:p>&nbsp;</o:p></span></div><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><span style="font-family: 'Comic Sans MS'; "><br><br>&gt;&gt;&gt; Jim Klassen &lt;<a href="mailto:klassen.js@gmail.com" style="color: blue; text-decoration: underline; ">klassen.js@gmail.com</a>&gt; wrote:<o:p></o:p></span></div><table class="MsoNormalTable" border="0" cellpadding="0" style="margin-left: 11.25pt; background-image: initial; background-attachment: initial; background-origin: initial; background-clip: initial; background-color: rgb(243, 243, 243); background-position: initial initial; background-repeat: initial initial; "><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-width: initial; 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: 'Times New Roman', 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="Apple-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" style="color: blue; text-decoration: underline; ">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="Apple-converted-space">&nbsp;</span><a href="http://oph-isb-gis01/cgi-bin/mapserv.exe?" style="color: blue; text-decoration: underline; ">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="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="Apple-converted-space">&nbsp;</span><a href="mailto:Geomoose-users@lists.osgeo.org" style="color: blue; text-decoration: underline; ">Geomoose-users@lists.osgeo.org</a><br>&gt;<span class="Apple-converted-space">&nbsp;</span><a 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 href="mailto:Geomoose-users@lists.osgeo.org" style="color: blue; text-decoration: underline; ">Geomoose-users@lists.osgeo.org</a><br><a href="http://lists.osgeo.org/mailman/listinfo/geomoose-users" style="color: blue; text-decoration: underline; ">http://lists.osgeo.org/mailman/listinfo/geomoose-users</a><o:p></o:p></div></div></td></tr></tbody></table><div style="margin-right: 0in; margin-left: 0in; font-size: 12pt; font-family: 'Times New Roman', serif; margin-top: 0in; margin-bottom: 0.0001pt; "><o:p>&nbsp;</o:p></div></div></div></span></blockquote></div><br></div></body></html>