Support for geospatial queries within polygons