def translate(self, x, y, z=0.0, **kwargs):
        if connections[self.db].ops.spatialite:
            if z != 0.0:
                raise NotImplementedError('SpatiaLite does not support 3D translation.')
            s = {'procedure_fmt': '%(geo_col)s,%(x)s,%(y)s',
                 'procedure_args': {'x': x, 'y': y},
                 'select_field': GeomField(),
                 }
        else:
            s = {'procedure_fmt': '%(geo_col)s,%(x)s,%(y)s,%(z)s',
                 'procedure_args': {'x': x, 'y': y, 'z': z},
                 'select_field': GeomField(),
                 }
        return self._spatial_attribute('translate', s, **kwargs)
Initialize and start threads.
dataset/ETHPy150Open django/django/django/contrib/gis/db/models/query.py/GeoQuerySet.translate--crossover with--dataset/ETHPy150Open jminardi/RobotBrain/robot_brain/servers/sensor_server/sensor_server.py/SensorServer.start