Mapserv and SDE
John Hockaday
johnh at erin.gov.au
Mon Sep 25 22:17:30 PDT 2000
Thanks Ma,
I will implement this as soon as I can. I felt sure that there was a
way but I couldn't find it in the documentation. I guess it is hard to
document everything in such a powerful and dynamic software as
mapserv. That's why I find the Test Suite so valuable.
Johnh
> Date: Tue, 26 Sep 2000 03:53:03 +0000
> From: Ma <marin at here.is>
> Hi John,
>
> John Hockaday wrote:
>
> >
> > I was also wondering if there was an ERRORTEMPLATE, or something like
> > that, in the map file that allows me to produce a more friendly HTML
> > message if a user doesn't select a querable point during a query.
> > Mapserv currently returns an
> >
> > "msQueryUsingPoint(): Search returned no results. No matching
> > record(s) found."
> >
> > error. I would like it to report something like, "Please go back to
> > the map interface and click on a point ... etc.". It already has
> > HEADER and FOOTER in the LAYER object as well as a TEMPLATE in the
> > QUERY object so an ERRORTEMPLATE would compliment the functionality.
> >
>
> WEB
> # for no results:
> EMPTY "/mygis/query-no-results.html"
> # for general errors:
> ERROR "/mygis/error.html"
> ....
> END
>
>
> for the template:
> <a href="javascript:history.go(-1)">Click here to go back</a>
>
> ---
> Ma
>
More information about the MapServer-users
mailing list