within query complete; TODO: check results of within, nearest-neighbor query