Original User: dboi517
Hello,
I am looking for a way to programatically remove duplicate addresses from the search results in the Geocoder used in the Header Controller widget. The problem is our street centerlines layer has segments throughout the city that have overlapping ranges, which results in multiple duplicate addresses showing up in the search results. It would be a massive project to correct the entire centerlines layer--and if any of the results are chosen, it zooms to the area accurately enough so that this hasn't been an issue in the past. However, it is slightly confusing when many of the same addresses appear. I have also considered removing the search results option, but there are many areas around the city that actually have the same address, just in a different neighborhood--so it is necessary to have the result options appear so a user may select the address in the correct neighborhood. See screenshots below for a better understanding of the issue.
Example of what needs to be changed:
[ATTACH=CONFIG]27049[/ATTACH]
Example of what needs to stay:
[ATTACH=CONFIG]27050[/ATTACH]
In summary, I'd like to figure out a way to programatically remove addresses from the search results that are exact duplicates, inclusive of neighborhood (because each result will zoom to the same general area) and I'd like to not remove addresses from the results that are the same address with a different neighborhood (because they are unique locations).
Any ideas or tips would be an immense help! Thank you!!
David