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-Devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/geotools-devel

Reply via email to