def _get_lts_from_user(self, user):
        """ Get layertemplates owned by a user from the database. """
        req = meta.Session.query(LayerTemplate).select_from(join(LayerTemplate, User))
        return req.filter(User.login==user).all()