python shapely intersection function: clock-wise or counter-clock-wise
<p>I have used the Shapely polygon intersection function: </p>

<pre><code>object.intersection(other)
</code></pre>

<p>and get inconsistency in the direction and order of the vertices of the output polygon. </p>

<p>Is there a way to have a systematic set of outputs, or should I run through the output polygon and sort it?</p>

<p>You may get better answers on <a href="http://gis.stackexchange.com/">http://gis.stackexchange.com/</a> </p>

<p>Double check that you are using the right DE-9IM method. <a href="https://en.wikipedia.org/wiki/DE-9IM" rel="nofollow">DE-9IM Wikipedia</a> </p>

<p>If I understand you correctly with the systematic outputs you have multiple LinearRings inside your polygon and you want a separate result for each vs just having a single Boolean result for the entire polygon intersecting with other.  The easiest way which is slower is to iterate through your polygon and compare each LinearRing.  The faster way is to use sr-trees with the python package "rtrees". <a href="http://gis.stackexchange.com/a/119935/60045">http://gis.stackexchange.com/a/119935/60045</a></p>

python shapely