mapbox / mapbox/geojson-area

Can you please provide one example of using the syntax?

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

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
124
Forks
33
PR merge metrics
No merged PRs in 30d

Description

var geojsonArea = require('@mapbox/geojson-area');

var area = geojsonArea.geometry(obj);

Here what is the format of the **obj**, I want to calculate the area of 2 polygons intersecting each other.

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.

Research direction

Start by reviewing the package's existing usage documentation and entry points to determine how the geometry argument is described. Add one concrete syntax example that clarifies the expected object format and the supported polygon-area use case; done means a newcomer can follow the example without guessing the input shape.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
documentation
Issue type
Documentation
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.