[Proj] proj4 string for perfect sphere
thatsanicehatyouhave at me.com
Fri Apr 13 20:24:11 EST 2012
Quick update. Once I recognized 6371000 as the radius of the Earth in meters, I created my own SRID with these parameters (r = 1 radian as degrees):
"+proj=longlat +a=57.2957795 +b=57.2957795 +no_defs"
This worked perfectly:
> SELECT GreatCircleLength(GeomFromText('LINESTRING(2.47254166667 25.9237777778, 2.77729166667 -12.1073136111)',50000));
The correct answer! I would still appreciate your thoughts/advice on what I'm trying to do more generally.
More information about the Proj