[postgis-tickets] [PostGIS] #2433: ST_ConcaveHull 2.1 regres failure compared to 2.0.3
PostGIS
trac at osgeo.org
Thu Aug 15 11:55:23 PDT 2013
#2433: ST_ConcaveHull 2.1 regres failure compared to 2.0.3
---------------------+------------------------------------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: high | Milestone: PostGIS 2.1.0
Component: postgis | Version: 2.0.x
Keywords: |
---------------------+------------------------------------------------------
Comment(by nicklas):
In trunk version something happens when there is more than 3 points.
{{{
SELECT st_astext(ST_ConcaveHull(
'SRID=1;MULTIPOINT(1 1, 2 2, 2 1)'::geometry,
0.5,false));
}}}
gives the same answer in both 2.0 and trunk:
{{{
POLYGON((1.004 1.004,1.996 1.004,1.996 1.996,2 2,2 1,1 1,1.004 1.004))
}}}
but
{{{
SELECT st_astext(ST_ConcaveHull(
'SRID=1;MULTIPOINT(1 1, 2 2, 2 1, 2 0)'::geometry,
0.5,false))
}}}
gives the "mixed SRID" error in trunk. In 2.0 it returns:
{{{
POLYGON((2 0,1 1,2 2,2 0))
}}}
which doesn't seem to "shrink" the polygon like the 3-point answer does.
--
Ticket URL: <http://trac.osgeo.org/postgis/ticket/2433#comment:1>
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