GeoBoundingBoxQuery specifies the configurations of a geo-bounding box query. You can specify a rectangular geographical area as a query condition. Tablestore returns the rows in which the value of the specified column falls within the rectangular geographical area.
Data structure
message GeoBoundingBoxQuery {
optional string field_name = 1;
optional string top_left = 2;
optional string bottom_right = 3;
}
Parameter | Type | Required | Description |
field_name | string | Yes | The name of the attribute column. The column type must be GeoPoint. |
top_left | string | Yes | The coordinates of the upper-left and lower-right corners of the rectangular area. The value must be in the The coordinates of the upper-left and lower-right corners can determine the location of the rectangular area. |
bottom_right | string | Yes |