As a special case, we can define equivalence rules for geo.GeoPoint properties using the distance-equality constraint, which returns true if two points are within a specified geographic distance of each other.
In this example the property centroid is a GeoPoint, and comparison returns true if two centroids are separated by 0.2 miles or less.
equivalence: join {
distance-equality (centroid) {
unit (Miles)
magnitude (0.2)
}
}You must use viv.core.BaseGeoPoint concepts with distance-equality.
Copyright 2026 Samsung All rights reserved