[mapserver-users] cascading mapserver
Bart van den Eijnden
bart.van.den.eijnden at geodan.nl
Thu Mar 27 08:39:27 PST 2003
Hi,
thanks all for the answers.
The only problem is that my vendor specific parameter (query_params) is not
static, it is dynamic. Everytime the client makes a selection, a different
where clause (like ID = 30) is sent in the query_params part of the
request.
Does anybody know if OGC has something in their specification for
dynamically querying WMS layers and retrieving the selection e.g. in red in
the image retrieved?
Thanks,
Bart
On Thu, 27 Mar 2003 11:32:48 -0500, Daniel Morissette
<morissette at dmsolutions.ca> wrote:
> Bart van den Eijnden wrote:
>>
>> How does it work with vendor specific parameters? I want to use
>> mapserver
>> to be a cascading mapserver for 2 mapservers of a different brand. But
>> those guys have made vendor specific parameters like query_layers and
>> query_params to get a selection highlighted in the map.
>>
>> Will mapserver send those vendor specific parameters (although not
>> OpenGIS
>> WMS parameters) to the mapserver of the different brand?
>>
>
> If you include vendor-specific parameters in the CONNECTION URL in your
> layer definition then MapServer will just forward those parameter and
> ignore them. In other words, the CONNECTION URL in a WMS layer
> definitino is an opaque string and MapServer doesn't try to parse it or
> validate the parameters in it. Well, there is one exception: it checks
> the VERSION parameter in the CONNECTION url to makes sure that it builds
> its parameters properly, but it doesn't change any of the
> vendor-specific parameters.
>
> FYI QUERY_LAYERS is not vendor-specific: it's part of the spec. OTOH,
> QUERY_PARAMS would be considered vendor-specific. So hopefully this WMS
> doesn not complain if you include a QUERY_PARAMS value in a GetMap
> request, if it doesn't complain then just include your QUERY_PARAMS
> value in the CONNECTION url in your mapfile and you should be fine.
>
> Daniel
--
Bart van den Eijnden
Geodan IT b.v.
Buitenhaven 27-A
5211 TP 's-Hertogenbosch (NL)
---------------------------------------------
Tel: +31 (0)73 - 692 5162
Fax: +31 (0)73 - 692 5150
---------------------------------------------
Postadres / mailing address
President Kennedylaan 1
1079 MB Amsterdam (NL)
---------------------------------------------
E-mail: bart.van.den.eijnden at geodan.nl
Website: http://www.geodan.nl
Disclaimer: http://www.geodan.nl/disclaimer
---------------------------------------------
More information about the MapServer-users
mailing list