[PostGIS] #5895: Distance Calculation Issue with `ST_DistanceSphere`
PostGIS
trac at osgeo.org
Tue May 5 08:08:38 PDT 2026
#5895: Distance Calculation Issue with `ST_DistanceSphere`
------------------------------+---------------------
Reporter: giovannicimolin | Owner: pramsey
Type: defect | Status: new
Priority: medium | Milestone:
Component: postgis | Version: 3.4.x
Resolution: | Keywords:
------------------------------+---------------------
Comment (by giovannicimolin):
Replying to [comment:3 pramsey]:
> Operating system and hardware architecture? Unfortunately all the above
tests are working fine for me, MacOS/ARM
Hi @pramsey, sorry for the delay - I realized I'm not getting any emails
from this just now.
We're working with X86 server running Alpine 3.22 images on production.
---
Even on Mac I'm seeing this issue, but I'm not running natively.
{{{
Linux 0cc9a2d9a366 6.8.0-64-generic #67-Ubuntu SMP PREEMPT_DYNAMIC Sun Jun
15 20:23:40 UTC 2025 x86_64 GNU/Linux
}}}
{{{
root at 0cc9a2d9a366:/# psql --version
psql (PostgreSQL) 17.5 (Debian 17.5-1.pgdg110+1)
}}}
The test case in the original issue still yields 0 as distance.
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5895#comment:5>
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