Batch Geo-coding sample using REST

449
1
10-18-2010 03:53 AM
RaviKonaparthi
New Contributor II
Hi All,

Can any one tell me how to perform batch geo-coding using REST end point. I tried to pass array of type address to addressToLocations() function to locator task. But the response is blank.

There is no sample available for the same?

Regards,
Ravi.
0 Kudos
1 Reply
KevinGooss
Occasional Contributor
I suppose you could write client-side code to loop over the addresses in the array and send them on at a time but that defeats the purpose of a batch operation and is very chatty and bandwidth intensive.
Otherwise it looks to me like the api only handles one address at a time.
You could also create a server object extension to have ArcObjects do the batch server-side.
0 Kudos