the store to index. May be an in memory or disk
the projection of the data, defaults to S2
Insert a point3D and its corresponding data to the index
the point to be indexed
Insert an STPoint to the index
the face of the cell
the s coordinate
the t coordinate
the data associated with the point
Insert a cell with the point and its corresponding data to the index
the cell id to be indexed
the point to be indexed
Add a lon-lat pair to the cluster
lon-lat vector point in degrees
Add all points from a reader. It will try to use the M-value first, but if it doesn't exist it will use the feature properties data
a reader containing the input data
Find the starting index of a search
input id to seek the starting index of the search
the starting index
TODO: Adjust the radius for the WM projection. Really not a massive issue thogh just adjust your calcuation for now Search for points within a given radius of a target point
the point to search
the search radius
the maximum number of results
the points within the radius
Search for points given a range of low and high ids
the lower bound. If high is not provided, the low-high range will be created from the low
Optional
high: bigintthe upper bound
the maximum number of results to return
the points in the range
Set the index store to a defined one. Useful for file based stores where we want to reuse data
the index store
Sort the index in place if unsorted
Point Index
Description
An index of cells with radius queries Assumes the data is compatible with https://open-s2.github.io/s2json/types/Properties.html
Usage