Nikolaos: Moved over to the user list (trust you are subscribed).
To answer your question - if you turn off conflict resolution the labels are just blindly drawn (as if they were symbols). So you could use this as a way to use emoji to represent point locations for example :P When conflict resolution is used each label "reserves" a bounding box as it is generated. The rendering engine takes all the proposed labels and does its best to draw them in a pleasing manner on the screen. You have a whole bunch of control on how this happens using vendor options when styling. -- Jody Garnett On Thu, 21 Nov 2019 at 05:34, Jody Garnett <jody.garn...@gmail.com> wrote: > You may wish to set a high label priority to strongly prefer labels from > one layer. > > We should move this discussion to geotools user list please. This list > focuses on those working on codebase. > > On Thu, Nov 21, 2019 at 2:06 AM Nikolaos Pringouris <nprig...@gmail.com> > wrote: > >> Hi, >> I would like to request some enlightment regarding the way conflict >> resolution behaves during rendering of labels in geotools. >> the user guide mentions the following: >> conflictResolution(true): Enables conflict resolution (default, true) >> meaning no two labels will be allowed to overlap. Symbolizers with conflict >> resolution off are considered outside of the conflict resolution game, they >> don’t reserve area and can overlap with other labels. >> >> what does the above means? >> Supposing that we have multiple layers and want in layer A labels always >> to be rendered. It is rational to set conflictResolution=false. All other >> layers i.e B*, C* have this flag set to true meaning they participate in >> conflict resolution. >> The fact that in A conflict is disabled means that during rendering of C >> and B A's label are completely ignored (consider as not existent)) or not? >> Is the rendering order of layers involved somehow in the process? I.e. if >> layer B is rendered after A will it consider the placement of A's labels or >> not? Based on some preliminary testing it seems that not is the case. >> Still is there some way or option to achieve this (that is A's label >> always rendered but subsequent rendered layers labels do not overlap with >> A's labels) or we need to alter completely the implementation? >> >> thanks in advanced >> _______________________________________________ >> GeoTools-Devel mailing list >> geotools-de...@lists.sourceforge.net >> https://lists.sourceforge.net/lists/listinfo/geotools-devel >> > -- > -- > Jody Garnett >
_______________________________________________ GeoTools-GT2-Users mailing list GeoTools-GT2-Users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geotools-gt2-users