pyinterp.geohash.area

Contents

pyinterp.geohash.area#

pyinterp.geohash.area(hash: object, spheroid: pyinterp.core.geometry.geographic.Spheroid | None = None) numpy.ndarray[dtype=float64, shape=(*), order='C']#

Calculate the area covered by geohash codes.

This function computes the area (in square meters) covered by the provided geohash codes using the specified geodetic reference system.

Parameters:
  • hash – GeoHash codes (numpy string array).

  • wgs – WGS (World Geodetic System) used to calculate the area. Defaults to WGS84.

Returns:

Array of calculated areas in square meters.