code now based on rgeo requiring postgres9