first spatial query working