[mapserver-dev] Hiding large number of errors in msSetError
Tamas Szekeres
szekerest at gmail.com
Wed Jul 23 02:41:34 PDT 2014
I've prepared a commit which is satisfactory to our purpose, let me know if
it is a sufficient addition.
https://github.com/szekerest/mapserver/commit/8d8f22f4fdcfd61696e34209cbbe9ed9998423e8
Thanks,
Tamas
2014-07-21 16:56 GMT+02:00 Tamas Szekeres <szekerest at gmail.com>:
> Yes, that count could easily be added to errorObj.
>
> Tamas
>
>
> 2014-07-21 16:38 GMT+02:00 Lime, Steve D (MNIT) <Steve.Lime at state.mn.us>:
>
> 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/20140723/31a62e76/attachment.html>
More information about the mapserver-dev
mailing list