#1022: Buffering a specific closed linestring erroneously produces polygon without hole. ------------------------+--------------------------- Reporter: uclaros | Owner: geos-devel@… Type: defect | Status: new Priority: major | Milestone: Component: Default | Version: 3.8.0 Severity: Unassigned | Resolution: Keywords: | ------------------------+---------------------------
Comment (by jgrocha): Confirmed using Postgis with GEOS 3.8.0-CAPI-1.13.1 SQL to reproduce the bug: {{{ CREATE TABLE public.tpoly ( id serial NOT NULL, geom geometry(POLYGON, 3857) not null, CONSTRAINT tpoly_pkey PRIMARY KEY (id) ); CREATE TABLE public.tline ( id serial NOT NULL, geom geometry(LINESTRING, 3857) not null, CONSTRAINT tline_pkey PRIMARY KEY (id) ); insert into public.tline (geom) values (ST_GeomFromText('LineString (278601.0234000000054948 4295292.71929999999701977, 278598.71919999999227002 4295290.49340000003576279, 278589.06283691781572998 4295303.48101469129323959, 278605.49300000001676381 4295297.03689999971538782, 278601.0234000000054948 4295292.71929999999701977)',3857)); insert into public.tpoly (geom) select st_buffer(geom,1, 'quad_segs=0') from public.tline where id = 1; }}} The resulting buffer is attached. -- Ticket URL: <https://trac.osgeo.org/geos/ticket/1022#comment:1> GEOS <http://trac.osgeo.org/geos> GEOS (Geometry Engine - Open Source) is a C++ port of the Java Topology Suite (JTS).
_______________________________________________ geos-devel mailing list geos-devel@lists.osgeo.org https://lists.osgeo.org/mailman/listinfo/geos-devel