I am attempting to create a street address locator via the Create Locator tool in ArcGIS Pro 2.5. For now in an attempt to just get the tool to run I am only filling in the required fields and I get the generic error:
Error happened while transforming data
Failed to execute (CreateLocator). I have seen in other posts that this can often be caused by a null geometry in the data. I have run check geometry and repair geometry on my data just in case and there is no null geometry in the data. I have tried running this tool with multiple different versions of my road centerline data (slightly different schemas and database sizes) and have never gotten it to run successfully. I have been able to create a locator using this tool for my address points with a point address role. Screenshot of small test area below, does anyone have any thoughts?
A workaround that might be a solution for you, assuming you store your data in MSSQL and have geometry shape type (vs sdebinary) is to use the Reduce method in a query layer. This worked for me.
It it hard to say if it will eliminate every curve as it will return several types. You could tweak the tolerance if it didn't work the first time.
Reduce()
returns a LineString, CircularString, or CompoundCurve instance for CircularString instances.Reduce()
returns either a CompoundCurve or LineString instance for CompoundCurve instances.
Ideally you wouldn't need to do this. Hopefully a valid solution comes with 2.6.