Saturday 17 June 2017

arcpy - Is it possible to run the address locator in ArcGIS via Python?



I have a question regarding the address locator in ArcGIS.


It is possible to create an address locator by using Python, but is it also possible to run an address locator via Python?


This means, is there any Python code that does the same as the address locator toolbar in ArcGIS?


The code should get the address by an user and should then locate the address and zoom on it.



Answer



I think you are looking for GeocodeAddresses_geocoding. I'm personally still trying to get it to work, so if you get it, feel free to share!


No comments:

Post a Comment

arcpy - Changing output name when exporting data driven pages to JPG?

Is there a way to save the output JPG, changing the output file name to the page name, instead of page number? I mean changing the script fo...