GeoPolygonQuery specifies the configurations of a geo-polygon query. You can specify a polygonal geographical area as a query condition. Tablestore returns the rows in which the value of the specified column falls within the polygonal geographical area.
Data structure
message GeoPolygonQuery {
optional string field_name = 1;
repeated string points = 2;
}
Parameter | Type | Required | Description |
field_name | string | Yes | The name of the attribute column. The column type must be GeoPoint. |
points | string | Yes | The coordinate pairs of the points that define the polygon geographic area. The value must be in the |