This is due to the way the new GEOS implementation of offset curve works. It's a known issue, and a fix is underway.
See here for more details: https://github.com/locationtech/jts/pull/956 On Tue, Mar 7, 2023 at 8:55 PM Simon SPDBA Greener <[email protected]> wrote: > SELECT POSTGIS_FULL_VERSION(); > "POSTGIS=""3.3.2 3.3.2"" [EXTENSION] PGSQL=""150"" > GEOS=""3.11.1-CAPI-1.17.1"" PROJ=""7.2.1"" LIBXML=""2.9.9"" > LIBJSON=""0.12"" LIBPROTOBUF=""1.2.1"" WAGYU=""0.5.0 (Internal)""" > > My linestring is not simple. It implements a simple loop. When I offset > curve it I do not get returned any part of the loop. Any help appreciated. > > select ST_GeomFromEWKT('SRID=28356;LINESTRING(50 0,0 0,0 -10,10 -10,10 > 50)') as g > UNION ALL > select ST_OffsetCurve(ST_GeomFromEWKT('SRID=28356;LINESTRING(50 0,0 0,0 > -10,10 -10,10 50)'),1) as g > UNION ALL > select ST_OffsetCurve(ST_GeomFromEWKT('SRID=28356;LINESTRING(50 0,0 0,0 > -10,10 -10,10 50)'),-1) as g > > regards > Simon > > -- > Simon Greener > 39 Cliff View Drive, Allens Rivulet, 7150, Tasmania, Australia > (m) +61 418 396 391 > (w) www.spdba.com.au > (m) [email protected] > > _______________________________________________ > postgis-users mailing list > [email protected] > https://lists.osgeo.org/mailman/listinfo/postgis-users >
_______________________________________________ postgis-users mailing list [email protected] https://lists.osgeo.org/mailman/listinfo/postgis-users
