mapbox / mapbox/osm-bright

Rendering osm-bright tiles in english only

Open
#106 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
CartoCSS
Stars
703
Forks
222
PR merge metrics
No merged PRs in 30d

Description

I am using osm-bright style to render my own tiles on my tile server. The labels.mss has the:

@name attribute set to [name-en]

But still Chinese, Japanese and many other country tiles get rendered in their respective languages. Does anyone know how to tweak the osm-bright style sheet so that tiles are rendered in English only?

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 with labels.mss and inspect how the @name setting using [name-en] is applied when osm-bright renders labels. Reproduce the behavior with the tile server and compare tiles from English- and non-English-name regions. Done means the style consistently renders English labels where English names are available.

Written by the indexing model from the issue text.

Assessment

Tech stack
css
Domain
design
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.