code: def from_nominatim(query):
      url = urllib2.urlopen(
          "http://nominatim.openstreetmap.org/search.php?q=%s&format=json"
          % query
      )
      jo = json.load(url)
  
      if len(jo) == 0:
          raise Exception("No results found")
  
      south, north, west, east = map(float, jo[0]["boundingbox"])
      print("bbox from Nominatim:", south, north, west, east)
      return BoundingBox(north=north, west=west, south=south, east=east)
  
imports: from collections import defaultdict
  import csv
  from datetime import datetime
  import json
  from math import radians, cos, sin, asin, sqrt
  import urllib2
  import numpy
label_desc: Use image node_id 5 for calling the BoundingBox obj's underlying member method code with example usage: obj.from_nominatim(query) and returns: BoundingBox