Opened 8 years ago

Closed 8 years ago

#3480 closed defect (fixed)

ST_ClusterDBSCAN get ptarray_contains_point called on unclosed ring

Reported by: robe Owned by: dbaston
Priority: high Milestone: PostGIS 2.3.0
Component: postgis Version: master
Keywords: Cc:

Description

I don't think this is an expected result.

-- fake parcels produces 12 rows valid polygons
DROP TABLE IF EXISTS parcels ;
CREATE TABLE parcels AS 
SELECT row_number() OVER() AS parcel_id, 
    ST_Subdivide(ST_Buffer('LINESTRING(50 100, 98 100, 100 150)'::geometry,40, 'endcap=square'),8) As geom;

-- gives error

SELECT ST_ClusterDBSCAN(geom,0.2,5) over () AS cid, geom
FROM parcels;

ERROR:  ptarray_contains_point called on unclosed ring
********** Error **********

Change History (2)

comment:1 by robe, 8 years ago

Owner: changed from pramsey to dbaston

comment:2 by dbaston, 8 years ago

Resolution: fixed
Status: newclosed

Should be resolved with r14745

Note: See TracTickets for help on using tickets.