docstr: Compute the BoundingBox from a set of latitudes and longitudes
  
  :param lons: longitudes
  :param lats: latitudes
  :return: BoundingBox
docstr_tok: ["Compute","the","BoundingBox","from","a","set","of","latitudes","and","longitudes",":","param","lons",":","longitudes",":","param","lats",":","latitudes",":","return",":","BoundingBox"]
code: def from_points(lons, lats):
      """
      Compute the BoundingBox from a set of latitudes and longitudes
  
      :param lons: longitudes
      :param lats: latitudes
      :return: BoundingBox
      """
      north, west = max(lats), min(lons)
      south, east = min(lats), max(lons)
      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 2 for calling the BoundingBox obj's underlying member method code with example usage: obj.from_points(lons, lats) and returns: BoundingBox