starte implememnting postgis in views