Kdtree subset query

@rgommers 
#4260 was merged despite not having any commits inside... So I am reissuing a PR

Can you make this a reST list? So blank line above and ``-`` before each list item.