<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=us-ascii">
<META content="MSHTML 6.00.2900.2802" name=GENERATOR></HEAD>
<BODY>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=295455217-29032006>This works by ready the context file, which is nice... 
but I still do not know how to automatically include all 
layers.</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=295455217-29032006></SPAN></FONT>&nbsp;</DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=295455217-29032006>Any help is appreciated .</SPAN></FONT></DIV>
<DIV dir=ltr align=left><FONT face=Arial color=#0000ff size=2><SPAN 
class=295455217-29032006></SPAN></FONT><FONT face=Arial color=#0000ff 
size=2><SPAN class=295455217-29032006></SPAN></FONT>&nbsp;</DIV>
<DIV><FONT face=Arial color=#0000ff size=2><A 
href="http://localhost:8080/cgi-bin/world.exe?service=WMS&amp;request=GetMap&amp;version=1.1.1&amp;CONTEXTS=http%3A%2F%2Flocalhost%3A8080/chameleon/cwc2/contexts/operations.xml&amp;service=WMS&amp;layers=operations&amp;width=500&amp;height=300&amp;srs=EPSG:4326">http://localhost:8080/cgi-bin/world.exe?service=WMS&amp;request=GetMap&amp;version=1.1.1&amp;CONTEXTS=http%3A%2F%2Flocalhost%3A8080/chameleon/cwc2/contexts/operations.xml&amp;service=WMS&amp;layers=operations&amp;width=500&amp;height=300&amp;srs=EPSG:4326</A></FONT></DIV>
<DIV><FONT face=Arial color=#0000ff size=2></FONT>&nbsp;</DIV>
<DIV><SPAN class=295455217-29032006><FONT face=Arial color=#0000ff 
size=2>Derek</FONT></SPAN></DIV>
<DIV><BR></DIV>
<DIV class=OutlookMessageHeader lang=en-us dir=ltr align=left>
<HR tabIndex=-1>
<FONT face=Tahoma size=2><B>From:</B> UMN MapServer Users List 
[mailto:MAPSERVER-USERS@LISTS.UMN.EDU] <B>On Behalf Of </B>Bird, Derek 
(xwave)<BR><B>Sent:</B> Wednesday, March 29, 2006 12:47 PM<BR><B>To:</B> 
MAPSERVER-USERS@LISTS.UMN.EDU<BR><B>Subject:</B> [UMN_MAPSERVER-USERS] Generate 
a map based on a context file<BR></FONT><BR></DIV>
<DIV></DIV>
<DIV><SPAN class=534034417-29032006><FONT face=Arial 
size=2>Hi,</FONT></SPAN></DIV>
<DIV><SPAN class=534034417-29032006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=534034417-29032006><FONT face=Arial size=2>I am using chameleon 
to author maps, but I would like to offer a "preview" of the context file that 
was generated by inserting an IMG tag on a web page.</FONT></SPAN></DIV>
<DIV><SPAN class=534034417-29032006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=534034417-29032006><FONT face=Arial size=2>Is it possible to 
call MapServer with valid context file instead of a map file? 
</FONT></SPAN></DIV>
<DIV><SPAN class=534034417-29032006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=534034417-29032006><FONT face=Arial size=2>This does not work 
for me, as it returns a full web application ... I just want an image based on 
the context file.</FONT></SPAN></DIV>
<DIV><SPAN class=534034417-29032006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=534034417-29032006><FONT face=Arial size=2><A 
href="http://localhost:8080/chameleon/cwc2/cwc2.php?service=VCG&amp;request=GetApplication&amp;version=0.1.0&amp;CONTEXTS=http%3A%2F%2Flocalhost%3A8080/chameleon/cwc2/contexts/operations.xml">http://localhost:8080/chameleon/cwc2/cwc2.php?service=VCG&amp;request=GetApplication&amp;version=0.1.0&amp;CONTEXTS=http%3A%2F%2Flocalhost%3A8080/chameleon/cwc2/contexts/operations.xml</A></FONT></SPAN></DIV>
<DIV><SPAN class=534034417-29032006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=534034417-29032006><FONT face=Arial size=2>Also an other catch 
is that my xml is dynamically generated, so I can not hard code the layers in 
the url.</FONT></SPAN></DIV>
<DIV><SPAN class=534034417-29032006><FONT face=Arial 
size=2></FONT></SPAN>&nbsp;</DIV>
<DIV><SPAN class=534034417-29032006><FONT face=Arial size=2>Thanks for your 
time,</FONT></SPAN></DIV>
<DIV><SPAN class=534034417-29032006><FONT face=Arial 
size=2>Derek</FONT></SPAN></DIV></BODY></HTML>