Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix jsts empty (Multi)Polygon error @turf/difference #725

Merged
merged 2 commits into from
May 10, 2017

Conversation

DenisCarriere
Copy link
Member

Issue resolved for #721

Issue was found when the Input had polygons without areas (could resemble a LineString).

  • Major refactoring to index.js & test.js
  • Update JSDocs & Typescript definition to support MultiPolygon

Ref: #644
CC: @rowanwins @amishas157

Red Polygon: Input to apply the difference
Blue Polygon: "empty" Polygon which caused the error
image

- Major refactoring to `index.js` & `test.js`
- Update JSDocs & Typescript definition to support MultiPolygon
#721
@DenisCarriere DenisCarriere added this to the 4.3.0 milestone May 9, 2017
@DenisCarriere DenisCarriere self-assigned this May 9, 2017
@DenisCarriere DenisCarriere merged commit 60b2ee0 into master May 10, 2017
@DenisCarriere DenisCarriere deleted the difference branch May 10, 2017 04:46
@amishas157
Copy link

Thanks a lot @DenisCarriere for taking care of this. 🙇‍♀️

@DenisCarriere
Copy link
Member Author

:) no worries, going to be pushing this fix in the next release (got 1 more issue to fix in v4.3).
Looking forward to get your feedback after the update

@amishas157
Copy link

Cool, sure. Will keep posting the updates : )

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants