def geopoint_average(points):
    """Takes a list of lat-lng tuples and returns an average"""
    count = len(points)
    if not count:
        return None
    lat = 0
    lng = 0
    for point in points:
        lat += point[0]
        lng += point[1]
    return (lat/count, lng/count)