[postgis-tickets] [PostGIS] #5460: Upstream changes for geography ST_LineLocatePoint to use spheroid, and interpolation fix

PostGIS trac at osgeo.org
Sat Jul 29 04:36:36 PDT 2023


#5460: Upstream changes for geography ST_LineLocatePoint to use spheroid, and
interpolation fix
----------------------+---------------------------
  Reporter:  robe     |      Owner:  pramsey
      Type:  defect   |     Status:  reopened
  Priority:  blocker  |  Milestone:  PostGIS 3.4.0
 Component:  postgis  |    Version:  master
Resolution:           |   Keywords:
----------------------+---------------------------
Changes (by robe):

 * status:  closed => reopened
 * resolution:  fixed =>

Comment:

 I realized after I committed the geography_interpolate tests that tests
 were already in place for these new functions in the geography.sql.  I was
 about to remove the tests I added, when berrie (32-bit failed with this)
 and gitlab 32-bit failed on this.

 {{{
 06:20:37  regress/core/geography_interpolate .. failed (diff expected
 obtained: /tmp/pgis_reg/test_115_diff)
 06:20:38
 -----------------------------------------------------------------------------
 06:20:38 --- ./regress/core/geography_interpolate_expected      2023-07-29
 04:11:12.380004361 -0600
 06:20:38 +++ /tmp/pgis_reg/test_115_out 2023-07-29 04:20:38.108382789
 -0600
 06:20:38 @@ -27,6 +27,6 @@
 06:20:38  4180892.366508
 06:20:38  297
 06:20:38  1
 06:20:38 -5520157.913043
 06:20:38 +inf
 06:20:38  4790369.580943
 06:20:38  3215502.296386
 06:20:38
 -----------------------------------------------------------------------------
 }}}

  gitlab 64-bit is also failing, but that looks to be a rounding difference

 {{{
 --- /builds/postgis/postgis/regress/core/geography_interpolate_expected
 2023-07-29 10:09:11.814967894 +0000
 +++ /tmp/pgis_reg/test_115_out  2023-07-29 10:14:05.882460007 +0000
 @@ -27,6 +27,6 @@
  4180892.366508
  297
  1
 -5520157.913043
 +5520157.912684
  4790369.580943
  3215502.296386
 -------------------
 }}}
-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5460#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