dossier/store/elastic.py
def fc_bytes(self, fc_dict):
        '''Take a feature collection in dict form and count its size in bytes.

        '''
        num_bytes = 0
        for _, feat in fc_dict.iteritems():
            num_bytes += len(feat)
        return num_bytes
def fc_bytes(self, fc_dict):
        '''Take a feature collection in dict form and count its size in bytes.

        '''
        num_bytes = 0
        for _, feat in fc_dict.iteritems():
            num_bytes += len(feat)
        return num_bytes
Take a feature collection in dict form and count its size in bytes.