[Mapserver-users] A QUERY only mapfile, PHP/Mapscript, get not results
woodbri@swoodbridge.com
woodbri@swoodbridge.com
Sat, 08 Mar 2003 17:35:50 -0500
Hmmm. OK, good point, but that is not very intuitive for a TYPE QUERY
layer since CLASS is primarily for rendering. Anyway, I'm just glad
to have it working :)
-Steve
On 8 Mar 2003 at 16:53, Daniel Morissette wrote:
> 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