added proper support to retrieve and use view_rowid for SpatialIndex and (SpatialView) read_only.