Skip to content

Commit efd7f3c

Browse files
authored
Update query-spatial-rel.md
1 parent 295b357 commit efd7f3c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

query/query-spatial-rel.md

+1-1
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ A tolerance-based approach must be used to determine if A and result C effective
8585
the tolerance distance of the boundary of B.
8686
This is the exact equivalent of "touches with tolerance".
8787
It can be done in two ways:
88-
* `ST_Covers(ST_Intersection(ST_Boundary(A), B), ST_Buffer(ST_Boundary(B), tol))`
88+
* `ST_Covers( ST_Buffer(ST_Boundary(B), tol), ST_Intersection(ST_Boundary(A), B) )`
8989
* `ST_OrientedHausdorffDistance(ST_Intersection(ST_Boundary(A), B), ST_Boundary(B)) <= tol`
9090
(**NOTE:** ST_OrientedHausdorffDistance (or equivalent) is not yet available in PostGIS)
9191

0 commit comments

Comments
 (0)