public static double[] getBoundsByAddress (String address, boolean sensor, String language)
throws ParseException, UnsupportedEncodingException, MalformedURLException, IOException {
StringBuilder sb = getGeocodeJsonResult(address, sensor, language);
double[] bounds = new double[4];
JSONArray results = (JSONArray)((JSONObject)new JSONParser().parse(sb.toString())).get("results");
JSONObject boundsInfo = (JSONObject)((JSONObject)((JSONObject)results.get(0)).get("geometry")).get("bounds");
bounds[0] = ((Double)((JSONObject)boundsInfo.get("southwest")).get("lat")).doubleValue();
bounds[1] = ((Double)((JSONObject)boundsInfo.get("southwest")).get("lng")).doubleValue();
bounds[2] = ((Double)((JSONObject)boundsInfo.get("northeast")).get("lat")).doubleValue();
bounds[3] = ((Double)((JSONObject)boundsInfo.get("northeast")).get("lng")).doubleValue();