Select to view content in your preferred language

Batch Geocoding in Web App Builder?

10161
10
Jump to solution
12-30-2014 11:21 AM
LangdonSanders2
Occasional Contributor

Hello,

I am looking for resources on how to implement a batch geocoding widget in the Web App Builder.  The current geocoder only takes one line input for addresses.

We have ArcGIS server hosting REST address locators.  These locators can be used in ArcMap to batch geocode a table of addresses without a problem.

Ideally, we would like users of our web application made via the Web App Builder to upload a csv table of addresses as an input which would then be geocoded and displayed on the web app map.  We would like to use our own geocode service and not the ArcGIS online service.  My best guess would be to publish a geoprocesssing service of a successful geocode, then use this in the geoprocessing widget in the Web App Builder.

Will I need to write a custom widget using the JS API Locator and request?

Has anybody been successful in batch geocoding in the Web App Builder?  I have seen examples of Flex widgets and our previous .net application had this functionality.

Any help would be appreciated.  Thank you.

Langdon

0 Kudos
10 Replies
LangdonSanders2
Occasional Contributor

I found the thread with the Leaflet web page option:

Geocode CSV in JavaScript   which includes a sample provided by Paul Crickard .

All you need to do is point to your geocoding service then change the map extent (zoom level) and center x,y point. I also added attribution tags for Paul Crickard.

Here is a comparison of the scripts between the template and one I set up for my org.

You can see my edits here.  https://www.diffchecker.com/gwxqopd1

0 Kudos