gmt spatial -Sb specify unit

Open
#8,790 0 comments 0 reactions 0 assignees View on GitHub

Maintainers usually reply within 1 day

Nobody has claimed this yet.

Assessment

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

Research direction

Start by reading the gmt spatial -Sb command documentation and implementation to understand its current data-unit behavior. Check how distance units such as meters are represented elsewhere in GMT. Done means accepting a form such as -Sb100e and producing the requested 100-meter buffer, with coverage for the new unit syntax.

Written by the indexing model from the issue text.

Description

feature request

I see that gmt spatial -Sb bust be in data units, such as degrees. Is it possible to add a feature where we can specify the unit we want to use to create a buffer? For instance, if I wanted a buffer of 100m, you could say: -Sb100e.

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.