<?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 Re: Geocode CSV in JavaScript in ArcGIS JavaScript Maps SDK Questions</title>
    <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548191#M51017</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, I saw that it uses the &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Find_Address_Candidates/02r3000000wv000000/"&gt;findAddressCandidates &lt;/A&gt; method while looping over each candidate.&amp;nbsp; I wonder why it Mr. Crickard chose this instead of the method you described. The response seems fairly snappy for the small sample set I have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I intended on adding a results passed counter and other plugins like heatmap display. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you handle the file upload process to get your initial candidate list? (This is before it is converted to JSON or sent via the url request as shown above).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Wed, 12 Aug 2015 19:21:18 GMT</pubDate>
    <dc:creator>LangdonSanders2</dc:creator>
    <dc:date>2015-08-12T19:21:18Z</dc:date>
    <item>
      <title>Geocode CSV in JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548179#M51005</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am trying to geocode a list of addresses from a CSV.&amp;nbsp; I know that there is a drag and drop option that works well if you have lat long, but I only have addresses.&amp;nbsp; I want my coworkers to be able to save an xls as a csv then in the JS app browse to the CSV and run the gp model or drag and drop the csv into the map and kickoff the gp tool.&amp;nbsp; The service is upload enabled, but I am struggling getting the correct code down.&amp;nbsp; Has anyone done this before where they can point me in the correct direction.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Cheers,&lt;/P&gt;&lt;P&gt;Heath&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 14:43:13 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548179#M51005</guid>
      <dc:creator>HeathAnderson</dc:creator>
      <dc:date>2014-09-05T14:43:13Z</dc:date>
    </item>
    <item>
      <title>Re: Geocode CSV in JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548180#M51006</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I don't believe ESRI licensing allows batch geocoding in this manner.&amp;nbsp; That is part of an ArcOnline subscription.&amp;nbsp; &lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 18:30:42 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548180#M51006</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2014-09-05T18:30:42Z</dc:date>
    </item>
    <item>
      <title>Re: Geocode CSV in JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548181#M51007</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;A href="https://developers.arcgis.com/rest/geocode/api-reference/geocoding-free-vs-paid.htm"&gt;This document describes what you are allowed to do with free vs. paid ArcGIS Online Geocode services&lt;/A&gt;. If you are using your own geocoding services then, of course, this does not apply to you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Another alternative is the &lt;A href="http://developer.mapquest.com/web/products/open/geocoding-service"&gt;MapQuest Open Geocoding API Web Service&lt;/A&gt;.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 21:27:06 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548181#M51007</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2014-09-05T21:27:06Z</dc:date>
    </item>
    <item>
      <title>Re: Geocode CSV in JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548182#M51008</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It sounds like a bit of a gray area.&amp;nbsp; If you aren't keeping the results beyond the session, then are you meeting the definition of 'batch'?&amp;nbsp; For myself, I have used the geocoder just as a means for getting the map focused to a particular area. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;It might be OK in this scenario, but of course the next request from the user could be 'now I want to keep what I'm seeing' which just crosses over to 'not OK' without use of a subscription.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 21:44:07 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548182#M51008</guid>
      <dc:creator>TracySchloss</dc:creator>
      <dc:date>2014-09-05T21:44:07Z</dc:date>
    </item>
    <item>
      <title>Re: Geocode CSV in JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548183#M51009</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;It looks like the free version only allows one address per request.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 21:50:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548183#M51009</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2014-09-05T21:50:18Z</dc:date>
    </item>
    <item>
      <title>Re: Geocode CSV in JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548184#M51010</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Here's a &lt;A href="https://github.com/WSDOT-GIS/CSV-Reader"&gt;CSV-Reader&lt;/A&gt; JavaScript library that will allow the web browser to read the CSV file and convert it into JavaScript objects or arrays.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 05 Sep 2014 21:53:15 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548184#M51010</guid>
      <dc:creator>JeffJacobson</dc:creator>
      <dc:date>2014-09-05T21:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: Geocode CSV in JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548185#M51011</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am not sure that I clearly defined my problem.&amp;nbsp; I have a Geocode service running on our GIS Server in addition to a model that uses that same Geocode Service but creates an output shapefile and CSV table with matched addresses.&amp;nbsp; I want my coworkers to be able to click a button browse to a CSV with "Name", "Address", "City", "State", and "ZIP" as the column headers, click ok and the Geocoder Service will run.&amp;nbsp; This is what i have found from the REST API help page&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 0.5em; margin-bottom: 0.5em; padding-bottom: 2px; margin-left: 10px; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;"&gt;Syntax:&lt;/P&gt;&lt;P style="margin-top: 0.5em; margin-bottom: 0.5em; padding-bottom: 2px; margin-left: 10px; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;/P&gt;&lt;P class="highlight" style="margin-bottom: 0.3em;"&gt;&lt;/P&gt;&lt;PRE style="margin-left: 15px; border-left-width: 1px; padding-bottom: 25px; padding-left: 10px; font-size: 11px; background-color: #eeeeee;"&gt;&lt;CODE&gt;{ "records"&amp;nbsp; : [ { "attributes" : {"&amp;lt;OBJECTID&amp;gt;" : "&amp;lt;OID11&amp;gt;","&amp;lt;field1&amp;gt;" : "&amp;lt;value11&amp;gt;", "&amp;lt;field2&amp;gt;" : "&amp;lt;value12&amp;gt;", "&amp;lt;field3&amp;gt;" : "&amp;lt;value13&amp;gt;"} }, { "attributes" : {"&amp;lt;OBJECTID&amp;gt;" : "&amp;lt;OID21&amp;gt;","&amp;lt;field1&amp;gt;" : "&amp;lt;value21&amp;gt;", "&amp;lt;field2&amp;gt;" : "&amp;lt;value22&amp;gt;", "&amp;lt;field3&amp;gt;" : "&amp;lt;value23&amp;gt;"} } ] } &lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-top: 0.5em; margin-bottom: 0.5em; padding-bottom: 2px; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;/P&gt;&lt;P style="margin-top: 0.5em; margin-bottom: 0.5em; padding-bottom: 2px; margin-left: 10px; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;"&gt;Example 1:&lt;/P&gt;&lt;P style="margin-top: 0.5em; margin-bottom: 0.5em; padding-bottom: 2px; margin-left: 10px; color: #000000; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 12px;"&gt;&lt;/P&gt;&lt;P class="highlight" style="margin-bottom: 0.3em;"&gt;&lt;/P&gt;&lt;PRE style="margin-left: 15px; border-left-width: 1px; padding-bottom: 25px; padding-left: 10px; font-size: 11px; background-color: #eeeeee;"&gt;&lt;CODE&gt;{ "records": [ { "attributes": { "OBJECTID": 1, "STREET": "440 Arguello Blvd", "ZONE": "94118" } }, { "attributes": { "OBJECTID": 2, "STREET": "450 Arguello Blvd", "ZONE": "94118" } } ] }&lt;/CODE&gt;&lt;/PRE&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Do I need to create an input type as file, assign it to variable and then pass in the variable as the input parameters?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 16:00:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548185#M51011</guid>
      <dc:creator>HeathAnderson</dc:creator>
      <dc:date>2014-09-08T16:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Geocode CSV in JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548186#M51012</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;This uses Leaflet.js and makes an AJAX call to your GIS Service on ArcServer. Just change the URL to the location of your service. You can drag the textfile to the map and it will put markers on the map. And change the map center coordinates so it is where you want to be. Mine is in Albuquerque. This uses Drag and Drop functionality in HTML5 so you need a new browser - just use chrome.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My address file looks like this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;7520 Corona Ave NE&lt;/P&gt;&lt;P&gt;600 2nd St NW&lt;/P&gt;&lt;P&gt;6200 Paseo Del-Norte&lt;/P&gt;&lt;P&gt;3805 Northern Blvd NE&lt;/P&gt;&lt;P&gt;3701 Constitution Ave NE&lt;/P&gt;&lt;P&gt;320 Yale Boulevard SE&lt;/P&gt;&lt;P&gt;6001 Lomas Blvd NE&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;My HTML File:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;html&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;title&amp;gt;&amp;lt;/title&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;link rel="stylesheet" href="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://cdn.leafletjs.com/leaflet-0.7.2/leaflet.css" rel="nofollow" target="_blank"&gt;http://cdn.leafletjs.com/leaflet-0.7.2/leaflet.css&lt;/A&gt;&lt;SPAN&gt;" /&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;style&amp;gt;&lt;/P&gt;&lt;P&gt;#map{&lt;/P&gt;&lt;P&gt; height: 100%;&lt;/P&gt;&lt;P&gt;width:100%;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&amp;lt;/style&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/head&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;body&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;&amp;lt;script src="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://cdn.leafletjs.com/leaflet-0.7.2/leaflet.js" rel="nofollow" target="_blank"&gt;http://cdn.leafletjs.com/leaflet-0.7.2/leaflet.js&lt;/A&gt;&lt;SPAN&gt;"&amp;gt;&amp;lt;/script&amp;gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;div id="map" &amp;gt;&amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;script&amp;gt;&lt;/P&gt;&lt;P&gt;var map = L.map('map', &lt;/P&gt;&lt;P&gt;{&lt;/P&gt;&lt;P&gt;center: [35.10418, -106.62987],&lt;/P&gt;&lt;P&gt;zoom: 9&lt;/P&gt;&lt;P&gt;});&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;L.tileLayer('&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://" rel="nofollow" target="_blank"&gt;http://&lt;/A&gt;&lt;SPAN&gt;{s}.tile.osm.org/{z}/{x}/{y}.png').addTo(map);&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; function handleFileSelect(evt) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; evt.stopPropagation();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; evt.preventDefault();&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var files = evt.dataTransfer.files; // FileList object.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; var reader = new FileReader();&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; reader.onload = function(event) {&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;var temp=event.target.result;&lt;/P&gt;&lt;P&gt;var text=temp.replace( /\n/g, "," );&lt;/P&gt;&lt;P&gt;var c=text.split(",");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;for(i=0;i&amp;lt;c.length;i++){&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;url1="&lt;/SPAN&gt;&lt;A class="jive-link-external-small" href="http://YourDomain/ArcGIS/rest/services/AddressLocator/GeocodeServer/findAddressCandidates?Street=" rel="nofollow" target="_blank"&gt;http://YourDomain/ArcGIS/rest/services/AddressLocator/GeocodeServer/findAddressCandidates?Street=&lt;/A&gt;&lt;SPAN&gt;";&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;url2=String(c&lt;I&gt;);&lt;/I&gt;&lt;/P&gt;&lt;P&gt;url3="&amp;amp;outFields=&amp;amp;outSR=4326&amp;amp;f=pjson";&lt;/P&gt;&lt;P&gt;url=url1.concat(url2,url3);&lt;/P&gt;&lt;P&gt;var xhReq = new XMLHttpRequest();&lt;/P&gt;&lt;P&gt;xhReq.open("GET", url, false); &lt;/P&gt;&lt;P&gt;xhReq.send(null); &lt;/P&gt;&lt;P&gt;var serverResponse = xhReq.responseText;&lt;/P&gt;&lt;P&gt;var d=JSON.parse(serverResponse);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;if(typeof d.candidates[0] == 'undefined'){alert("error in address: "+url2);}&lt;/P&gt;&lt;P&gt;else{&lt;/P&gt;&lt;P&gt;L.marker([parseFloat(d.candidates[0].location.y),parseFloat(d.candidates[0].location.x)]).addTo(map).bindPopup(url2);&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;}&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; }&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; var s = reader.readAsText(files[0],"UTF-8");&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; function handleDragOver(evt) {&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; evt.stopPropagation();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; evt.preventDefault();&lt;/P&gt;&lt;P&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; evt.dataTransfer.dropEffect = 'copy'; // Explicitly show this is a copy.&lt;/P&gt;&lt;P&gt;&amp;nbsp; }&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; // Setup the dnd listeners.&lt;/P&gt;&lt;P&gt;&amp;nbsp; var dropZone = document.getElementById('map');&lt;/P&gt;&lt;P&gt;&amp;nbsp; dropZone.addEventListener('dragover', handleDragOver, false);&lt;/P&gt;&lt;P&gt;&amp;nbsp; dropZone.addEventListener('drop', handleFileSelect, false);&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/script&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/body&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/html&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 08 Sep 2014 22:58:59 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548186#M51012</guid>
      <dc:creator>PaulCrickard1</dc:creator>
      <dc:date>2014-09-08T22:58:59Z</dc:date>
    </item>
    <item>
      <title>Re: Geocode CSV in JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548187#M51013</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Works great, thank you.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Took a while to figure out that you can't have &amp;lt;!DOCTYPE html&amp;gt; on your page.&amp;nbsp; You must either delete it or comment it out.&amp;nbsp; Does you know why this is?&amp;nbsp; The page still functions correctly on IE, Chrome, and Firefox.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 19:23:10 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548187#M51013</guid>
      <dc:creator>HeathAnderson</dc:creator>
      <dc:date>2014-09-09T19:23:10Z</dc:date>
    </item>
    <item>
      <title>Re: Geocode CSV in JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548188#M51014</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Don't know why &amp;lt;!DOCTYPE html&amp;gt; doesn't work. It is supposed to sit above the &amp;lt;html&amp;gt; tag and tell the browser it is HTML 5.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Glad it works for you.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 09 Sep 2014 19:42:49 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548188#M51014</guid>
      <dc:creator>PaulCrickard1</dc:creator>
      <dc:date>2014-09-09T19:42:49Z</dc:date>
    </item>
    <item>
      <title>Re: Geocode CSV in JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548189#M51015</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Thank you Paul! This is incredibly helpful.&amp;nbsp; I appreciate you posting your code and lightweight use of Leaflet.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 18:00:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548189#M51015</guid>
      <dc:creator>LangdonSanders2</dc:creator>
      <dc:date>2015-08-12T18:00:18Z</dc:date>
    </item>
    <item>
      <title>Re: Geocode CSV in JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548190#M51016</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;One thing though - since we're talking about batch processing - this method looks like it will parse the CSV and make a geocoding request on each address... not batch per se. There is a way to make a batch request - we use our own locator and generated an ArcGIS geocoding service to geocode in batch, e.g.:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;{"records":[{"attributes":{"UID": 33549,"STREET": "123 Main Street","CITY": "Beverly Hills","STATE":"CA","ZIP":"90210",}},
{"attributes":{"UID": 30520,"STREET": "321 Main Street","CITY": "Beverly Hills","STATE":"CA","ZIP":"90210",}},
{"attributes":{"UID": 8391,"STREET": "987 2nd Street","CITY": "Beverly Hills","STATE":"CA","ZIP":"90210",}},
{"attributes":{"UID": 33512,"STREET": "1001 1st Street","CITY": "Beverly Hills","STATE":"CA","ZIP":"90210",}}]}&lt;/PRE&gt;&lt;P&gt;Which generate a response like this (note - using a fake data and fake response):&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;PRE class="lia-code-sample line-numbers language-none"&gt;{
"spatialReference": {
&amp;nbsp; "wkid": 4326,
&amp;nbsp; "latestWkid": 4326
},
"locations": [
&amp;nbsp; {
&amp;nbsp; "address": "",
&amp;nbsp; "location": {
&amp;nbsp; "x": "NaN",
&amp;nbsp; "y": "NaN"
&amp;nbsp; },
&amp;nbsp; "score": 0,
&amp;nbsp; "attributes": {
&amp;nbsp; "ResultID": -1,
&amp;nbsp; "Status": "U",
&amp;nbsp; "Score": 0,
&amp;nbsp; "Match_addr": "",
&amp;nbsp; "Side": "",
&amp;nbsp; "AddNum": "",
&amp;nbsp; "AddNumFrom": "",
&amp;nbsp; "AddNumTo": "",
&amp;nbsp; "StPreDir": "",
&amp;nbsp; "StPreType": "",
&amp;nbsp; "StName": "",
&amp;nbsp; "StType": "",
&amp;nbsp; "StDir": "",
&amp;nbsp; "Nbrhd": "",
&amp;nbsp; "City": "",
&amp;nbsp; "Subregion": "",
&amp;nbsp; "Region": "",
&amp;nbsp; "Postal": "",
&amp;nbsp; "PostalExt": "",
&amp;nbsp; "Country": "",
&amp;nbsp; "LangCode": "",
&amp;nbsp; "Addr_type": "",
&amp;nbsp; "StreetID": "",
&amp;nbsp; "Distance": 0,
&amp;nbsp; "X": 0,
&amp;nbsp; "Y": 0,
&amp;nbsp; "DisplayX": 0,
&amp;nbsp; "DisplayY": 0,
&amp;nbsp; "Xmin": 0,
&amp;nbsp; "Ymin": 0,
&amp;nbsp; "Xmax": 0,
&amp;nbsp; "Ymax": 0
&amp;nbsp; }
&amp;nbsp; },
&amp;nbsp; {
&amp;nbsp; "address": "",
&amp;nbsp; "location": {
&amp;nbsp; "x": "NaN",
&amp;nbsp; "y": "NaN"
&amp;nbsp; },
&amp;nbsp; "score": 0,
&amp;nbsp; "attributes": {
&amp;nbsp; "ResultID": -1,
&amp;nbsp; "Status": "U",
&amp;nbsp; "Score": 0,
&amp;nbsp; "Match_addr": "",
&amp;nbsp; "Side": "",
&amp;nbsp; "AddNum": "",
&amp;nbsp; "AddNumFrom": "",
&amp;nbsp; "AddNumTo": "",
&amp;nbsp; "StPreDir": "",
&amp;nbsp; "StPreType": "",
&amp;nbsp; "StName": "",
&amp;nbsp; "StType": "",
&amp;nbsp; "StDir": "",
&amp;nbsp; "Nbrhd": "",
&amp;nbsp; "City": "",
&amp;nbsp; "Subregion": "",
&amp;nbsp; "Region": "",
&amp;nbsp; "Postal": "",
&amp;nbsp; "PostalExt": "",
&amp;nbsp; "Country": "",
&amp;nbsp; "LangCode": "",
&amp;nbsp; "Addr_type": "",
&amp;nbsp; "StreetID": "",
&amp;nbsp; "Distance": 0,
&amp;nbsp; "X": 0,
&amp;nbsp; "Y": 0,
&amp;nbsp; "DisplayX": 0,
&amp;nbsp; "DisplayY": 0,
&amp;nbsp; "Xmin": 0,
&amp;nbsp; "Ymin": 0,
&amp;nbsp; "Xmax": 0,
&amp;nbsp; "Ymax": 0
&amp;nbsp; }
&amp;nbsp; },
&amp;nbsp; {
&amp;nbsp; "address": "",
&amp;nbsp; "location": {
&amp;nbsp; "x": "NaN",
&amp;nbsp; "y": "NaN"
&amp;nbsp; },
&amp;nbsp; "score": 0,
&amp;nbsp; "attributes": {
&amp;nbsp; "ResultID": -1,
&amp;nbsp; "Status": "U",
&amp;nbsp; "Score": 0,
&amp;nbsp; "Match_addr": "",
&amp;nbsp; "Side": "",
&amp;nbsp; "AddNum": "",
&amp;nbsp; "AddNumFrom": "",
&amp;nbsp; "AddNumTo": "",
&amp;nbsp; "StPreDir": "",
&amp;nbsp; "StPreType": "",
&amp;nbsp; "StName": "",
&amp;nbsp; "StType": "",
&amp;nbsp; "StDir": "",
&amp;nbsp; "Nbrhd": "",
&amp;nbsp; "City": "",
&amp;nbsp; "Subregion": "",
&amp;nbsp; "Region": "",
&amp;nbsp; "Postal": "",
&amp;nbsp; "PostalExt": "",
&amp;nbsp; "Country": "",
&amp;nbsp; "LangCode": "",
&amp;nbsp; "Addr_type": "",
&amp;nbsp; "StreetID": "",
&amp;nbsp; "Distance": 0,
&amp;nbsp; "X": 0,
&amp;nbsp; "Y": 0,
&amp;nbsp; "DisplayX": 0,
&amp;nbsp; "DisplayY": 0,
&amp;nbsp; "Xmin": 0,
&amp;nbsp; "Ymin": 0,
&amp;nbsp; "Xmax": 0,
&amp;nbsp; "Ymax": 0
&amp;nbsp; }
&amp;nbsp; },
&amp;nbsp; {
&amp;nbsp; "address": "",
&amp;nbsp; "location": {
&amp;nbsp; "x": "NaN",
&amp;nbsp; "y": "NaN"
&amp;nbsp; },
&amp;nbsp; "score": 0,
&amp;nbsp; "attributes": {
&amp;nbsp; "ResultID": -1,
&amp;nbsp; "Status": "U",
&amp;nbsp; "Score": 0,
&amp;nbsp; "Match_addr": "",
&amp;nbsp; "Side": "",
&amp;nbsp; "AddNum": "",
&amp;nbsp; "AddNumFrom": "",
&amp;nbsp; "AddNumTo": "",
&amp;nbsp; "StPreDir": "",
&amp;nbsp; "StPreType": "",
&amp;nbsp; "StName": "",
&amp;nbsp; "StType": "",
&amp;nbsp; "StDir": "",
&amp;nbsp; "Nbrhd": "",
&amp;nbsp; "City": "",
&amp;nbsp; "Subregion": "",
&amp;nbsp; "Region": "",
&amp;nbsp; "Postal": "",
&amp;nbsp; "PostalExt": "",
&amp;nbsp; "Country": "",
&amp;nbsp; "LangCode": "",
&amp;nbsp; "Addr_type": "",
&amp;nbsp; "StreetID": "",
&amp;nbsp; "Distance": 0,
&amp;nbsp; "X": 0,
&amp;nbsp; "Y": 0,
&amp;nbsp; "DisplayX": 0,
&amp;nbsp; "DisplayY": 0,
&amp;nbsp; "Xmin": 0,
&amp;nbsp; "Ymin": 0,
&amp;nbsp; "Xmax": 0,
&amp;nbsp; "Ymax": 0
&amp;nbsp; }
&amp;nbsp; }
]
}&lt;/PRE&gt;&lt;P&gt;You could then parse the JSON and grab the x/y coords and plot. I don't have any code samples readily available, though! Just wanted to give some other ideas... To make the request, you would need to create a JSON object from the CSV and post to the server. The advantage to this would be that you're making one request for the entire file instead of one request per address.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Sat, 11 Dec 2021 23:42:54 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548190#M51016</guid>
      <dc:creator>ChrisSmith7</dc:creator>
      <dc:date>2021-12-11T23:42:54Z</dc:date>
    </item>
    <item>
      <title>Re: Geocode CSV in JavaScript</title>
      <link>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548191#M51017</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Right, I saw that it uses the &lt;A href="http://resources.arcgis.com/en/help/arcgis-rest-api/index.html#/Find_Address_Candidates/02r3000000wv000000/"&gt;findAddressCandidates &lt;/A&gt; method while looping over each candidate.&amp;nbsp; I wonder why it Mr. Crickard chose this instead of the method you described. The response seems fairly snappy for the small sample set I have.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I intended on adding a results passed counter and other plugins like heatmap display. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;How do you handle the file upload process to get your initial candidate list? (This is before it is converted to JSON or sent via the url request as shown above).&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 12 Aug 2015 19:21:18 GMT</pubDate>
      <guid>https://community.esri.com/t5/arcgis-javascript-maps-sdk-questions/geocode-csv-in-javascript/m-p/548191#M51017</guid>
      <dc:creator>LangdonSanders2</dc:creator>
      <dc:date>2015-08-12T19:21:18Z</dc:date>
    </item>
  </channel>
</rss>

