Hacktoberfest 2026: the issues maintainers tagged for October, open and beginner-friendly. Browse Hacktoberfest issues

Add turf.difference and turf.union

Open
#1,461 0 comments 2 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
java, javascript
Domain
data

Research direction

Start by locating the existing Turf and GeoJSON operation entry points in the Java SDK, then compare them with the Turf.js difference and union behavior. Use the shape-file to GeoJSON and area-calculation use case as the acceptance context; done means both operations are available and produce matching results for that workflow.

Written by the indexing model from the issue text.

Description

jira-sync-complete

Hello, this port is very nice overall but it would be nice if it could have the difference and union transform operations. We have a product using turfJs and we have a new product that is processing a shape file and converting it to t geoJson. Part of this is calculating the area, we want to match the area calculation algorithm to match our js implementation but the lack of the difference and union operations is preventing us from doing so at the moment.

Dominant language
Java
Stars
438
Forks
117
PR merge metrics
No merged PRs in 30d

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

More from mapbox/mapbox-java

All issues in mapbox/mapbox-java

Similar issues

More Java issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.