Skip to main content
Can you pause execution (sleep) in FME? I am using the HTTPFetcher to send an address to Google to get back geocoded XML and extracting lat and lng. I find that some of the lat lngs are blank; however, when I examine those that are blank and send  the url directly to Google through the browser, I always get back the correct XML.

 

 

I'm thinking that because the HTTP fetch is inconsistent in the time it takes, something gets overwritten. I also did geocoding with Google using Python, and put in a sleep for two seconds. A sleep in FME might help.

 

 

By the way, I used the Gisgraphy geocode service in FME and found that it gave incorrect results. That's why I'm using Google.

 

 

Thanks
Hi,

 

 

Recently the decelerator transfomer was introduced, sound like something that might help.
I added the decelerator, slept for two seconds per feature, and got all of my lat / lngs.

 

 

Thanks!
Hi,

 

 

Your welcome.

 

You can also try the GoogleGeocoder from the FME store, it might simplify your ws.

 

 


Reply