engine/process.py
def geom_gjson(self, call, geom_type, survey, data):
        """Call the gjson method, transfer, inter alia, a geometry type into it, get
           a GeoJson. If it contains geometry, produce a file-like object,
           assign the proper name and extension, return it."""
        result = self.gjson(geom_type, survey, data['question'], data['answer'], data['count'])

        if result['check'] == 1:
            output = io.BytesIO(json.dumps(result['result']).encode('utf-8'))
            output.name = f'{call.from_user.first_name}_{geom_type}.geojson'
            return output
Call the gjson method, transfer, inter alia, a geometry type into it, get
           a GeoJson. If it contains geometry, produce a file-like object,
           assign the proper name and extension, return it.
Call the gjson method, transfer, inter alia, a geometry type into it, get
a GeoJson. If it contains geometry, produce a file-like object,
assign the proper name and extension, return it.
Call the gjson method transfer inter alia a geometry type into it get a GeoJson . If it contains geometry produce a file - like object assign the proper name and extension return it .
def geom_gjson(self, call, geom_type, survey, data):
        result = self.gjson(geom_type, survey, data['question'], data['answer'], data['count'])
        if result['check'] == 1:
            output = io.BytesIO(json.dumps(result['result']).encode('utf-8'))
            output.name = f'{call.from_user.first_name}_{geom_type}.geojson'
            return output
def geom_gjson ( self , call , geom_type , survey , data ) : result = self . gjson ( geom_type , survey , data [ 'question' ] , data [ 'answer' ] , data [ 'count' ] ) if result [ 'check' ] == 1 : output = io . BytesIO ( json . dumps ( result [ 'result' ] ) . encode ( 'utf-8' ) ) output . name = f'{call.from_user.first_name}_{geom_type}.geojson' return output
Call the gjson method, transfer, inter alia, a geometry type into it, get
a GeoJson.
Call the gjson method transfer inter alia a geometry type into it get a GeoJson .
"""Call the gjson method, transfer, inter alia, a geometry type into it, get
           a GeoJson. If it contains geometry, produce a file-like object,
           assign the proper name and extension, return it."""
self
call
geom_type
survey
data