Make it clear in the readme that geojson option doesn't support GeometryCollection
Nobody has claimed this yet.
Assessment
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Newbie friendliness
- 62/100
- Issue type
- Documentation
- Clarity
- Clearly specified
- Activity status
- Stale
- Tech stack
- javascript
- Domain
- documentation
Research direction
Start by locating the README section that documents the geojson option and review the reported failure at tile-cover/index.js:84 when running index.js. Clarify there that GeometryCollection is unsupported, using the issue's error and examples as context, then confirm the README states the limitation plainly.
Written by the indexing model from the issue text.
Description
I am trying to calculate the number of buildings in a geometry.
When I run index.js, I get "error: geometry not implemented at Object.getTiles [as tiles]" in module 'tile-cover, index.js:84' .
I checked the GeoJson and it seems valid. It was created in QGIS and I have tested it in mapshaper.
I have tested and tried with different geojsons, all valid. I always get the same error from tile-cover.
The scripts are here.
Data is canada.mbtiles (not uploaded).
- Dominant language
- JavaScript
- Stars
- 185
- Forks
- 31
- PR merge metrics
- No merged PRs in 30d
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from mapbox/tile-reduce
-
Difficulty 4/5 3-5 days Newbie friendliness 25/100
mapbox/tile-reduce#115 · 2 comments ·
-
help wanted
Difficulty 4/5 3-5 days Newbie friendliness 25/100
mapbox/tile-reduce#109 · 1 comment ·
-
question
Difficulty 5/5 Over a week Newbie friendliness 20/100
mapbox/tile-reduce#108 · 6 comments ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 35/100
mapbox/tile-reduce#97 · 1 comment ·
-
enhancement
Difficulty 3/5 1-2 days Newbie friendliness 40/100
mapbox/tile-reduce#75 · 6 comments ·
All issues in mapbox/tile-reduce
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 88/100
HarperFast/skills#96 ·
-
[Block] Latest Posts [Type] Bug
Difficulty 2/5 1-3 hours Newbie friendliness 76/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
Automattic/studio#4908 ·
-
Difficulty 2/5 1-3 hours Newbie friendliness 74/100
-
Difficulty 2/5 1-3 hours Newbie friendliness 86/100
sugarlabs/musicblocks#8847 ·