[postgis-tickets] [PostGIS] #3823: ST_MinimumBoundingCircle creates invalid geometries

PostGIS trac at osgeo.org
Wed Aug 30 08:30:38 PDT 2017


#3823: ST_MinimumBoundingCircle creates invalid geometries
-----------------------+--------------------------------------
  Reporter:  cswingle  |      Owner:  pramsey
      Type:  defect    |     Status:  new
  Priority:  medium    |  Milestone:  PostGIS 2.3.4
 Component:  postgis   |    Version:  2.3.x
Resolution:            |   Keywords:  ST_MinimumBoundingCircle
-----------------------+--------------------------------------

Comment (by cswingle):

 Yes, the results also differ for `ST_MinimumBoundingRadius`:

 On the good system:

 {{{
 SELECT postgis_liblwgeom_version();
 2.3.3 r15473

 SELECT ST_MinimumBoundingRadius(ST_GeomFromText(
     'MULTIPOINT(-150.646548 69.6052122,
                 -150.641227 69.578776,
                 -150.641227 69.578776,
                 -150.659938 69.575257)'));
 (0101000000888931CEE5D462C0BAA40902C5655140,0.0164071662296832)
 }}}

 and the failing one:

 {{{
 SELECT postgis_liblwgeom_version();
 2.3.3 r15473

 SELECT ST_MinimumBoundingRadius(ST_GeomFromText(
     'MULTIPOINT(-150.646548 69.6052122,
                 -150.641227 69.578776,
                 -150.641227 69.578776,
                 -150.659938 69.575257)'));
 (0101000000000000000000F8FF000000000000F8FF,NaN)
 }}}

 I had already updated PostGIS on the failing system.  To confirm, I tried
 again:

 {{{
 ALTER EXTENSION postgis UPDATE;
 NOTICE:  version "2.3.3" of extension "postgis" is already installed
 }}}

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