code: public static String formatApproaches(String[] approaches) {
      for (int i = 0; i < approaches.length; i++) {
        if (approaches[i] == null) {
          approaches[i] = "";
        } else if (!approaches[i].equals("unrestricted")
          && !approaches[i].equals("curb") && !approaches[i].isEmpty()) {
          return null;
        }
      }
      return TextUtils.join(";", approaches);
    }
docs: Converts String array with approaches values
  to a string ready for API consumption.
  An approach could be unrestricted, curb or null.
  
  @param approaches a string representing approaches to each coordinate.
  @return a formatted string.
  @since 3.2.0