add spatial queries.