Generate a map based on a context file
Bird, Derek (xwave)
Derek.Bird at XWAVE.COM
Wed Mar 29 09:53:54 PST 2006
This works by ready the context file, which is nice... but I still do not
know how to automatically include all layers.
Any help is appreciated .
http://localhost:8080/cgi-bin/world.exe?service=WMS
<http://localhost:8080/cgi-bin/world.exe?service=WMS&request=GetMap&version=
1.1.1&CONTEXTS=http%3A%2F%2Flocalhost%3A8080/chameleon/cwc2/contexts/operati
ons.xml&service=WMS&layers=operations&width=500&height=300&srs=EPSG:4326>
&request=GetMap&version=1.1.1&CONTEXTS=http%3A%2F%2Flocalhost%3A8080/chamele
on/cwc2/contexts/operations.xml&service=WMS&layers=operations&width=500&heig
ht=300&srs=EPSG:4326
Derek
_____
From: UMN MapServer Users List [mailto:MAPSERVER-USERS at LISTS.UMN.EDU] On
Behalf Of Bird, Derek (xwave)
Sent: Wednesday, March 29, 2006 12:47 PM
To: MAPSERVER-USERS at LISTS.UMN.EDU
Subject: [UMN_MAPSERVER-USERS] Generate a map based on a context file
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/4b07a5bf/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/4b07a5bf/attachment.bin>
More information about the MapServer-users
mailing list