<div dir="ltr"><div>Thanks for having checked,</div><div><br></div><div>Harrissou<br></div></div><div class="gmail_extra"><br><div class="gmail_quote">2018-06-21 15:25 GMT+02:00 Martin Dobias <span dir="ltr"><<a href="mailto:wonder.sk@gmail.com" target="_blank">wonder.sk@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi again<br>
<span class=""><br>
On Thu, Jun 21, 2018 at 1:38 PM, DelazJ <<a href="mailto:delazj@gmail.com">delazj@gmail.com</a>> wrote:<br>
>><br>
>> It should be left/right when looking from the direction of the<br>
>> original line. So for example if the original line goes from bottom to<br>
>> the top, the left/right side should be the same as the map<br>
>> orientation, but if the line goes from the top to the bottom, then the<br>
>> left/right side would be reversed...<br>
>><br>
> Sorry but still I do not get the relation with the behavior whether I set a<br>
> positive or negative value.<br>
><br>
> I draw a line from bottom to top<br>
> then I snap to the lower point and trace with a positive offset: the new<br>
> line is placed on the left side of the screen (should it? Positive value<br>
> goes right), and coincidentally the left of the tracing direction.<br>
> If I snap to the higher point and trace with the positive value: the new<br>
> line is placed on the right side of the screen, and coincidentally still the<br>
> left of the tracing direction.<br>
><br>
> It looks like it has not to do with the _direction of the original line_ but<br>
> with the direction of the trace. And that positive value rather goes to left<br>
> (unlike doc statement)<br>
<br>
</span>Sorry for the confusion - I have checked again and you are right:<br>
- direction is determined from the traced line (not the original line<br>
orientation)<br>
- positive offset = left side, negative offset = right side (as<br>
documented in [1] - see GEOSOffsetCurve_r)<br>
<br>
[1] <a href="https://geos.osgeo.org/doxygen/geos__c_8h_source.html" rel="noreferrer" target="_blank">https://geos.osgeo.org/<wbr>doxygen/geos__c_8h_source.html</a><br>
<br>
Cheers<br>
<span class="HOEnZb"><font color="#888888">Martin<br>
</font></span></blockquote></div><br></div>