The company I currently work for uses ArcGIS Desktop to geocode a bunch of addresses. We want to automate the process a bit, so I was wondering if it was possible to use a class like the locator or the localGeocodeService class with the .loc file we normally to automate this.
You should be able to write some basic Java code to extract the contents of a .loc file without too much difficulty.
The SDK has 2 geocode operations which may be of interest to you:
- Geocode - which takes in an address string and returns a geographical point - Reverse Geocode - which takes a geographic point and returns an address string(s) for the address closest to that point
Both these bits of functionality are available offline (local server) or by using online services.
If you already have the SDK then there is a sample application which demonstrates how the above operations work.
I think you should be able to write a slick batch geocoder if you consider the use the thread pools to speed up the operation. Geocoding or reverse geocoding large batches in a single thread (one after the other), might be a slow process.
You should be able to write some basic Java code to extract the contents of a .loc file without too much difficulty.
The SDK has 2 geocode operations which may be of interest to you:
- Geocode - which takes in an address string and returns a geographical point - Reverse Geocode - which takes a geographic point and returns an address string(s) for the address closest to that point
Both these bits of functionality are available offline (local server) or by using online services.
If you already have the SDK then there is a sample application which demonstrates how the above operations work.
I think you should be able to write a slick batch geocoder if you consider the use the thread pools to speed up the operation. Geocoding or reverse geocoding large batches in a single thread (one after the other), might be a slow process.
Ultimately those take similar input as the (one at a time) geocoding methods in Locator, so you still have to read in/prepare your data in the same way.