All Products
Search
Document Center

Tablestore:GeoDistanceType

Last Updated:Apr 15, 2024

GeoDistanceType specifies the method that is used to calculate the distance.

Enumeration value list

  • GEO_DISTANCE_ARC: the default value, which specifies that the distance is calculated with higher precision.

  • GEO_DISTANCE_PLANE: provides fast distance calculation but introduces a large deviation for long-distance calculation.

enum GeoDistanceType {
    GEO_DISTANCE_ARC = 0;
    GEO_DISTANCE_PLANE = 1;
}