Generate a map based on a context file

Bird, Derek (xwave) Derek.Bird at XWAVE.COM
Wed Mar 29 09:46:36 PST 2006


Hi,
 
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.
 
Is it possible to call MapServer with valid context file instead of a map
file? 
 
This does not work for me, as it returns a full web application ... I just
want an image based on the context file.
 
http://localhost:8080/chameleon/cwc2/cwc2.php?service=VCG
<http://localhost:8080/chameleon/cwc2/cwc2.php?service=VCG&request=GetApplic
ation&version=0.1.0&CONTEXTS=http%3A%2F%2Flocalhost%3A8080/chameleon/cwc2/co
ntexts/operations.xml>
&request=GetApplication&version=0.1.0&CONTEXTS=http%3A%2F%2Flocalhost%3A8080
/chameleon/cwc2/contexts/operations.xml
 
Also an other catch is that my xml is dynamically generated, so I can not
hard code the layers in the url.
 
Thanks for your time,
Derek
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060329/a4eba3ad/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: smime.p7s
Type: application/x-pkcs7-signature
Size: 3084 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/mapserver-users/attachments/20060329/a4eba3ad/attachment.bin>


More information about the MapServer-users mailing list