Knowledge Base

KB10498 - Enforce non-duplication of street name labels.

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:
  1. Use Label.Duplicates=FALSE within the configuration file.
  2. 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.
Created: March 31, 2004, Modified: March 28, 2013