[prev in list] [next in list] [prev in thread] [next in thread] 

List:       postgis-users
Subject:    Re: [postgis-users] ST_OffsetCurve
From:       Simon Greener <simon () spdba ! com ! au>
Date:       2023-03-08 7:51:18
Message-ID: 523a8df5-eb59-494c-a252-a0a3793f402e () spdba ! com ! au
[Download RAW message or body]

Thanks Martin.
I guess I'll just have to wait till the fix appears in PostGIS.
Simon

⁣39 Cliff View Drive
Allens Rivulet Tas 7150
(W) 0418 396 391​

On 8 Mar 2023, 17:15, at 17:15, Martin Davis <mtnclimb@gmail.com> wrote:
>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 <simon@spdba.com.au>
>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) simon@spdba.com.au
>>
>> _______________________________________________
>> postgis-users mailing list
>> postgis-users@lists.osgeo.org
>> https://lists.osgeo.org/mailman/listinfo/postgis-users
>>
>
>
>------------------------------------------------------------------------
>
>_______________________________________________
>postgis-users mailing list
>postgis-users@lists.osgeo.org
>https://lists.osgeo.org/mailman/listinfo/postgis-users

_______________________________________________
postgis-users mailing list
postgis-users@lists.osgeo.org
https://lists.osgeo.org/mailman/listinfo/postgis-users

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic