From 1ca92d0458e39b953c2301bdb801462731d090c0 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philip=20Dub=C3=A9?= Date: Wed, 14 Feb 2024 18:57:12 +0000 Subject: [PATCH] go back to geo equals now that geography mixup figured out --- flow/model/qvalue/qvalue.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/flow/model/qvalue/qvalue.go b/flow/model/qvalue/qvalue.go index 1b3596c3a8..199b53251d 100644 --- a/flow/model/qvalue/qvalue.go +++ b/flow/model/qvalue/qvalue.go @@ -295,13 +295,13 @@ func compareGeometry(value1, value2 interface{}) bool { switch v1 := value1.(type) { case *geom.Geom: - return v1.EqualsExact(geo2, 0.0001) + return v1.Equals(geo2) case string: geo1, err := geom.NewGeomFromWKT(v1) if err != nil { panic(err) } - return geo1.EqualsExact(geo2, 0.0001) + return geo1.Equals(geo2) default: panic(fmt.Sprintf("invalid geometry value type %T: %v", value1, value1)) }