This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
""" | |
Pull Greater London Authority boundary definition (geojson) and derive the outer bounding box | |
""" | |
from operator import itemgetter | |
import json | |
import requests | |
r = requests.get('http://mapit.mysociety.org/area/2247.geojson') | |
coords = r.json()['coordinates'][0] |