On Sat, Apr 26, 2008 at 10:58 PM, Sean Gillies <[EMAIL PROTECTED]> wrote: > How many of you use > > 1) a == b > > to test for topological equality instead of using > > 2) a.equals(b) > > ? > > I think we need to disentangle these operations. 1 is stronger than, but > implies 2. 2 does not imply 1. Treating them as the same was, I think, a > design mistake that must be fixed.
In MapFish we implement the compare_values method in our Geometry class (inheriting from SQLAlchemy's TypeEngine class ) and directly use equals(), so we should be safe. -- Eric _______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
