/** * Calculate the size (in meters) of geohash cells at a specific level * @param level geohash level must be greater or equal to zero * @return the size of cells at level in meters */ public static double geoHashCellSize(int level) { assert level>=0; final double w = geoHashCellWidth(level); final double h = geoHashCellHeight(level); return Math.sqrt(w*w + h*h); }
/** * Calculate the size (in meters) of geohash cells at a specific level * @param level geohash level must be greater or equal to zero * @return the size of cells at level in meters */ public static double geoHashCellSize(int level) { assert level>=0; final double w = geoHashCellWidth(level); final double h = geoHashCellHeight(level); return Math.sqrt(w*w + h*h); }
/** * Calculate the size (in meters) of geohash cells at a specific level * @param level geohash level must be greater or equal to zero * @return the size of cells at level in meters */ public static double geoHashCellSize(int level) { assert level>=0; final double w = geoHashCellWidth(level); final double h = geoHashCellHeight(level); return Math.sqrt(w*w + h*h); }
/** * Calculate the size (in meters) of geohash cells at a specific level * @param level geohash level must be greater or equal to zero * @return the size of cells at level in meters */ public static double geoHashCellSize(int level) { assert level>=0; final double w = geoHashCellWidth(level); final double h = geoHashCellHeight(level); return Math.sqrt(w*w + h*h); }
/** * Calculate the size (in meters) of geohash cells at a specific level * @param level geohash level must be greater or equal to zero * @return the size of cells at level in meters */ public static double geoHashCellSize(int level) { assert level>=0; final double w = geoHashCellWidth(level); final double h = geoHashCellHeight(level); return Math.sqrt(w*w + h*h); }