Page MenuHomePhabricator

Place names get cut off and unreadable due to placement of neighbouring labels
Open, Needs TriagePublic

Description

Steps to produce
Visit https://maps.wikimedia.org/#13/14.9852/74.8399
zoom out and observe the place names Belli Belaku, Mainalli, Kudurenala (approximately at the center)

Actual:
At zoom level https://maps.wikimedia.org/#11/14.9275/74.8766
You will observe Bell. M. Kudurenala

Expected:
Seamless zoom as in
https://www.openstreetmap.org/#map=13/14.9853/74.8399
https://www.openstreetmap.org/#map=11/14.9275/74.8766
When labels can't be displayed or overlap, omit lower importance labels.

Event Timeline

Aklapper renamed this task from Place names appear partly at certain zoom levels leading to cluttered map with meaningless names to Place names get cut off and unreadable at certain zoom levels.Jul 22 2019, 10:37 AM
Aklapper updated the task description. (Show Details)
Pikne renamed this task from Place names get cut off and unreadable at certain zoom levels to Place names get cut off and unreadable due to placement of neighbouring labels.Sep 21 2021, 8:05 AM

Change 732366 had a related patch set uploaded (by MSantos; author: MSantos):

[maps/spikes@master] Add test benchmark report for label cut fix

https://gerrit.wikimedia.org/r/732366

Change 732366 merged by MSantos:

[maps/spikes@master] Add test benchmark report for label cut fix

https://gerrit.wikimedia.org/r/732366

Change 761481 had a related patch set uploaded (by MSantos; author: MSantos):

[operations/deployment-charts@master] tegola: fix label cut on place_label layer

https://gerrit.wikimedia.org/r/761481

Found another example of this, in case the extra data helps -- thanks @MSantos for pointing me to the right task.

https://maps.wikimedia.org/#12/37.6014/-122.3192

San rancisco.png (288×479 px, 183 KB)
Menlo Pa.png (104×183 px, 40 KB)

Change 761481 merged by jenkins-bot:

[operations/deployment-charts@master] tegola: fix label cut on place_label layer

https://gerrit.wikimedia.org/r/761481

I'm no longer sure why I figured that this one relates to the placement of neighbouring labels. It also occurs on tile boundry, and so the root cause is likely the same as in that other task. Closely packed labels might somehow contribute to this issue but I don't really know.

Bell.png (226×857 px, 60 KB)