-
Notifications
You must be signed in to change notification settings - Fork 10
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
Discussing compatibility with polygon-clipping types #7
Comments
If this allows swapping polygon-clipping in turf.js, i also would appreciate that this issue could be resolved. |
@markstos Version 0.16.4 now exports the |
@markstos FYI now investigating this from the Turf side. Do you still have some bandwidth to be involved? https://github.com/orgs/Turfjs/projects/2 |
@smallsaucepan I still have some interest in helping with this, although I don't have access to view the link you sent: https://github.com/orgs/Turfjs/projects/2 It returns 404 for me, but I think that's often how Github handles access-denied cases. It seems like if this project has resolved the typing issue, then I could pick up where I left off? |
I see there was recent activity planning for Turfjs v7: |
Should I start working on this as I have time or wait for the v7 release then? |
7.0 is out now, so that question is answered. I'll proceed as time permits. |
Sorry for not replying to your previous message @markstos. Yes, 7 is out now so let's carry on the discussion over at the Turf repo. |
I'm interested in having the Turf project replace
polygon-clipping
with tis library. ( related issue ).I've started on the work, but I'm also less experienced working with types and have run into some cases I'm not sure how to resolved.
Geom public vs private
The
polygon-clipping
library has a Geom type. This ibrary has it too, but it does not seem to exposed. Here's how the type is used by turf-union:Can this module export the same type for compatibility?
number type vs Position type
turf-union
has this code:There,
polygon
method comes from@turf/helpers
If I swap in
polyclip-ts
, I get this typing error withnpm run build
:How can this typing difference be smoothed over?
Thanks!
The text was updated successfully, but these errors were encountered: