[postgis-users] ST_OffsetCurve

Paul Ramsey pramsey at cleverelephant.ca
Thu May 5 11:43:48 PDT 2022


Hi Simon,
This is going to be one of those annoying "you should upgrade!" answers. You should upgrade! 
In particular, the new offset curve in the latest GEOS (3.10+) does not have this behaviour.
ATB,
P

> On May 4, 2022, at 11:32 PM, Simon Greener <simon at spdba.com.au> wrote:
> 
> I have a simple linestring that when i put it into st_offsetcurve a segment goes missing.
> 
> It must be something simple that I can't see... Help.
> 
> select ST_GeomFromEWKT('SRID=28356;LINESTRING(500307.696019595 6976743.9186081,500308.071454138 6976743.93737982,500308.409115531 6976743.97994064,500309.18401595 6976743.94236971,500309.644736808 6976743.81057794,500310.659151902 6976743.82466703,500311.203930379 6976743.92798709,500311.603 6976743.93)') as geom
> 
> 
> union all
> 
> 
> select ST_OffsetCurve(ST_GeomFromEWKT('SRID=28356;LINESTRING(500307.696019595 6976743.9186081,500308.071454138 6976743.93737982,500308.409115531 6976743.97994064,500309.18401595 6976743.94236971,500309.644736808 6976743.81057794,500310.659151902 6976743.82466703,500311.203930379 6976743.92798709,500311.603 6976743.93)'),0.02) as g
> 
> 
> Regards
> Simon
> 39 Cliff View Drive
> Allens Rivulet Tas 7150
> (W) 0418 396 391
> <Untitled.png><Untitled.png>_______________________________________________
> postgis-users mailing list
> postgis-users at lists.osgeo.org
> https://lists.osgeo.org/mailman/listinfo/postgis-users
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20220505/f7beb56e/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: screenshot_875.png
Type: image/png
Size: 11288 bytes
Desc: not available
URL: <http://lists.osgeo.org/pipermail/postgis-users/attachments/20220505/f7beb56e/attachment.png>


More information about the postgis-users mailing list