<html><body style="word-wrap: break-word; -webkit-nbsp-mode: space; line-break: after-white-space;">Hi Simon,<div class="">This is going to be one of those annoying "you should upgrade!" answers. You should upgrade! </div><div class="">In particular, the new offset curve in the latest GEOS (3.10+) does not have this behaviour.</div><div class="">ATB,</div><div class="">P<br class=""><br class=""><blockquote type="cite" class="">On May 4, 2022, at 11:32 PM, Simon Greener <<a href="mailto:simon@spdba.com.au" class="">simon@spdba.com.au</a>> wrote:<br class=""><br class="">I have a simple linestring that when i put it into st_offsetcurve a segment goes missing.<br class=""><br class="">It must be something simple that I can't see... Help.<br class=""><br class="">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<br class=""><br class=""><br class="">union all<br class=""><br class=""><br class="">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<br class=""><br class=""><br class="">Regards<br class="">Simon<br class="">39 Cliff View Drive<br class="">Allens Rivulet Tas 7150<br class="">(W) 0418 396 391<br class=""><span id="cid:AC5F177D-E1D7-4B1F-8219-F3C693080CB5"><Untitled.png></span><span id="cid:A6545999-F151-4C61-BAC9-495B4E6A6881"><Untitled.png></span>_______________________________________________<br class="">postgis-users mailing list<br class=""><a href="mailto:postgis-users@lists.osgeo.org" class="">postgis-users@lists.osgeo.org</a><br class="">https://lists.osgeo.org/mailman/listinfo/postgis-users<br class=""></blockquote><img apple-inline="yes" id="B07C2FEA-45F4-4F76-8C3C-FCA5DD9C2B58" src="cid:9964A056-8AB8-4246-B105-11E40173B6D1" class=""></div></body></html>