[Chameleon] WMSBrowser in combination with Query
Paul Spencer
pagameba at magma.ca
Thu May 13 16:53:02 EDT 2004
Done. I have a concern about making all layers queryable though.
Information about the queryability (?) of layers should come from the
capabilities document, which should be preserved in one of the dbf files
in the wmsparse cache, which means that we should probably be looking at
one of the values in $axParams ($axParams['queriable']?) to see if the
layer is queryable, and only if the layer is queryable should we add the
template/dump values. And as a wms client, do we really need dump? I
think that only applies to the wms server.
But anyway this code is in cvs.
Cheers,
Paul
bartvde at xs4all.nl wrote:
> Hi Paul (cc list),
>
> WMS layers which get added through the WMSBrowser widget don't display
> GetFeatureInfo (through the query tool).
>
> I had to add two lines to WMSBrowser.widget.php to get this working, Paul
> could you incorporate this in CVS please?
>
> These are the lines I needed to add:
>
> $oNewLayer->set( "connection", $axParams["connection"] );
> // Bart, 13-05-2004:
> $oNewLayer->set( "template", "blank.html" );
> $oNewLayer->set( "dump", TRUE );
>
> Thanks.
>
> Best regards,
> Bart
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>
--
-----------------------------------------------------------------
|Paul Spencer pspencer at dmsolutions.ca |
|-----------------------------------------------------------------|
|Applications & Software Development |
|DM Solutions Group Inc http://www.dmsolutions.ca/|
-----------------------------------------------------------------
More information about the Chameleon
mailing list