materialized views from the spatial database. related to #52