[Mapserver-users] A QUERY only mapfile, PHP/Mapscript, get not
results
Daniel Morissette
morissette@dmsolutions.ca
Sat, 08 Mar 2003 16:53:42 -0500
woodbri@swoodbridge.com wrote:
>
> Ah Ha!
>
> I got it. There seems to be a bug or documentation problem. The
> template MUST be inside a CLASS ... END block, contrary to the
> documentation.
>
Actually, I think the solution to the enigma would be: "the layer must
contain at least one class".
TEMPLATEs at the layer level do work (we use them), but your initial map
in which the TEMPLATE was at the layer level didn't seem to contain a
CLASS... and without at least one CLASS in the LAYER then no feature
will be selected for querying.
--
------------------------------------------------------------
Daniel Morissette morissette@dmsolutions.ca
DM Solutions Group http://www.dmsolutions.ca/
------------------------------------------------------------
_______________________________________________
Mapserver-users mailing list
Mapserver-users@lists.gis.umn.edu
http://lists.gis.umn.edu/mailman/listinfo/mapserver-users