#NEWLINE# def __init__( self , location , **kwargs ) : #NEWLINE# #INDENT# self . url = 'http://maps.ottawa.ca/ArcGIS/rest/services/' #NEWLINE# self . url += 'compositeLocator/GeocodeServer/findAddressCandidates' #NEWLINE# self . location = location #NEWLINE# self . params = { #NEWLINE# #INDENT# 'SingleLine' : location . replace ( ', Ottawa, ON' , '' ) , #NEWLINE# 'f' : 'json' , #NEWLINE# 'outSR' : 4326 , #NEWLINE# #UNINDENT# } #NEWLINE# self . _initialize ( ** kwargs )