mapbox / mapbox/mapbox-java

Port Turf.hex-grid to java

Open
#563 4 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

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

Description

Make Turf's hex-grid function be available in java.
Hex-grid utility will return a Feature Collection of hexagons or triangles based on a bounding box and the diameter of the cell. This is will enable to do a HeatMap demo in the android-demo-app.

Here is more information about hex-grid:
https://github.com/Turfjs/turf/tree/master/packages/turf-hex-grid

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 with the referenced Turf hex-grid implementation and compare its behavior with the Java SDK; the issue does not name a target file or test. The work is done when the Java implementation returns a feature collection of hexagons or triangles from a bounding box and cell diameter and supports the android-demo-app heatmap use case.

Written by the indexing model from the issue text.

Assessment

Tech stack
android, java
Domain
mobile
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.