RE: [OpenMap Users] Annoying openmap debug

From: Democko, Nickie <nickie.democko_at_lmco.com>
Date: Wed, 13 Jan 2010 10:16:02 -0500

Thanks for the advice. One more question then. Is there an easy way to tell if an object is on the map? I tried isRenderable(), and that's not doing it.

-----Original Message-----
From: Don Dietrick [mailto:dietrick_at_bbn.com]
Sent: Tuesday, January 12, 2010 8:05 PM
To: Democko, Nickie
Cc: openmap-users_at_bbn.com
Subject: Re: [OpenMap Users] Annoying openmap debug

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 Wed Jan 13 2010 - 10:17:01 EST

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