Error running an address locator package through a standalone python script

المشرف العام

Administrator
طاقم الإدارة
I am receiving an error when accessing the fields of the locator package. My locator has a single input field (specified as "Street" by the locator and the table field name is "Request Address One"). The ArcGIS Resource Center Desktop Help page code example for 10.0 is:

arcpy.GeocodeAddresses_geocoding(address_table, address_locator, "Address Address VISIBLE NONE;City CITY VISIBLE NONE;State State VISIBLE NONE;Zip Zip VISIBLE NONE", geocode_result, STATIC)I am using ArcMap10.3, and this code example is for geocoding within the ArcMap python window, and there is no example for a standalone script. I tried this format and receive an error stating that it cannot get the address fields. Can this be ran in a standalone script? And if so what is the proper format for listing the address fields?



أكثر...
 
أعلى