Classification of spatial queries in astronomy:
- Distance based - for given point list all objects within some distance
- K-NN (K closest neighbour pairs) - for given point list top K closest objects
- K-CP (K - closest pairs) - for given set of objects list top K closest pairs