Support for queries against spatial views