projection calculation formulas from rgeo