'Helper that gets parent and path for a location.'

@staticmethod
def _lookup_parent_path(feature_id):

    db = current.db
    table = db.gis_location
    feature = db((table.id == feature_id)).select(table.id, table.name, table.level, table.path, table.parent, limitby=(0, 1)).first()
    return feature
