#NEWLINE# def distance( self , geom , **kwargs ) : #NEWLINE# #INDENT# '\n        Returns the distance from the given geographic field name to the\n        given geometry in a `distance` attribute on each element of the\n        GeoQuerySet.\n\n        Keyword Arguments:\n         `spheroid`  => If the geometry field is geodetic and PostGIS is\n                        the spatial database, then the more accurate\n                        spheroid calculation will be used instead of the\n                        quicker sphere calculation.\n\n         `tolerance` => Used only for Oracle. The tolerance is\n                        in meters -- a default of 5 centimeters (0.05)\n                        is used.\n        ' #NEWLINE# return self . _distance_attribute ( 'distance' , self , ** kwargs )