finished moving to postgis