[Mapserver-users] processquerytemplate php

Daniel Morissette morissette at dmsolutions.ca
Fri Oct 31 12:37:56 EST 2003


robert fritz wrote:
> 
> I do a queryByPoint in php_mapscript and want to use my query-templates, I defined in the map-file.
> If I use
> 
> echo($mapO->processquerytemplate($param,FALSE));
> 
> the template files for all layers are shown, which have a result on the the specific point. I want to show the template only for one layer, which I define. ($param is empty).
> What can I do? 
> 

I never did this, but perhaps try setting (before the call) layer status 
OFF for all layers except the one you're interested in.

-- 
------------------------------------------------------------
  Daniel Morissette               morissette at dmsolutions.ca
  DM Solutions Group              http://www.dmsolutions.ca/
------------------------------------------------------------




More information about the mapserver-users mailing list