def base_encode(num, alphabet=ALPHABET):
    if (num == 0):
        return alphabet[0]
    arr = []
    base = len(alphabet)
    while num:
        rem = num % base
        num = num // base
        arr.append(alphabet[rem])
    arr.reverse()
    return ''.join(arr)
Returns a Point geometry guaranteed to lie on the surface of the
dataset/ETHPy150Open bbangert/velruse/velruse/app/baseconvert.py/base_encode--crossover with--dataset/ETHPy150Open dcramer/django-compositepks/django/contrib/gis/db/models/query.py/GeoQuerySet.point_on_surface