<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic batch geocoding error in ArcGIS API for Flex Questions</title>
    <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/batch-geocoding-error/m-p/438344#M10190</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i created a web app (using flex api) that does batch geocoding. It loads an csv file into a datagrid, run the batch geocode, sends the addresses in an array and extract the result in a datagrid. It shows the result in the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The app is using an address locator rest service deployed in our server from a composite address locator(it is not using any online address geolocator)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However here is the issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when the app geocodes about 200 records in a batch, it brings the result (about 1.5 minute) and loads all points to the grid and the map. when it tries to do geocode about 900 records, it keeps busy for about 2 minute and brings a error message ("unexpected &amp;lt; encountered at location 5" faultcode:null, faultdetail:null)..However if i try a second time, it brings same message. I try third time, it brings the results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like when it errors out (i donot know exactly what error it is), it does not bring any record. but the records that are already geocoded,&amp;nbsp; are in the cache memory. A second try brings more geocode results on the cache memory but since all records are not geocoded, it brings error message. A third try reaches these cache memory faster and does the remaining geocodes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to know is there a better way for batch geocoding:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) whether any server side optimization&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) any way to catch the error before it is timeout and get the result that are being done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) any other way to send the input (such as creating multiple tasks with smaller inputs).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 19 Jun 2013 13:25:44 GMT</pubDate>
    <dc:creator>abukhan</dc:creator>
    <dc:date>2013-06-19T13:25:44Z</dc:date>
    <item>
      <title>batch geocoding error</title>
      <link>https://community.esri.com/t5/arcgis-api-for-flex-questions/batch-geocoding-error/m-p/438344#M10190</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;SPAN&gt;i created a web app (using flex api) that does batch geocoding. It loads an csv file into a datagrid, run the batch geocode, sends the addresses in an array and extract the result in a datagrid. It shows the result in the map.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;The app is using an address locator rest service deployed in our server from a composite address locator(it is not using any online address geolocator)&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;However here is the issue:&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;when the app geocodes about 200 records in a batch, it brings the result (about 1.5 minute) and loads all points to the grid and the map. when it tries to do geocode about 900 records, it keeps busy for about 2 minute and brings a error message ("unexpected &amp;lt; encountered at location 5" faultcode:null, faultdetail:null)..However if i try a second time, it brings same message. I try third time, it brings the results.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;It looks like when it errors out (i donot know exactly what error it is), it does not bring any record. but the records that are already geocoded,&amp;nbsp; are in the cache memory. A second try brings more geocode results on the cache memory but since all records are not geocoded, it brings error message. A third try reaches these cache memory faster and does the remaining geocodes.&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;I need to know is there a better way for batch geocoding:&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;1) whether any server side optimization&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;2) any way to catch the error before it is timeout and get the result that are being done&lt;/SPAN&gt;&lt;BR /&gt;&lt;SPAN&gt;3) any other way to send the input (such as creating multiple tasks with smaller inputs).&lt;/SPAN&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;SPAN&gt;Thanks&lt;/SPAN&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 19 Jun 2013 13:25:44 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-api-for-flex-questions/batch-geocoding-error/m-p/438344#M10190</guid>
      <dc:creator>abukhan</dc:creator>
      <dc:date>2013-06-19T13:25:44Z</dc:date>
    </item>
  </channel>
</rss>

