[postgis-tickets] [PostGIS] #4697: Error message "BOOM! ..." using ST_Distance with geographic multipolygon

PostGIS trac at osgeo.org
Wed Jul 1 03:23:55 PDT 2020


#4697: Error message "BOOM! ..." using ST_Distance with geographic multipolygon
-------------------------+-------------------------------------------------
  Reporter:              |      Owner:  pramsey
  johannesrummel         |
      Type:  defect      |     Status:  new
  Priority:  medium      |  Milestone:  PostGIS 2.4.9
 Component:  postgis     |    Version:  2.4.x
Resolution:              |   Keywords:  st_distance geography multipolygon
                         |  boom error
-------------------------+-------------------------------------------------

Comment (by johannesrummel):

 Changing the order of the points in {{{points_test}}} avoids the error.
 The error occures if:
 - the calculated distance of the second point is 0 (as it is for
 {{{ST_Point( 100, 0)}}})
 - there are more than one point with distance 0

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