Optimizing text 'spacing' parameter #1299

Closed
springmeyer opened this Issue Jul 6, 2012 · 2 comments

Comments

Projects
None yet
2 participants
Owner

springmeyer commented Jul 6, 2012

When spacing > 0 is used, the placement finder invokes additional code to measure lines and determine chunks upon which to try placing multiple labels.

In past profiling we've seen this is, understandably, much more expensive that the default path of simply trying to place a single label per line segment.

We should look for optimizations in the spacing code, and if no major optimizations can be found or are reasonable then the expensive nature of using spacing should be better documented along with alternative and faster methods to approximate nice repeated labeling (like splitting long line segments before rendering).

Member

herm commented Jul 9, 2012

I'm rewriting large parts of our placement finder and will try to make this reasonable fast.

Member

herm commented Aug 26, 2012

"spacing" is not the real problem. label-position-tolerance and the fact that this is implied to be spacing/2 is the problem. Tracking this issue in #1387.

herm closed this Aug 26, 2012

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment