<!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><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>