package
0.7.7
Repository: https://github.com/igm/dgraph.git
Documentation: pkg.go.dev

# Packages

No description provided by the author

# Functions

Should be used only in filtering arg1 by comparing with arg2.
Convert converts the value to given scalar type.
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.
No description provided by the author
Equal returns true if a is equal to b.
FilterGeoUids filters the uids based on the corresponding values and GeoQueryData.
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.
Intersects returns true if the two loops intersect.
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
ObjectValue converts into protos.Value.
No description provided by the author
Sort sorts the given array in-place.
TypeForName returns the type corresponding to the given name.
ValueForType returns the zero value for a type id.
No description provided by the author
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.
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.
Note: These ids are stored in the posting lists to indicate the type of the data.
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.

# Structs

GeoQueryData is internal data used by the geo query filter to additionally filter the geometries.
Val is a value with type information.

# Type aliases

Area denotes an area on Earth.
Length denotes a length on Earth.
QueryType indicates the type of geo query.
No description provided by the author