Re: [OpenMap Users] Bugs investigation

From: Don Dietrick <dietrick_at_bbn.com>
Date: Wed, 9 Aug 2006 18:07:04 -0400

Hi Stephane,

Thanks for the heads-up on these, too, I'll check into them.

- Don

On Jul 28, 2006, at 11:45 AM, Stéphane Wasserhardt wrote:

> Hi all !!
>
> I'm playing with EditableOMGraphics, but with my own subclasses, so
> I don't know if this is my fault, but I found two bugs :
>
> 1)
> If you are editing a point, and you change the projection during
> the edition process, regenerate(Projection) will be called on the
> EditableOMPoint.
> If the inner point (OMPoint) is not null, the method
> (EditableOMPoint.regenerate(Projection)) calls point.regenerate
> (Projection).
> But the inner point did not recieve any projection change
> notification before that call. So point.getNeedToRegenerate() is
> false ! (point.generate(Projection) will never be called).
> If you look at the same method in EditableOMPoly, the call is
> "poly.generate(Projection)".
> I think this should be the same for points : replace regenerate by
> generate in EditableOMPoint ....
>
> 2)
> There seems to be a problem in OMCircle generation when the its
> center is (0, 0) (lat/lon) and radius is very small (< 10 km).
> A call to generate() on such a circle using a Mercator projection
> (I only tried with mercator and orthographic ; no problem with
> orthographic) computes a wrong location in xy coordinates.
> If I find more info on this bug, i'll send it ;)
>
> Stephane
>
> --
> [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"]



=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=
Don Dietrick, dietrick_at_bbn.com
BBN Technologies, Cambridge, MA
=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=-=


--
[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 Aug 09 2006 - 18:07:22 EDT

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