Opened 13 years ago
Closed 12 years ago
#1264 closed defect (fixed)
st_dwithin(geog, geog, 0) doesn't work?
| Reported by: | pramsey | Owned by: | pramsey |
|---|---|---|---|
| Priority: | high | Milestone: | PostGIS 1.5.4 |
| Component: | postgis | Version: | 1.5.X |
| Keywords: | Cc: |
Description
Just tried to do a zero-radius query using st_dwithin, a polygon and a point, and got no results! Works with any non-zero radius!
Change History (3)
comment:1 by , 12 years ago
comment:3 by , 12 years ago
| Resolution: | → fixed |
|---|---|
| Status: | new → closed |
Note:
See TracTickets
for help on using tickets.

-- true select st_dwithin('POLYGON((-10 -10, -10 10, 10 10, 10 -10, -10 -10))'::geography, 'POINT(0 0)'::geography, 0.1); -- false !?? select st_dwithin('POLYGON((-10 -10, -10 10, 10 10, 10 -10, -10 -10))'::geography, 'POINT(0 0)'::geography, 0);