Get the query polygons from wkt file