bubble-wrap icon indicating copy to clipboard operation
bubble-wrap copied to clipboard

Ability to control road label spacing

Open sensescape opened this issue 10 years ago • 11 comments
trafficstars

To lessen the number of repeated labels on a line. @bcamper @nvkelso

screen shot 2015-10-26 at 2 21 37 pm

sensescape avatar Oct 26 '15 21:10 sensescape

screen shot 2015-10-26 at 2 39 59 pm

sensescape avatar Oct 26 '15 21:10 sensescape

@bcamper Is there an issue on the Tangram side we can block this against? What's the timeline?

nvkelso avatar Oct 26 '15 23:10 nvkelso

Related: road geoms in tiles could be aggregated at low- and mid-zooms

  • https://github.com/mapzen/vector-datasource/issues/358

nvkelso avatar Oct 29 '15 21:10 nvkelso

  • Buffering / bounding box around individual labels within a layer (each layer needs to set a different buffer). @bcamper to add new Tangram bug.
  • Stitching segments together to create longer runs with predictable spacing. Related: https://github.com/mapzen/vector-datasource/issues/358.

nvkelso avatar Oct 30 '15 21:10 nvkelso

Tangram v0.4.4 has this support now.

nvkelso avatar Dec 10 '15 23:12 nvkelso

Although we're still waiting for support in ES.

On Thursday, December 10, 2015, Nathaniel V. KELSO [email protected] wrote:

Tangram v0.4.4 has this support now.

— Reply to this email directly or view it on GitHub https://github.com/tangrams/eraser-map/issues/57#issuecomment-163788303.

bcamper avatar Dec 11 '15 03:12 bcamper

This is done using a no-op upgrade to Tangram v0.4.4 on WebGL. It'll be no-op as well on ES when that lands. Keeping this issue open until ES lands.

nvkelso avatar Dec 12 '15 00:12 nvkelso

@bcamper can you link the ES Github issue here, please?

nvkelso avatar Jan 04 '16 06:01 nvkelso

https://github.com/tangrams/tangram-es/pull/441

matteblair avatar Jan 04 '16 15:01 matteblair

Wow, huge improvement (master-688)! But looks like we will want to optimize for less repeat, need to balance how it looks on ES with the different text engine from JS.

nvkelso avatar Jan 20 '16 20:01 nvkelso

Cool. Given the divergent label placement systems, it doesn't seem unreasonable that they may need different defaults (usually we try to keep them in sync, but then in most cases the implementations are also closer).

bcamper avatar Jan 20 '16 21:01 bcamper