Sunday, July 24, 2011

Single-line batch geocoding with ArcGIS Server 10 geocode services

ArcGIS Server 10 rolled out support for single-line geocoding via Web services, which made it easier to provide a simple, search-engine experience when locating an address. While support for single-line geocoding was included with the REST and SOAP APIs, there remained some differences in functionality. For example, REST does not currently provide an operation that supports batching multiple address inputs in a single request. SOAP supports batching via the GeocodeAddresses operation, but it appears to only support multi-line addresses. In fact, batching multiple single-line address inputs is possible through a "hidden" feature. Simply associate the single-line text with the first address input field. For example, in the North American geocode service hosted by ArcGIS Online, the first address input field is named "Address". The GeocodeAddresses operation needs an address table and address input field mapping. The address input field mapping merely references the first address input field, in this example "Address". The address table includes a field that maps to "Address", and the field values contain the single-line address input text. Here's an example in .NET that uses the precompiled ArcGIS SOAP library available with the ArcGIS SOAP SDK:

Note that the suggested batch size of this service is 10, which will limit the number of inputs you can include in one request. And of course you'll want to peruse the terms of use. Links to information on the ArcGIS Server 10 geocode services hosted by ArcGIS Online are available below:

North American Address Locator
United States Street Locator


Brendan said...

Nice thanks for the info. It really wasn't clear when looking at the REST endpoint for the geocoding service how to send in a batch request.


hai said...

Dear Rex, I just go through your blog .I cannot post comment there. Thats what i came here to post a comment. The sample application u r providing with cannot open in VS2010 .Can u help me to open that in VS2010?

hai said...

need code also

hai said...

Dear Rex , Can u send me (customlayer) the same project in VB.NET?

Vimax Suplemen Pembesar Mr.P Pria said...

artikelnya sangat membantu gan thanks for sharing :)

Unknown said...

Thanks for sharing this quality information with us. I really enjoyed reading.
i like play games friv4 online and play games 2 girls Download baixar facebook movel

Unknown said...

Hello, just wanted to say, I loved this article. It was practical.
Keep on posting!
download free descargar whatsapp gratis and download baixar whatsapp gratis online and descargar whatsapp , baixar whatsapp

Unknown said...

I am very happy to read this. Appreciate your sharing
Jugar juegos de frozen gratis en lĂ­nea gratis, los nuevos de princesa de Disney juegos frozen - la princesa encantadora y linda. Divertirse frozen!

Unknown said...

I love all the posts, I really enjoyed, I would like more information about this, because it is very nice., Thanks for sharing.
download descargar facebook para android gratis para Android celular and download free facebook descargar and descargar facebook gratis , descarga facebook

Unknown said...

The blog or and best that is extremely useful to keep I can share the ideas. Age Of War 2
Big Farm | Slitherio | Tank Trouble
Of the future as this is really what I was looking for, I am very comfortable and pleased to come here. Thank you very much.
Happy Wheels | Goodgeme Empire |

Sankar said...

Hi, Great.. Tutorial is just awesome..It is really helpful for a newbie like me.. I am a regular follower of your blog. Really very informative post you shared here. Kindly keep blogging. If anyone wants to become a .Net developer learn from .Net Core Training in Chennai. or learn thru .Net Core Training in Chennai. Nowadays Dot Net has tons of job opportunities on various vertical industry.
or Es6 Training in Chennai. Nowadays JavaScript has tons of job opportunities on various vertical industry.