Feature request #15966

Iterate over conflicting labels

Added by Martin von Gagern over 2 years ago. Updated almost 2 years ago.

Status:Open
Priority:Normal
Assignee:-
Category:Unknown
Pull Request or Patch supplied:No Resolution:
Easy fix?:No Copied to github as #:23882

Description

It would be nice to have labels placed automatically in general, but to manually handle problematic cases in order to avoid overlapping or dropped labels. To this effect, there should some functionality to iterate over affected pairs of labels. As labeling depends on scale and extent, this might tie in with some map composer, so that one can iterate over one or all the maps used by said composer in an actual rendering. Might even be tied in with exporting, so I could export, then view label problems during last export, fix them then export again.

I'm not sure whether there already is a way to see which labels got removed by pal::Problem::reduce, and if so, whether that information can be propagated all the way to the Python interface. If so, that would make what I requested possible as a plugin at least, but I don't see anything like this in the API docs. Otherwise making this information available to plugins might be a reasonable first step.

See also http://gis.stackexchange.com/q/220816/20475 where I asked about whether what I'm requesting here is already possible, and where a user called Victor commented that this would make a great feature request. Others indicated agreement with that view, so here it is.

History

#1 Updated by Giovanni Manghi about 2 years ago

  • Easy fix? set to No

#2 Updated by Jürgen Fischer almost 2 years ago

  • Category set to Unknown

Also available in: Atom PDF