Density in Mapbox Studio Editor not a number field
Nobody has claimed this yet.
- Dominant language
- C++
- Stars
- 32
- Forks
- 9
- PR merge metrics
- No merged PRs in 30d
Description
I created a tile maps with tile-count and everything works fine. As well uploading it to mapbox and adding it to a style. But when I d'like to style the points based on the density, I have troubles. I assumed, "Style across data range" is the right way. There I have to choose a number field. Density is a number field, but the editor refuses the density: "Property must be of type: number".
Any ideas?
Thank you very much!

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.
Research direction
Reproduce the reported failure by loading tile-count output into Mapbox Studio and styling points with the density property. Inspect how density is represented in the generated tile data and compare it with a field that Studio accepts as numeric; done means the density field is recognized as a number for data-range styling.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- cpp
- Domain
- data, tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100