mapbox / mapbox/mapbox-java

Add Turf buffer method

Open
#987 7 comments 1 reaction 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Turf.js has a Turf#buffer method that would be useful for defining offline map regions. An example use case in navigation would be defining a buffer around a route geometry for an offline download:

buffer

@zugaldia mentioned that this may not be a straightforward port to java, possibly necessitating bringing in a third party library to get the job done. We need to look into this a bit further / discuss if that makes sense.

cc @osana @kevinkreiser

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.

Research direction

Start by reviewing Turf#buffer and the linked LocationTech JTS library to understand the required geometry behavior and whether it can be used from this Java SDK. Then identify the appropriate SDK entry point for a buffer method and discuss the dependency and API choices with maintainers. Done means the project has an agreed implementation path for defining buffered offline map regions.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.