Export a Web Map Context document?
Matthew Perry
mtperry78 at SBCGLOBAL.NET
Sat Jan 22 22:03:30 PST 2005
Hello all,
I have mapserver set up as a WMS server.... Is there
a way to output a WMC (Web Map Context) document
containing all of the layers in my mapfile at the
default extent? So far I have tried 2 things with
disappointing results:
1) PHP/Mapcript's $map->saveMapContext() method ...
this only outputs layers that mapserver accesses as a
WMS client (ie only *cascaded* WMS layers are shown).
2) adding "wms_getcontext_enabled" "1" to the
map->web->metadata allows me to do a
request=GetContext but I get the same result as (1).
So for all you OGC gurus out there, Is there any way
to convert a WMS-server-enabled mapfile OR a
"Capabilities" XML to a WMC?? I guess the ideal
solution would be to generate a WMC document based on
the capabilties document. I suppose I could do it by
hand but I'm just wondering if there is an easier way?
Thanks alot,
Matt Perry
Humboldt State University
More information about the MapServer-users
mailing list