You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Using Diff between two polygons, the second polygon of which is contained completely within the first, will result in an interior hole in the original polygon.
Does Diff currently give any consideration to the orientation of that newly created interior hole? To be a valid polygon, the interior ring should have opposite orientation to the outer ring.
I have created a file in the "genericTestCase" format which shows what I am trying to achieve: issue129.geojson.txt
A screenshot of the polygon is here:
Both polygons are sent to the Diff operation with counter-clockwise orientation. Diff returns the outer and inner rings both in counter-clockwise orientation. However, to be a valid polygon, this interior ring should actually be clockwise orientation.
The text was updated successfully, but these errors were encountered:
The orientation issue depends on which data spec you are following (eg for geojson your comment is accurate). But this repo doesn't particularly enforce a particular data spec.
Using Diff between two polygons, the second polygon of which is contained completely within the first, will result in an interior hole in the original polygon.
Does Diff currently give any consideration to the orientation of that newly created interior hole? To be a valid polygon, the interior ring should have opposite orientation to the outer ring.
I have created a file in the "genericTestCase" format which shows what I am trying to achieve:
issue129.geojson.txt
A screenshot of the polygon is here:
Both polygons are sent to the Diff operation with counter-clockwise orientation. Diff returns the outer and inner rings both in counter-clockwise orientation. However, to be a valid polygon, this interior ring should actually be clockwise orientation.
The text was updated successfully, but these errors were encountered: