Re: [OpenMap Users] OMScalingRaster serialization problem (UNCLASSIFIED)

From: Don Dietrick <dfdietrick_at_gmail.com>
Date: Thu, 3 Jun 2010 00:02:23 -0400

Hi Ben,

Thanks for the info, I'm looking into it and should be checking in some changes soon.

Cheers,

Don

On Jun 2, 2010, at 2:45 PM, Kacirek, Benjamin P CIV USA TRADOC wrote:

> Classification: UNCLASSIFIED
> Caveats: NONE
>
> Hello,
> I was trying to serialize OMScalingIcons when I came across a bug with
> OMScalingRaster. It kept failing when I tried to serialize the objects.
> I kind of hacked together a work around. I made the "protected
> BufferedImage sourceImage" transient. Then copied and pasted the
> writeObject and readObject methods from OMRaster. The only change I made
> to those methods was have readObject call setImage(bitmap) after reading
> in the object data. I'm sure there is a better solution to this problem
> than my quick fix.
>
> Thanks,
> -Ben
>
>
> Classification: UNCLASSIFIED
> Caveats: NONE
>
>
> --
> [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"]

--
[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 Thu Jun 03 2010 - 00:03:44 EDT

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