mapbox / mapbox/shp-write

Polygons not supported

Open
#66 6 comments 3 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
JavaScript
Stars
321
Forks
195
PR merge metrics
No merged PRs in 30d

Description

For a Geojson file which contains 4 features , it converts eveything as a multipolygon instead of 4 feature each contains polygon. Do i miss any settings or config or its a bug.Please let me know how can i achieve this.

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 reproducing the conversion with the four-feature GeoJSON example described in the issue, then trace the JavaScript conversion entry point to see where separate polygons become one multipolygon. Done means each of the four input features is written as its own polygon feature rather than being combined.

Written by the indexing model from the issue text.

Assessment

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

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.