#NEWLINE# @ property #NEWLINE# def osm( self ) : #NEWLINE# #INDENT# osm = dict ( ) #NEWLINE# if self . ok : #NEWLINE# #INDENT# osm [ 'x' ] = osm . x #NEWLINE# osm [ 'y' ] = self . y #NEWLINE# if self . housenumber : #NEWLINE# #INDENT# osm [ 'addr:housenumber' ] = self . housenumber #NEWLINE# #UNINDENT# if self . road : #NEWLINE# #INDENT# osm [ 'addr:street' ] = self . road #NEWLINE# #UNINDENT# if self . city : #NEWLINE# #INDENT# osm [ 'addr:city' ] = self . city #NEWLINE# #UNINDENT# if self . state : #NEWLINE# #INDENT# osm [ 'addr:state' ] = self . state #NEWLINE# #UNINDENT# if self . country : #NEWLINE# #INDENT# osm [ 'addr:country' ] = self . country #NEWLINE# #UNINDENT# if self . postal : #NEWLINE# #INDENT# osm [ 'addr:postal' ] = self . postal #NEWLINE# #UNINDENT# if hasattr ( self , 'population' ) : #NEWLINE# #INDENT# if self . population : #NEWLINE# #INDENT# osm [ 'population' ] = self . population #NEWLINE# #UNINDENT# #UNINDENT# #UNINDENT# return osm