[PostGIS] #5892: Geography centroid around poles give different results in 32bit

PostGIS trac at osgeo.org
Fri May 2 00:56:27 PDT 2025


#5892: Geography centroid around poles give different results in 32bit
---------------------+---------------------------
 Reporter:  strk     |      Owner:  pramsey
     Type:  defect   |     Status:  new
 Priority:  medium   |  Milestone:  PostGIS 3.5.3
Component:  postgis  |    Version:  3.4.x
 Keywords:           |
---------------------+---------------------------
 From https://www.ict.inaf.it/gitlab/postgis/postgis/-/jobs/115341#L3793

 {{{
 --- ./regress/core/geography_centroid_expected  2025-05-01
 21:45:58.145685349 +0000
 +++ /tmp/pgis_reg/test_20_out   2025-05-01 21:56:45.321047337 +0000
 @@ -1,5 +1,5 @@
 -geog_centroid_mpt_pole_north|POINT(0 90)
 -geog_centroid_mpt_pole_south|POINT(0 -90)
 +geog_centroid_mpt_pole_north|POINT(180 90)
 +geog_centroid_mpt_pole_south|POINT(180 -90)
  geog_centroid_mpt_idl_1|180.000000|0.000000
  geog_centroid_mpt_idl_2|179.500000|0.000000
  geog_centroid_mpt_idl_3|-179.500000|0.000000
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5892>
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