Opened 3 years ago
Closed 3 years ago
#5008 closed defect (fixed)
ST_DWithin('POINT EMPTY', 'POINT EMPTY', 'Inf') returns true
Reported by: | strk | Owned by: | pramsey |
---|---|---|---|
Priority: | medium | Milestone: | PostGIS 3.2.0 |
Component: | postgis | Version: | |
Keywords: | Cc: |
Description
Should EMPTY be within Infinite distance from EMPTY ? Phylosophically, maybe, but … for any practical reason, does it make sense to return true on that case ?
Change History (4)
comment:1 by , 3 years ago
comment:4 by , 3 years ago
Milestone: | PostGIS 3.3.0 → PostGIS 3.2.0 |
---|---|
Resolution: | → fixed |
Status: | new → closed |
Not backporting, so this is closed in 3.2.0
Note:
See TracTickets
for help on using tickets.
Replying to strk:
Seems too nit-picky to me. I think
ST_DWithin(geomA, geomB, *)
should always be FALSE if either argument is EMPTY.