point-grid bug

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

Nobody has claimed this yet.

Assessment

Difficulty
3/5
Estimated time
1-2 days
Newbie friendliness
35/100
Issue type
Bug
Clarity
Needs clarification
Activity status
Stale
Domain
data

Research direction

Start with the linked GeoJSON and JSFiddle reproduction, then locate Turf's point-grid implementation. Reproduce the failure for the large box and establish the expected grid output; done means the reported case produces the correct grid without breaking existing behavior.

Written by the indexing model from the issue text.

Description

@turf/point-grid

Hi, I found a problem when building a grid for a big box.

Sample this prolem:
GeoJSON: https://gist.github.com/entagir/8a2f8e003731ce52ab87fe230dc2ab7f
or: https://jsonkeeper.com/b/GHL4
Code: https://jsfiddle.net/entagir/dsahcfej/11/

Thank!

Dominant language
TypeScript
Stars
10.5k
Forks
1k
Avg merge
1h 11m
Merged PRs (30d)
4

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 Turfjs/turf

All issues in Turfjs/turf

Similar issues

More TypeScript issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.