#NEWLINE# def __init__( self , col , source = None , is_summary = False , tolerance = 0.05 , **extra ) : #NEWLINE# #INDENT# super ( GeoAggregate , self ) . __init__ ( col , source , is_summary , ** extra ) #NEWLINE# self . tolerance = tolerance #NEWLINE# if ( not isinstance ( self . source , GeometryField ) ) : #NEWLINE# #INDENT# raise ValueError ( 'Geospatial aggregates only allowed on geometry fields.' )