[Chameleon] Understanding queryresults.phtml
Jason Fournier
jfournier at dmsolutions.ca
Thu Apr 7 14:39:26 EDT 2005
Tyler,
With Respect to the CustomizedQueryResults - the executeQuery() function
will perform a query on all layers in the mapfile which are marked as
queryable (ie, TEMPLATE "<value>"). If you remove the TEMPLATE
directive I believe Chameleon will not query that layer.
If you wanted to ignore the results AFTER a query has been performed
then the metadata approach should work ... at what point are you doing
the -- if ($olayer->getMetadata( "query_ignore" ) != "") -- ?
Jason
Tyler Mitchell wrote:
> I'm working through customising queryresults.phtml in a custom widget.
> I'm having troubling understanding which parts of this are for WMS only
> versus local layers. I'm only dealing with local mapserver layers.
>
> I thought I could ignore out some layers by tweaking the logic around
> $bQueryable, but it doesn't seem to help me. I want to do something like:
>
>
> if ($olayer->getMetadata( "query_ignore" ) != "")
> {
> $bQueryable = false;
> }
>
> But I'm not getting the results I expected :( So I'm wondering if this
> code relates mainly to the WMS querying logic, is that right?
>
> Can anyone give me a quick pointer on what section I should be focusing
> on in this file?
>
> Tyler
> _______________________________________________
> Chameleon mailing list
> Chameleon at lists.maptools.org
> http://lists.maptools.org/mailman/listinfo/chameleon
>
--
________________________
Jason Fournier
DM Solutions Group Inc.
jfournier at dmsolutions.ca
www.dmsolutions.ca
613.565.5056 x18
More information about the Chameleon
mailing list