Okay,
Getting nowhere fast on the Python thread, so I will try here too.
I have created a composite address locator that runs perfectly well in ArcMap. When I run it as a python command, nothing matches - as in all are unmatched; when run in ArcMap only one doesn't match.
When running one of the address locators -point locator- by itself, it runs from python and matches as expected.
Why can't you use a composite locator in Python? That seems to defeat the purpose of allowing them in the first place. There are many times when the data doesn't hit on one locator. The data in this case is coming in as both single point addresses and as intersections. And some of the addresses don't match exactly to the situs address we have in the system, but they do match as a range on the street.
I'm attempting to write a python script that will be a one button tool for some folks that don't work in ArcMap every day.
snippets of code:
CAUfile = "caufile.txt"
AddLoc1 = "PointAddressLocator"
AddLoc2 = "StreetLocator"
AddComp = "CompositeLocator"
GeoColumn = "Address Adress VISIBLE NONE"
arcpy.env.overwriteOutput = True
arcpy.GeocodeAddresses_geocoding(CAUfile,AddComp,GeoColumn,wksp+"\Geoed")
I have tried it as well with GeoColumn = "Address"
Running Win7 x64; Arc10 SP1
The PointLocator uses single field of address
StreetLocator uses Address with nothing for the City
Thanks