'Return the spatial aggregate SQL name.'

def spatial_aggregate_name(self, agg_name):

    agg_name = ('unionagg' if (agg_name.lower() == 'union') else agg_name.lower())
    return getattr(self, agg_name)
