substitute the whole polygon in the query