<div>Wow I&#39;d missed the esc in the documentation! Thanks for the tip Steve.</div><div>Unfortunatly that failed to invoke the WMS layer.</div><div>Here is the returned URL:</div><div><br></div><div>http:/localhost:8888/cgi-bin/mapserv?map=/Applications/MAMP/d/DATA/custom.map&amp;mapext=-112.609423+33.893223+-112.575663+33.918463&amp;layers=BLM+Claim+Names+Washes+Roads&amp;map_web=TEMPLATE+pgs/print.html&amp;mapsize=1500+1182</div>
<div><br></div><div>Here is ms_error.txt for the above:</div><div><br></div><div><div>[Thu Oct 22 12:40:30 2009].462769 msDrawRasterLayerLow(Dem): entering.</div><div>[Thu Oct 22 12:40:33 2009].204991 msDrawMap(): Layer 1 (Dem), 2.743s</div>
<div>[Thu Oct 22 12:40:33 2009].250825 msDrawMap(): Layer 12 (Washes), 0.046s</div><div>[Thu Oct 22 12:40:33 2009].273305 msDrawMap(): Layer 25 (roads1), 0.022s</div><div>[Thu Oct 22 12:40:33 2009].331504 msDrawMap(): Layer 26 (Roads), 0.058s</div>
<div>[Thu Oct 22 12:40:33 2009].331789 msDrawMap(): Layer 31 (mtrq), 0.000s</div><div>[Thu Oct 22 12:40:33 2009].331833 msDrawMap(): Layer 32 (elfeet), 0.000s</div><div>[Thu Oct 22 12:40:33 2009].331911 msDrawMap(): Layer 33 (copyright), 0.000s</div>
<div>[Thu Oct 22 12:40:33 2009].332068 msDrawMap(): Layer 34 (compass), 0.000s</div><div>[Thu Oct 22 12:40:34 2009].5448 msDrawMap(): Drawing Label Cache, 0.673s</div><div>[Thu Oct 22 12:40:34 2009].5598 msDrawMap() total time: 3.668s</div>
<div>[Thu Oct 22 12:40:36 2009].749263 msSaveImage() total time: 2.744s</div><div>[Thu Oct 22 12:40:37 2009].37001 msSaveImage() total time: 0.095s</div><div>[Thu Oct 22 12:40:37 2009].123848 mapserv request processing time (loadmap not incl.): 6.791s</div>
<div>[Thu Oct 22 12:40:37 2009].124004 msFreeMap(): freeing map at 0x6004c00.</div><div><br></div><div>And ms_error.txt for the render on the main map page:</div><div><br></div><div><div>[Thu Oct 22 12:40:20 2009].407990 msDrawRasterLayerLow(Dem): entering.</div>
<div>[Thu Oct 22 12:40:21 2009].391734 msDrawMap(): Layer 1 (Dem), 0.984s</div><div>[Thu Oct 22 12:40:21 2009].520934 msDrawMap(): Layer 12 (Washes), 0.129s</div><div>[Thu Oct 22 12:40:21 2009].536142 msDrawMap(): Layer 25 (roads1), 0.015s</div>
<div>[Thu Oct 22 12:40:21 2009].571742 msDrawMap(): Layer 26 (Roads), 0.035s</div><div>[Thu Oct 22 12:40:21 2009].572047 msDrawMap(): Layer 31 (mtrq), 0.000s</div><div>[Thu Oct 22 12:40:21 2009].572093 msDrawMap(): Layer 32 (elfeet), 0.000s</div>
<div>[Thu Oct 22 12:40:21 2009].572169 msDrawMap(): Layer 33 (copyright), 0.000s</div><div>[Thu Oct 22 12:40:21 2009].572337 msDrawMap(): Layer 34 (compass), 0.000s</div><div>[Thu Oct 22 12:40:21 2009].952978 msDrawMap(): Drawing Label Cache, 0.381s</div>
<div>[Thu Oct 22 12:40:22 2009].26008 msDrawRasterLayerLow(BLM Claim Names): entering.</div><div>[Thu Oct 22 12:40:22 2009].30731 msResampleGDALToMap in effect: cellsize = 0.000035</div><div>[Thu Oct 22 12:40:22 2009].91613 msDrawGDAL(BLM Claim Names): using RAW_WINDOW=0 0 952 712</div>
<div>[Thu Oct 22 12:40:22 2009].314730 msDrawMap(): Layer 24 (BLM Claim Names), 0.362s</div><div>[Thu Oct 22 12:40:22 2009].314869 msDrawMap() total time: 2.817s</div><div>[Thu Oct 22 12:40:23 2009].338078 msSaveImage() total time: 1.023s</div>
<div>[Thu Oct 22 12:40:23 2009].469088 msSaveImage() total time: 0.120s</div><div>[Thu Oct 22 12:40:24 2009].92737 mapserv request processing time (loadmap not incl.): 4.596s</div><div>[Thu Oct 22 12:40:24 2009].92822 msFreeMap(): freeing map at 0x6004c00.</div>
<div><br></div><div>As you can see mapserver didn&#39;t even request a connection to the WMS layer when print.html map was rendered.</div><div><br></div><div>Do you think I might be having problems with the spaces in the layer name?</div>
</div></div><div><br></div>Thanks for the information Steve<div>bean<br><div><br></div><div><br><div class="gmail_quote">On Thu, Oct 22, 2009 at 11:51 AM, Steve Lime <span dir="ltr">&lt;<a href="mailto:Steve.Lime@dnr.state.mn.us">Steve.Lime@dnr.state.mn.us</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0.8ex; border-left-width: 1px; border-left-color: rgb(204, 204, 204); border-left-style: solid; padding-left: 1ex; ">
What does a processed URL look like? That is, after MapServer has done the various substitutions.<br><br>Typically when using MapServer tags in a URL context you should be using the escaped versions so<br>that spaces and other characters are properly represented. For example:<br>
<br> http:/localhost:8888/cgi-bin/mapserv?map=[map]&amp;mapext=[mapext_esc]&amp;layers=[layers_esc]&amp;map_web=TEMPLATE+pgs/print.html&amp;mapsize=1500+1182<br><br>Does that make a difference?<br><br>Steve<br><br>&gt;&gt;&gt; On 10/22/2009 at 1:42 PM, in message<br>
&lt;<a href="mailto:731ed3bb0910221142g66ac67cavb1dff1eaa828b054@mail.gmail.com">731ed3bb0910221142g66ac67cavb1dff1eaa828b054@mail.gmail.com</a>&gt;, Ruby<br><div><div></div><div class="h5">&lt;<a href="mailto:minerdiggins@gmail.com">minerdiggins@gmail.com</a>&gt; wrote:<br>
&gt; Thanks for your reply Steve,<br>&gt; I am unsure how I could share the app. I cannot host from my ISP and the<br>&gt; data approaches 5 GB.<br>&gt; I am using mapserver 5.2 on MacOsx 10.4.1 and ms4w 5.2 on WindowsXP ProSP3.<br>
&gt; The app is plain vanilla- no python, mapscript, java, or third party<br>&gt; interfaces. Just straight html without frames, even the legend is html on<br>&gt; the map page. The few lines of javascript I use are not app related, just<br>
&gt; invoking windows, sizing, calling a local app for gps download and the<br>&gt; button to this one url for print.html. All files are local to the server<br>&gt; except this one WMS layer.<br>&gt;<br>&gt; I develop on the Mac and port to the Windows machine, The Windows machine is<br>
&gt; not connected to the WAN. I test on both machines. I set up a dummy dns on<br>&gt; the LAN and ms4w on the Windows machine does try to connect when invoked<br>&gt; from the main window but makes not attempt for print.html, the same behavior<br>
&gt; observed on the Mac version with a real WAN connection.<br>&gt;<br>&gt; The WMS layer loads fine in several different map templates I&#39;ve built. It<br>&gt; is only when the URL<br>&gt;<br>&gt; http:/localhost:8888/cgi-bin/mapserv?map=[map]&amp;mapext=[mapext]&amp;layers=[layers]&amp;m<br>
&gt; ap_web=TEMPLATE+pgs/print.html&amp;mapsize=1500+1182<br>&gt;<br>&gt; is called that mapserver does not attempt to connect the WMS layer. I<br>&gt; suspect something is missing in the above URL.<br>&gt;<br>&gt; Thank you again,<br>
&gt; bean<br>&gt;<br>&gt;<br>&gt; </div></div></blockquote></div></div></div>