Polyline simplifcation

Open
#8,774 2 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

Difficulty
5/5
Estimated time
Over a week
Newbie friendliness
25/100
Issue type
Feature
Clarity
Needs clarification
Activity status
Stale
Tech stack
c
Domain
cli

Research direction

Start by reading GMT's existing simplify module and the linked CGAL Polyline Simplification documentation. Determine how the proposed algorithm would fit GMT and what interface and behavior it should expose. Done means the new simplification capability is integrated into GMT with verified behavior.

Written by the indexing model from the issue text.

Description

feature request

Hi there,
Currently the only available module to simplify lines is simplify, using Douglas-Peucker algorithm. The known issue has to do with intercept between lines.

Would it be possible to add this : https://doc.cgal.org/latest/Polyline_simplification_2/index.html
to GMT ?

It's already written in C so I guess it's already halfway done ?

Thanks,
Guillaume

Dominant language
C
Stars
997
Forks
420
Avg merge
13h 27m
Merged PRs (30d)
47

Getting set up

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 GenericMappingTools/gmt

All issues in GenericMappingTools/gmt

Similar issues

More C issues

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.