Page MenuHomePhabricator

Place labels are clippy
Closed, ResolvedPublic


Like, helluva clippy on mid zoom levels.

Event Timeline

MaxSem claimed this task.
MaxSem raised the priority of this task from to Needs Triage.
MaxSem updated the task description. (Show Details)
MaxSem added projects: Maps, Discovery-ARCHIVED.
MaxSem subscribed.
Yurik subscribed.

Prevent label clipping by increasing all buffers
for the label layers to the maximum. This increases
the tile size somewhat, and we will need to optimize
the exact size at a later time.

Screen Shot 2015-05-19 at 10.46.40.png (448×785 px, 276 KB)
Still happening though waaaaaayy less frequently.

I suspect this is due to having too many labels in that region. Could you reduce their number for that zoom level? E.g. using sql LIMIT?

LIMIT wouldn't reduce density in a predictable way, I might need to play more with labelgrid parameters.

Setting to low priority because most of the labels show OK-ish now except for some areas.

rebuilding... z0-z10

There being too many labels and labels being cut off are separate issues. Yes, reducing the number of labels will decrease the number of cut off labels, but you can have high label density without cut off labels.

Well, the user-facing result is the same, that's why it makes sense to keep it in one place IMO. Anyway, improves ordering and thus clipping looks much better. Also, it should be faster.

Lgtm, go ahead and merge ))

Data source commit:
Style commit:

Together, they improve at least Bay Area significantly for me. Still leaving the style open though because it's not fundamentally resolved.

MaxSem added a subscriber: Tfinc.

Even though I just pushed both latest commits directly to master, moving to Needs review for @Tfinc to look.

Looking better overall. I'm going to resolve and file new phab tasks if I find some more.

Firstly, congrats on the beta launch. Via twitter @mxfh directed my attention to: Manhattan Tribeca and Southbridge Tower labels are also clipped.

Screenshot from 2015-09-17 22:20:35.png (443×443 px, 207 KB)

Yurik closed this task as a duplicate of T113391: City labels can get cut off.

Bleh, I hate this "merge" means the other will close.

i'm sure more labels are clippy, but there is no point to have a generic endless task. Reopen with specific cases (should be added to details, not comment)