[mapserver-users] Lost WMS layer in URL

Steve Lime Steve.Lime at dnr.state.mn.us
Tue Oct 20 17:08:05 EDT 2009


I'm confused. The URL you reference looks like it's in a template. Is it a browse template? If so
posting that would help. Is the WMS layer referenced in the mapfile somehow or are you 
overlaying things in the client using OpenLayers or something along those lines?

Steve

>>> On 10/20/2009 at 1:17 PM, in message
<731ed3bb0910201117nf842849h8f9a7a079675c006 at mail.gmail.com>, Ruby
<minerdiggins at gmail.com> wrote:
> Greetings,
> I sent a query to the list about a week ago and received no reply. Perhaps
> it was a bad day. I am still struggling with this problem and have had no
> progress. I have searched the documentation and I am still clueless. Perhaps
> some kind soul could give me some guidance?
> 
> I am running mapserver 5.2 on a local machine with local data with the
> exception of one non local WMS layer. I have a print template that is called
> by javascript with the following URL:
> 
> http:/localhost:8888/cgi-bin/mapserv?map=[map]&mapext=[mapext]&layers=[layers]&m
> ap_web=TEMPLATE+pgs/print.html&mapsize=1500+1182
> 
> The page produced is a larger version of the current map. Everything works
> fine but the single WMS layer. It does not display in the print template and
> my debug file shows it is not being called. As the print.html is filled from
> the above URL call is there some way to modify this URL to call this WMS
> layer when it's value is 'checked'?
> 
> Any help would be much appreciated.
> 
> bean



More information about the mapserver-users mailing list