Currently I am trying to run a "custom" composite address locator through script and I cannot seem to figure out the proper syntax. I can run the geocoder through the Arc Geocoder Tool (Runs Manually) but I cannot seem to get it working in the script.
In the tool the address inputs are as follows:
- Street or Intersection:
- City or Placename:
- State:
- ZIP Code:
- ZIP4
addrFld = "AddrAdded"
lkCity1Fld = "MapCity"
stateFld = "State"
geo_flds = "Street or Intersection {0};City or Placename {1};State {2};ZIP Code <None>;ZIP4 <None>".format(addrFld, lkCity1Fld, stateFld)
locator = r"SomeDrive\Composite_Parcels"
arcpy.GeocodeAddresses_geocoding(in_table, locator, geo_flds, out_fc)
Receiving Error: ERROR 000010: Geocode addresses failed. Failed to execute (GeocodeAddresses).
- The input table runs through the tool
- The the address locator exists
- The output location is the same as it is in the tool
- Running: Arc 10.4.1
- License: Advanced