Hello,
I am using ArcGIS Pro Model Builder (3.4.2) to create an address locator. The first initial use is fine, but when I want to run the model again the Create locator gives an error message 000725, Locator already exists. I want the create locator tool to overwrite the locator with the same name, thus why it is named the same. I have ensured that the "Allow Geoprocessing tools to overwrite existing datasets" box has been checked. Initially, I could get around this problem by simply shutting ArcGIS pro down and restarting, but it has gotten to the point where that does not work anymore. I assume this is some sort of bug, but it is possible I accidentally clicked a small setting button that caused this.
Does anyone know why this is happening / how to fix it? Any help greatly appreciated!
Solved! Go to Solution.
Hey @PeterOskam
It appears this is some sort of bug that can be resolved through ArcPy, but not natively in the Model builder due to it only working occasionally, I would raise a bug ticket with ESRI regarding this to see if they have any additional workarounds:
You may have luck using the Delete geoprocessing tool and removing the old locator prior to creating the new one, but that as well may have issues.
Cody
Hey @PeterOskam
Would it be possible to link a small snippet of the code with all the identifying information concealed?
I'm curious if it would be possible to set up the model builder to delete the original locator and then place the new one if the overwrite didn't work?
Cody
Hey @PeterOskam
It appears this is some sort of bug that can be resolved through ArcPy, but not natively in the Model builder due to it only working occasionally, I would raise a bug ticket with ESRI regarding this to see if they have any additional workarounds:
You may have luck using the Delete geoprocessing tool and removing the old locator prior to creating the new one, but that as well may have issues.
Cody