turf.simplify removes time and elevation data

Open
#2,556 5 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Assessment

Difficulty
4/5
Estimated time
3-5 days
Newbie friendliness
42/100
Issue type
Feature
Clarity
Mostly clear
Activity status
Stale
Tech stack
typescript
Domain
data

Research direction

Start at the turf.simplify entry point and inspect its existing tests, then trace how coordinates are reduced and how time and elevation values are handled. The work is complete when an explicit option transfers appropriately averaged time and elevation values to the simplified GeoJSON, with tests covering the resulting data.

Written by the indexing model from the issue text.

Description

@turf/simplify new-feature

simplify could have an option to average out elevation and time values so that they get transferred to the new simplified GeoJSON

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.