[postgis-tickets] [PostGIS] #4835: ST_Distance returning wrong results near the pole

PostGIS trac at osgeo.org
Thu Feb 18 04:53:07 PST 2021


#4835: ST_Distance returning wrong results near the pole
-----------------------------+---------------------------
  Reporter:  matthiasheuser  |      Owner:  pramsey
      Type:  defect          |     Status:  new
  Priority:  high            |  Milestone:  PostGIS 3.1.2
 Component:  postgis         |    Version:  3.1.x
Resolution:                  |   Keywords:
-----------------------------+---------------------------

Comment (by matthiasheuser):

 I compiled the new version today and did some test runs of the script
 mentioned in the issue.
 As you already said, it is better but not perfect.

 Here are the results (showing only the first occurrences of the issue):

 Version 3.1.0 (at about 74 km distance):
 {{{
 NOTICE:  Coord: -169.35, Dist: 1315941
 NOTICE:  Coord: -159.55, Dist: 1315941
 }}}

 Version 3.1.2dev (at about 14 km distance):
 {{{
 NOTICE:  Coord: -165.37, Dist: 1315941
 NOTICE:  Coord: -163.53, Dist: 1315941
 }}}

 Version 2.4.5 (at about 0.5 km distance):
 {{{
 NOTICE:  Coord: -164.48, Dist: 1315941
 NOTICE:  Coord: -164.42, Dist: 1315941
 }}}

-- 
Ticket URL: <https://trac.osgeo.org/postgis/ticket/4835#comment:7>
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