Sean Gillies wrote: > And the reason all this is important is that to GEOS, 2 differently > valued geometries can be topologically equal:
Well then, yes, you do want "==" to mean something different. Sorry, my limited understanding of what "topologically equal" means. > >>> from shapely.geometry import LineString > >>> a = LineString(((-1, -1), (1, 1))) > >>> b = LineString(((-1, -1), (0, 0), (1, 1))) > >>> a.wkt == b.wkt > False > >>> a.equals(b) > True So what would "a == b" return, and : >>> a = LineString(((-1, -1), (0, 0), (1, 1))) >>> b = LineString(((-1, -1), (0, 0), (1, 1))) >>> a == b -Chris -- Christopher Barker, Ph.D. Oceanographer Emergency Response Division NOAA/NOS/OR&R (206) 526-6959 voice 7600 Sand Point Way NE (206) 526-6329 fax Seattle, WA 98115 (206) 526-6317 main reception [EMAIL PROTECTED] _______________________________________________ Community mailing list [email protected] http://lists.gispython.org/mailman/listinfo/community
