Fwd: ST_DFullyWithin

Martin Davis mtnclimb at gmail.com
Thu Jan 25 11:50:20 PST 2024


To answer the question about "Why in C", it is generally slow and inexact
to test distances by way of generating buffers.  Also, for "within
distance" kinds of queries there is potential to use internal spatial
indexing to significantly improve performance.

On Thu, Jan 25, 2024 at 10:19 AM Bruce Rindahl <bruce.rindahl at gmail.com>
wrote:

> I agree with Regina.  Also why are we coding this as a function in C when
> it can be done either of two ways in SQL:
>
> ST_Contains(ST_Buffer(B, radius), A)
> OR
> ST_Within(A, ST_Buffer(B,radius))
>
> For example there are numerous functions written in SQL that call the one
> function ST_Affine.
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-devel/attachments/20240125/a3482543/attachment.htm>


More information about the postgis-devel mailing list