Repeated presentation of street name labels can be prevented by disabling the
Label.Duplicates property. This ensures that the name of each street is presented not more than once in any map view, i.e., only once for the entire street instead of once for each vector line representing a segment of the street between intersection nodes. There are two options:
-
Use Label.Duplicates=FALSE within the configuration file.
-
Use Layer.Params.Labels.Duplicates = False in your source code.
Another option is to use a different street line layer for street name labeling. This layer should be without intersection nodes so that the full length of each street is represented by a single vector line.