Beefy Boxes and Bandwidth Generously Provided by pair Networks
P is for Practical
 
PerlMonks  

Re^2: Helping with CPAN modules

by shemp (Deacon)
on Jun 17, 2005 at 18:06 UTC ( [id://467827]=note: print w/replies, xml ) Need Help??


in reply to Re: Helping with CPAN modules
in thread Helping with CPAN modules

Oh sorry, the module is Geo::Distance

I've kept my work to the closest() method. I have made modifications to get it working properly with DBI. I also added the 'inner radius simplistic calculation' (see the to do list) but there are issues with it. Its not really a radius, but instead its an inscribed square. (The initial test is a circumscribed square). But the inner test cannot be used if you need the actual distances from the centerpoint, which would include sorting the results by distance.

I also added doing both the outer and inner optimizations for arrayref sources, again with the same distance caveat.

I am a mathematician by education, but have no formal training in non-euclidian geometry, so im wary about messing with the various distance calculations at this point.

Replies are listed 'Best First'.
Re^3: Helping with CPAN modules
by davidrw (Prior) on Jun 17, 2005 at 18:49 UTC
    Geo::Distance has a few recent releases, so looks promising for you. The author is actually a monk, too (bluefeet), but unfortunately inactive for a while.. He also has a section on his website for the module here. Best of Luck!

Log In?
Username:
Password:

What's my password?
Create A New User
Domain Nodelet?
Node Status?
node history
Node Type: note [id://467827]
help
Chatterbox?
and the web crawler heard nothing...

How do I use this?Last hourOther CB clients
Other Users?
Others musing on the Monastery: (6)
As of 2024-04-16 19:25 GMT
Sections?
Information?
Find Nodes?
Leftovers?
    Voting Booth?

    No recent polls found