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
I noticed a case when my transformation of polygons to cells take long time and lot of memory. After some investigations I found a reproductible case. It seem, when a polygons contains multiple time the same point the S2 library loop on something.
I've answered too fast, a loop can't have duplicates points, (not like geosjon polygon) and the result is probably your loop containing the world
// Loops are not allowed to have any duplicate vertices (whether adjacent or
// not). Non-adjacent edges are not allowed to intersect, and furthermore edges
// of length 180 degrees are not allowed (i.e., adjacent vertices cannot be
// antipodal). Loops must have at least 3 vertices (except for the "empty" and
// "full" loops discussed below).
I noticed a case when my transformation of polygons to cells take long time and lot of memory. After some investigations I found a reproductible case. It seem, when a polygons contains multiple time the same point the S2 library loop on something.
I created a test case :
The text was updated successfully, but these errors were encountered: