polygon-clipping icon indicating copy to clipboard operation
polygon-clipping copied to clipboard

Apply boolean polygon clipping operations (union, intersection, difference, xor) to your Polygons & MultiPolygons.

Results 49 polygon-clipping issues
Sort by recently updated
recently updated
newest added

I'm getting this error on trying to intersect these two polygons: ([viewer link](http://geojson.io/#data=data:application/json,%7B%22type%22%3A%22FeatureCollection%22%2C%22features%22%3A%5B%7B%22type%22%3A%22Feature%22%2C%22properties%22%3A%7B%7D%2C%22geometry%22%3A%7B%22type%22%3A%22Polygon%22%2C%22coordinates%22%3A%5B%5B%5B175.440248%2C-37.927138%5D%2C%5B175.441083%2C-37.927271%5D%2C%5B175.441362%2C-37.928504%5D%2C%5B175.44139%2C-37.928511%5D%2C%5B175.441542%2C-37.929194%5D%2C%5B175.441503%2C-37.929209%5D%2C%5B175.441476%2C-37.929182%5D%2C%5B175.441449%2C-37.929181%5D%2C%5B175.441223%2C-37.929121%5D%2C%5B175.441179%2C-37.928787%5D%2C%5B175.44065%2C-37.928795%5D%2C%5B175.440248%2C-37.927138%5D%5D%5D%7D%7D%2C%7B%22type%22%3A%22Feature%22%2C%22properties%22%3A%7B%7D%2C%22geometry%22%3A%7B%22type%22%3A%22Polygon%22%2C%22coordinates%22%3A%5B%5B%5B175.441223%2C-37.929121%5D%2C%5B175.441449%2C-37.929181%5D%2C%5B175.441503%2C-37.929209%5D%2C%5B175.441542%2C-37.929194%5D%2C%5B175.44143567050224%2C-37.92871621679616%5D%2C%5B175.441261917386%2C-37.92871399662434%5D%2C%5B175.441179%2C-37.928787%5D%2C%5B175.441223%2C-37.929121%5D%5D%5D%7D%7D%5D%7D)) It isn't really clear why this wouldn't be working. "polygon-clipping": "^0.15.3", ``` Error: Unable to complete output...

I'm getting the following exception and I'm not sure why. The input looks good to me. ``` Error: Unable to complete output ring starting at [0, 56]. Last matching segment...

Bumps [terser](https://github.com/terser/terser) from 5.10.0 to 5.14.2. Changelog Sourced from terser's changelog. v5.14.2 Security fix for RegExps that should not be evaluated (regexp DDOS) Source maps improvements (#1211) Performance improvements in...

dependencies

Tentative fix for #124. See my comment on the issue - I have confirmed the presence of multiple nodes of the splay tree with the same key in the cases...

![image](https://user-images.githubusercontent.com/22017489/179149897-1cd712cb-975b-4fb8-b9f6-03fe725d7d29.png) ![image](https://user-images.githubusercontent.com/22017489/179149963-a8232446-5065-446f-900f-0a01b241817d.png) the black mask is the union polygon, u can see it merged the empty hole into the union polygon

Hi, trying to intersect two polygons, but get the aforementioned error. ``` polygon-clipping.v0.15.3.js:1110 Uncaught (in promise) RangeError: Maximum call stack size exceeded at Segment.afterState (polygon-clipping.v0.15.3.js:1110) at Segment.beforeState (polygon-clipping.v0.15.3.js:1103) at Segment.afterState...

I am getting the following error: ```javascript polygon-clipping.umd.js:2181 Uncaught Error: Unable to complete output ring starting at [-91.86961961111155, 42.61062747659163]. Last matching segment found ends at [-91.8660566, 42.6108961]. at Function.factory (polygon-clipping.umd.js:2181)...

bug

Version: 0.15.3 Function: `polygonClipping.union` Input: ``` [ [ [ [35.183056, 6.658889], [35.182044, 6.658552], [35.182071, 6.658686], [35.182208, 6.658965], [35.182129, 6.658979], [35.181683, 6.659061], [35.181415, 6.659655], [35.181377, 6.660006], [35.181306, 6.660653], [35.181309, 6.661205], [35.181667,...

geojsons referred to can be found at [this gist](https://gist.github.com/cmonacaps/ebc5284a5abb5d48314a5717cb927a74) A production issue was reproduced by trying to union `source_1.geojson` and `source_2.geojson`. ``` $ geo-cli union -i source_1.geojson -i source_2.geojson ℹ...

bug

I am using your library to construct a room that looks like the image below. Black space represents negative space where the polygon would not be located. I am using...