[postgis-tickets] [PostGIS] #5355: PostGIS 3, ST_DWithin Query - "lwgeom_distance_spheroid returned negative!" by changing third arg? Postgres 11, Ubuntu 20.04
PostGIS
trac at osgeo.org
Wed Mar 15 14:36:51 PDT 2023
#5355: PostGIS 3, ST_DWithin Query - "lwgeom_distance_spheroid returned negative!"
by changing third arg? Postgres 11, Ubuntu 20.04
----------------------+---------------------------
Reporter: dchun | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone: PostGIS 3.3.3
Component: postgis | Version: 3.3.x
Resolution: | Keywords:
----------------------+---------------------------
Comment (by robe):
FWIW this is what I get on my PG 11, PostGIS 3.3.2 install
{{{
db=# SELECT ST_Distance('SRID=4326;POINT(-74.8456
40.1752)'::geography,'SRID=4326;POINT(-118.493 34.0172)'::geograph
y, true);
st_distance
------------------
3900084.69544365
(1 row)
db=# SELECT _ST_DistanceTree('SRID=4326;POINT(-74.8456
40.1752)'::geography,'SRID=4326;POINT(-118.493 34.0172)'::geo
graphy);
_st_distancetree
------------------
3900084.69544365
(1 row)
db=# SELECT _ST_DistanceUncached('SRID=4326;POINT(-74.8456
40.1752)'::geography,'SRID=4326;POINT(-118.493 34.0172)':
:geography, true);
_st_distanceuncached
----------------------
3900084.69544365
(1 row)
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5355#comment:3>
PostGIS <http://trac.osgeo.org/postgis/>
The PostGIS Trac is used for bug, enhancement & task tracking, a user and developer wiki, and a view into the subversion code repository of PostGIS project.
More information about the postgis-tickets
mailing list