[geos-devel] Should DistanceWithin(EMPTY, ANYTHING, ANYDISTANCE) always return false ?
Sandro Santilli
strk at kbt.io
Mon Oct 4 08:08:41 PDT 2021
On Mon, Oct 04, 2021 at 05:02:24PM +0200, Sandro Santilli wrote:
> I'd think yes, honestly, but the current code returns TRUE sometimes,
> particularly for MAXDISTANCE being Infinite...
>
> As I think GEOS is not being used by phylosophers, I can't find any
> reason why would anyone want a TRUE result from a DistanceWithin()
> query involving an EMPTY geometry.
We have the same issue on PostGIS:
https://trac.osgeo.org/postgis/ticket/5008
--strk;
More information about the geos-devel
mailing list