4 ms·
e.g. I fondly recall the use of the 'Haversine formula' (calc. distance on a sphere with given lat, lng) built in SQL, instead of using one of the available Geo
by christofd 17y ago
e.g. I fondly recall the use of the 'Haversine formula' (calc. distance on a sphere with given lat, lng) built in SQL, instead of using one of the available Geo ruby libraries/ gems (although I'm not sure, if those gems were available back in 07).
- mhartl 17y agoDude, I would totally use a library today! But it was fun busting out a little spherical trigonometry for a Rails book. :-)