Skip to main content
Question

Custom Geocoder

  • November 13, 2019
  • 2 replies
  • 19 views

mukhtarg
Contributor
Forum|alt.badge.img+4

Hello,

I am trying to geocode some addresses. The input is excel. But I don't want to use available geocoder services. Instead, we have our own geocoding API key. Is it possible to use it through any of the transformers?

2 replies

redgeographics
Celebrity
Forum|alt.badge.img+49

Yes, you can do that via a HTTPCaller. You'll need to make sure to send the API key with the request of course. The result of the API is most likely going to come back as either XML or JSON so you'll need to process that afterwards through flattening/fragmenting.


sigtill
Contributor
Forum|alt.badge.img+24
  • Contributor
  • November 13, 2019

Hi @mukhtarg

For working with REST API-s like this I would recommend to look at this presentation from FMEUC2017

 

https://www.safe.com/presentations/wrapping-any-rest-api-into-a-simple-custom-transformer/

 

Disclaimer: I was the presenter :)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings