FR: Export `distanceToSegment` from `@turf/point-to-line-distance`
Open
Nobody has claimed this yet.
- Dominant language
- TypeScript
- Stars
- 10.5k
- Forks
- 1k
- Avg merge
- 1h 11m
- Merged PRs (30d)
- 4
Description
distanceToSegment is not exported from @turf/point-to-line-distance.
This function can be handy for walking along a line determining distances, while also determining which segments points are nearest.
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start at the @turf/point-to-line-distance package entry point and inspect how its public exports are defined. Confirm that distanceToSegment is exposed from the package and verify the package checks; the work is done when consumers can import that function from the requested package.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- api
- Issue type
- Feature
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Stale
- Clarity
- Clearly specified
- Newbie friendliness
- 35/100