Skip to content

Add short forms for Units and AreaUnits#3063

Merged
mfedderly merged 4 commits into
Turfjs:masterfrom
Johse:master
Jun 18, 2026
Merged

Add short forms for Units and AreaUnits#3063
mfedderly merged 4 commits into
Turfjs:masterfrom
Johse:master

Conversation

@Johse

@Johse Johse commented May 10, 2026

Copy link
Copy Markdown
Contributor

Suggestion of adding shortform for Units (eg. "km" for "kilometers") and AreaUnits

  • No breaking change.

Johse and others added 2 commits May 10, 2026 15:41

@mfedderly mfedderly left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I went back and looked at the discussion when we last touched these to add non-US variants back (#2038).

Its probably reasonable to add these in to align with the previous decision, and as best I can tell they are all the official SI or US Customary System shorthands.

Thanks!

Remove trailing whitespace that was tripping up prettier
@mfedderly mfedderly merged commit 45607fd into Turfjs:master Jun 18, 2026
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants