Solved

geocode with own web service

  • 8 August 2015
  • 2 replies
  • 3 views

Badge
I have my own ArcGIS Server GeoCode Service web service available and was seeing how do I use it with FME? I'm accessing a table thru ODBC which has addresses and turning it into a shapefile. Thanks!
icon

Best answer by david_r 10 August 2015, 08:04

View original

2 replies

Userlevel 4
Hi

 

 

Look at the API specification for the geocodeAddresses (https://developers.arcgis.com/rest/geocode/api-reference/geocoding-geocode-addresses.htm)service.

 

 

You can either use an JSONTemplater or just hardcode your JSON into an attribute and pass it into a HTTPCaller that points to your server. You can use a JSONFlattener to convert the resulting JSON back into an FME feature for further processing.

 

 

David
Badge +16

You might like to leverage the code behind this sample:

http://www.arcgis.com/home/item.html?id=e57a7f9b15...

It gets fancy with threading but the basics of creating a recordset for geocodeAddresses is there.

Reply