Turfjs / Turfjs/turf

@turf/booleanIntersects Result Incorrect

Open
#2,499 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

@turf/boolean-intersects
Dominant language
TypeScript
Stars
10.5k
Forks
1k
Avg merge
1h 11m
Merged PRs (30d)
4

Description

Hi, I am using turf version 6.50 to check the intersection of green feature and grey feature.
I was expecting
turf.booleanIntersects(greenfeat, greyfeat)
would return me true, but the given function return false.

image

Can anyone help to figure out if this behavior is correct

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

Begin at the @turf/booleanIntersects entry point and reconstruct the reported green and grey geometries from the linked image or obtain a minimal reproducible case. Done means establishing whether the false result is expected and, if not, documenting a reproducible failing test and the relevant behavior.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript, typescript
Domain
api, data
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.