add inputPolygon to query_result