From: Andre Lewis Date: 2008-01-17T04:26:18+09:00 Subject: Re: spatial search & search radius circumference with Geokit Xin Zheng wrote: > Are you using the same algorithm? Since we don't have to plot points, we don't use this algorithm. We use the Haversine formula in SQL to select all the points inside a circle. > > Are you using the same circumference? We define constants in mappable.rb for Earth's radius, etc -- you can use those to be in sync with GeoKit. Andre -- Posted via http://www.ruby-forum.com/.