[postgis-tickets] [PostGIS] #5147: ST_ConcaveHull gives ERROR: lwgeom_concavehull: GEOS Error: IllegalArgumentException: Edge length ratio must be in range [0, 1]e
PostGIS
trac at osgeo.org
Wed May 4 09:31:13 PDT 2022
#5147: ST_ConcaveHull gives ERROR: lwgeom_concavehull: GEOS Error:
IllegalArgumentException: Edge length ratio must be in range [0,1]e
----------------------+---------------------------
Reporter: robe | Owner: pramsey
Type: defect | Status: new
Priority: blocker | Milestone: PostGIS 3.3.0
Component: postgis | Version: master
Resolution: | Keywords:
----------------------+---------------------------
Comment (by robe):
For what it's worth, I can generate the same issue with these
{{{
DROP TABLE letters;
CREATE TABLE letters(name text PRIMARY KEY, geom geometry);
INSERT INTO letters(name, geom)
SELECT CHR(65 + i) AS name, ST_SnapToGrid(geom,0.5,0.5)
FROM generate_series(0,9) AS i, ST_GeneratePoints(ST_Translate(
ST_Buffer(ST_Boundary(ST_Letters(CHR(65 + i))),1),50,50),50,1) AS geom;
}}}
{{{
SELECT ST_ConcaveHull(geom,0.8)
FROM letters
WHERE name = 'A'
}}}
--
Ticket URL: <https://trac.osgeo.org/postgis/ticket/5147#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