# Functions
Convert converts the value to given scalar type.
DateIndex indexs time type.
DefaultIndexKeys tokenizes data as a string and return keys for indexing.
EarthAngle converts a to distance on earth in meters to an angle.
EarthArea converts an area on the unit sphere to an area on earth in sq.
EarthDistance converts an angle to distance on earth in meters.
FilterGeoUids filters the uids based on the corresponding values and GeoQueryData.
FloatIndex indexs float type.
GetGeoTokens returns the corresponding index keys based on the type of function.
IndexTokens returns the tokens to be used in a geospatial index for the given geometry.
No description provided by the author
Intersects returns true if the two loops intersect.
IntIndex indexs int type.
IsGeoFunc returns if a function is of geo type.
Less returns true if a is strictly less than b.
No description provided by the author
No description provided by the author
Sort sorts the given array in-place.
TimeIndex indexs time type.
TypeForName returns the type corresponding to the given name.
ValueForType returns the zero value for a type id.
TODO(Ashwin): Improve this to make it more accurate.
WithinPolygon returns true if g1 is within g2 approximaltely.
# Constants
Note: These ids are stored in the posting lists to indicate the type of the data.
Note: These ids are stored in the posting lists to indicate the type of the data.
Note: These ids are stored in the posting lists to indicate the type of the data.
Note: These ids are stored in the posting lists to indicate the type of the data.
EarthRadiusMeters is the radius of the earth in meters (in a spherical earth model).
Note: These ids are stored in the posting lists to indicate the type of the data.
Note: These ids are stored in the posting lists to indicate the type of the data.
Note: These ids are stored in the posting lists to indicate the type of the data.
Approx 120m x 180m.
MaxCells is the maximum number of cells to use when indexing regions.
Approx 250km x 380km.
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
QueryTypeContains finds all polygons that contain the given point.
QueryTypeIntersects finds all objects that intersect the given geometry.
QueryTypeNear finds all points that are within the given distance from the given point.
QueryTypeWithin finds all points that are within the given geometry.
Note: These ids are stored in the posting lists to indicate the type of the data.
Note: These ids are stored in the posting lists to indicate the type of the data.
# Variables
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
# Structs
GeoQueryData is internal data used by the geo query filter to additionally filter the geometries.
No description provided by the author
No description provided by the author
No description provided by the author
# Type aliases
Area denotes an area on Earth.
Length denotes a length on Earth.
No description provided by the author
QueryType indicates the type of geo query.
No description provided by the author