[mapserver-dev] Hiding large number of errors in msSetError

Lime, Steve D (MNIT) Steve.Lime at state.mn.us
Mon Jul 21 07:38:46 PDT 2014


Could we somehow count the number and report that? I would think it would useful to know that a particular error was reported n times.

From: mapserver-dev-bounces at lists.osgeo.org [mailto:mapserver-dev-bounces at lists.osgeo.org] On Behalf Of Tamas Szekeres
Sent: Monday, July 21, 2014 8:44 AM
To: mapserver-dev at lists.osgeo.org
Subject: [mapserver-dev] Hiding large number of errors in msSetError

Hi Devs,

There are certain locations in MapServer were a large number of error can be raised subsequently, which might be annoying if the error is getting displayed to the end user (in a message box for example).

One example for this issue is in msProjectPoint (mapproject.c line 118) which may be raised many times for a polygon or a line string. In the meantime I see that the referred line has been commented out in the master branch, but I don't think if it would be the reasonable solution for this problem, since that error may contain important information for the user.

How about modifying msSetError to ignore the error if it has already been issued previously?

Thanks,

Tamas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/mapserver-dev/attachments/20140721/13b2a652/attachment.html>


More information about the mapserver-dev mailing list