Skip to content

Commit

Permalink
Update query-spatial-rel.md
Browse files Browse the repository at this point in the history
  • Loading branch information
dr-jts authored Dec 12, 2024
1 parent 295b357 commit efd7f3c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion query/query-spatial-rel.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ A tolerance-based approach must be used to determine if A and result C effective
the tolerance distance of the boundary of B.
This is the exact equivalent of "touches with tolerance".
It can be done in two ways:
* `ST_Covers(ST_Intersection(ST_Boundary(A), B), ST_Buffer(ST_Boundary(B), tol))`
* `ST_Covers( ST_Buffer(ST_Boundary(B), tol), ST_Intersection(ST_Boundary(A), B) )`
* `ST_OrientedHausdorffDistance(ST_Intersection(ST_Boundary(A), B), ST_Boundary(B)) <= tol`
(**NOTE:** ST_OrientedHausdorffDistance (or equivalent) is not yet available in PostGIS)

Expand Down

0 comments on commit efd7f3c

Please sign in to comment.