def get_center(geom):
    centroid = geom.Centroid()
    return [centroid.GetY(), centroid.GetX()]
Since there are different OAuth API's with different ways to
dataset/ETHPy150Open cgarrard/osgeopy-code/Chapter4/listing4_3.py/get_center--crossover with--dataset/ETHPy150Open dpgaspar/Flask-AppBuilder/flask_appbuilder/security/manager.py/BaseSecurityManager.get_oauth_user_info