[postgis-tickets] [PostGIS] #1973: st_concavehull() returns sometimes empty geometry collection

PostGIS trac at osgeo.org
Thu Oct 27 13:05:43 PDT 2016


#1973: st_concavehull() returns sometimes empty geometry collection
-------------------------+-------------------------------------------------
  Reporter:  tolke       |      Owner:  robe
      Type:  defect      |     Status:  new
  Priority:  medium      |  Milestone:  PostGIS Future
 Component:  postgis     |    Version:  2.0.x
Resolution:              |   Keywords:  concave hull st_concavehull
                         |  points_as_polygon
-------------------------+-------------------------------------------------

Comment (by gde):

 The issue comes from the 1/scale_factor applied to ST_Scale with
 scale_factor integer in the _st_concavehull() function.

 A fix would be to replace scale_factor integer := 1; by scale_factor float
 := 1;

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