catch Query result - No matching record(s) found

David Stajan dls at INFORMGIS.COM
Mon Jul 18 13:18:00 PDT 2005


Hi Group,

I was wondering if there is any flexability in what you can do with the
output that is generated when a query results in no features found.

Currently I get this type of output:
<BODY BGCOLOR="#FFFFFF">
msQueryByPoint(): Search returned no results. No matching record(s) found.
<br>
</BODY>

Mapserver seems to completely ignore any of the defined templates if the
users query returns no results.  Is there another type of template that
can be defined?  I personally don't like this default output and would
like to be able to customize it or be able to trap it and deal with it
through code somehow.  I'm currently not using mapscripts, only cgi and
javascript, but am intrested in any solutions that one might have.

Thanks,
DaviD



More information about the MapServer-users mailing list