<div dir="ltr">Hi Ross,<div><br></div><div>Can you please file a ticket on <a href="https://trac.osgeo.org/postgis/">https://trac.osgeo.org/postgis/</a> and share the geometry that reproduces behavior there, in form of WKB?</div></div><br><div class="gmail_quote"><div dir="ltr">ср, 14 февр. 2018 г. в 21:19, McDonaldR <<a href="mailto:McDonaldR@angus.gov.uk">McDonaldR@angus.gov.uk</a>>:<br></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-GB" link="blue" vlink="purple">
<div class="m_144738996930345199WordSection1">
<p class="MsoNormal">Hi List<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I’m using the following query to offset my geometry from a road centre line.<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">SELECT row_number() OVER () AS gid,<u></u><u></u></p>
<p class="MsoNormal"> gm_scrim_master_b.esu_id,<u></u><u></u></p>
<p class="MsoNormal"> st_curvetoline(st_offsetcurve(gm_scrim_master_b.geometry, 3::double precision, 'quad_segs=8 join=round'::text)) AS geometry<u></u><u></u></p>
<p class="MsoNormal"> FROM roads.gm_scrim_master_b<u></u><u></u></p>
<p class="MsoNormal"> WHERE st_isvalid(gm_scrim_master_b.geometry);<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">SELECT row_number() OVER () AS gid,<u></u><u></u></p>
<p class="MsoNormal"> gm_scrim_master_b.esu_id,<u></u><u></u></p>
<p class="MsoNormal"> st_curvetoline(st_offsetcurve(gm_scrim_master_b.geometry, -3::double precision, 'quad_segs=8 join=round'::text)) AS geometry<u></u><u></u></p>
<p class="MsoNormal"> FROM roads.gm_scrim_master_b<u></u><u></u></p>
<p class="MsoNormal"> WHERE st_isvalid(gm_scrim_master_b.geometry);<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">If I offset one way I get a nice complete line. If I go the other way I get a line with gaps in it. The source data is LINESTRING and I am checking validity to see if that is an issue. Anyone got any suggestions as to where to start
looking?<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks in advance<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Ross<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span><img width="458" height="469" id="m_144738996930345199Picture_x0020_1" src="cid:image001.png@01D3A5B4.131C3B70" alt="cid:image001.png@01D3A5AF.0FD714D0"></span><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:#4f6228">Ross McDonald |
</span></b><span style="font-size:10.0pt;font-family:"Century Gothic","sans-serif";color:#4f6228">GIS Data Coordinator | Angus Council, People, IT | Angus House, Orchardbank Business Park, Sylvie Way, Forfar DD8 1AT<b> | t: 01307
476419<u></u><u></u></b></span></p>
<p class="MsoNormal"><u></u> <u></u></p>
</div>
<div> </div>
<div>
<p class="MsoNormal" style="MARGIN:0cm 0cm 0pt"><span style="FONT-SIZE:7.5pt;FONT-FAMILY:'Arial','sans-serif'"><font size="2">This message is strictly confidential. If you have received
this in error, please inform the sender and remove it from your system. If received in error you may not copy, print, forward or use it or any attachment in any way. This message is not capable of creating a legal contract or a binding representation and does
not represent the views of Angus Council. Emails may be monitored for security and network management reasons.<span>
</span>Messages containing inappropriate content may be intercepted. Angus Council does not accept any liability for any harm that may be caused to the recipient system or data on it by this message or any attachment.
</font></span></p>
</div>
</div>
_______________________________________________<br>
postgis-users mailing list<br>
<a href="mailto:postgis-users@lists.osgeo.org" target="_blank">postgis-users@lists.osgeo.org</a><br>
<a href="https://lists.osgeo.org/mailman/listinfo/postgis-users" rel="noreferrer" target="_blank">https://lists.osgeo.org/mailman/listinfo/postgis-users</a></blockquote></div>