Hello all,
I have a Workspace that makes the reverse geocoding using PythonCaller.
import fme
import fmeobjects
import json ,urllib2 #
def processFeature(feature):
att = urllib2.urlopen('http://maps.googleapis.com/maps/api/geocode/json?latlng=-23.2186725,-45.9056706')
data = json.load(att)
print "o json é ", data
When i run my workspace i see the results on the log file because i put the Print:
How can i get this result with a new attribute?
Thanks in Advance,
Danilo de Lima