mapbox / mapbox/geojson-area

Support Feature / FeatureCollection

Open
#11 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
JavaScript
Stars
124
Forks
33
PR merge metrics
No merged PRs in 30d

Description

Looking at the switch/case in the code, type `Feature` and `FeatureCollection` doesnt seem to be supported. Could it be added?

Contributor guide

Open the contributing guide

Research direction

Start by locating the switch/case mentioned in the issue and read how polygon and multipolygon inputs are currently handled. Add support for Feature and FeatureCollection inputs, then verify that area calculation works for both forms using the existing test or verification setup.

Written by the indexing model from the issue text.

Assessment

Tech stack
javascript
Domain
data
Issue type
Feature
Difficulty
2/5
Estimated time
1-3 hours
Activity status
Stale
Clarity
Mostly clear
Newbie friendliness
52/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.