Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalcCellsScore ¶
CalcCellsScore returns the total area of the given S2 cells in level 16 cell units (maxCellLevel in the geo repo's region coverer configuration - see geo/geojson/geojson_v2.go)
func NewQueryEvaluator ¶
func NewQueryEvaluator(query Query, geoData segment.GeoShapeV2Data) *queryEvaluator
Types ¶
type Query ¶
type Query interface {
Evaluate(geoData segment.GeoShapeV2Data) *util.Bitset
InnerCells() []uint64
CrossCells() []uint64
}
func NewContainsQuery ¶
func NewDisjointQuery ¶
func NewIntersectsQuery ¶
func NewWithinQuery ¶
Click to show internal directories.
Click to hide internal directories.