Re: [OpenMap Users] Annoying openmap debug

From: Don Dietrick <dietrick_at_bbn.com>
Date: Tue, 12 Jan 2010 20:05:22 -0500

Hi Nickie,

There isn't a way to disable the message, per se. It is generated when you are trying to generate a OMRaster object without the pixels set, so the raster doesn't know what to do. Are you modifying the contents of the OMRasters that are not on the map? If that's the case, don't call generate(Projection) on those OMRasters.

I can see how that message is annoying, but it's not being caused by the position of the icon. It's being caused by the internal state of the icon object, which may be related to how you are constructing/managing it based on its position.

Hope this helps,

Don

On Jan 12, 2010, at 2:45 PM, Democko, Nickie wrote:

> When I draw an icon on the map that is not in view, I get the following error:
>
> OMRaster: attempted to generate without pixels defined!
>
> What I’d like would be to not see this error. It’s getting in the way of reading the real errors.
> So how can I either:
> 1. Turn off debug to the point that I don’t see this
> 2. Send debug to the ether (not a file, not the screen, just noplace)
>
> I tried sending the debug to a log file with Debug.directOutput(“file”, false, false), but that file gets big fast. I’d rather just have this message disappear.
>
> Thanks,
> Nickie

--
[To unsubscribe to this list send an email to "majdart_at_bbn.com"
with the following text in the BODY of the message "unsubscribe openmap-users"]
Received on Tue Jan 12 2010 - 20:05:30 EST

This archive was generated by hypermail 2.3.0 : Tue Mar 28 2017 - 23:25:09 EDT