[mapserver-users] itemnquerymap output

Richard Greenwood richard.greenwood at gmail.com
Mon Feb 18 09:06:58 EST 2008


On Feb 17, 2008 9:53 PM, Maxim Dubinin <sim at gis-lab.info> wrote:
> Thanks for suggestion, it was actually set. The strange thing is,
> Mapserver doesn't care about what I put in there, as long as
> LAYER\TEMPLATE "anything" exists. It could be any text as long
> as its under LAYER\TEMPLATE, even if the file doesn't exist.
>
> If I don't provide it, it gives me "msQueryByAttributes(): Query error. Requested
> layer has no templates defined so is not queryable." error.
>
> Is this template really for attributive results?

The template is for either attribute or spatial (map) display. What
gets displayed depends on the template. Maybe mapserver is not finding
your template file?

Rich

-- 
Richard Greenwood
richard.greenwood at gmail.com
www.greenwoodmap.com


More information about the mapserver-users mailing list