Skip to content

Content-Aware label collision #1150

Komzpa opened this Issue Mar 27, 2012 · 1 comment

2 participants

Komzpa commented Mar 27, 2012

Feature request.

When rendering map with a lot of cities, administrative boundaries, subway stations and dualway-roads it's typical to have repeating labels.

The idea is to remember the text for each label (in addition to bbox), and if one of possible label positions intersects with same-text label (configurable: just text, text+font, text+font+color, text+font+color+size), just omit this text.

It will make dealing with double-labelled subway stations a lot easier. :3

Also, the feature should work transparently with shields, letting user tell "in some cases it's OK to render just shield image without text".

Mapnik member

Nice. I've also been interested in adding a label collision detector by name. The idea of making it flexible by other rendering properties is smart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.