Hi all,
I have some point which are on top of each other (duplicated). They have same name Dont ask why 🙂
When I label them with their name, I get 3-4 labels.Â
Is there a way to label only one of them, the other labels just make the map messy.
I did try with python, but I am not getting what expected.
Here is my code, I use in the label properties dialog:
def FindLabel ( [LocationID] ):
ll=open(r'c:\Users\lefte-va\test1.txt').readlines()
if [LocationID]+'\n' not in ll:
with open(r'c:\Users\lefte-va\test1.txt','a') as myfile:
myfile.write([LocationID]+'\n')
return [LocationID]
This returns empty(no label values).
Any ideas?