...

View Full Version : Haversine formula?



bazz
11-20-2009, 07:21 AM
Hi,

Has anyone used the haversine formula and would have a script I could use?

I have it in js but I can't seem to find it in perl and I'm in a rush to use it.

Not the work offers.... forum, I know but; if you need payment I can do paypal or cheque(UK).

If you have any pointers to where I might find it, that would be greatfully welcomed too.

bazz

bazz
11-20-2009, 01:10 PM
Just found a cpan module which seems like it may be simpler to use even than the js.


bazz

oesxyl
11-20-2009, 01:24 PM
Just found a cpan module which seems like it may be simpler to use even than the js.


bazz
this one?

http://search.cpan.org/~bluefeet/Geo-Distance-0.16/lib/Geo/Distance.pm

best regards

bazz
11-20-2009, 01:37 PM
nope, it was this one :)

http://search.cpan.org/~bluefeet/GIS-Distance-0.01001/lib/GIS/Distance.pm

I'll check out your suggestion, because currently, I know nothing about it. I probably don't even have it installed on the server :rolleyes:

bazz

bazz
11-20-2009, 01:40 PM
Just read this at your link oesxyl, which may be a new addition.



DECOMMISSIONED ^

The GIS::Distance module is being worked on as a replacement for this module. In the near future Geo::Distance will become a lightweight wrapper around GIS::Distance so that legacy code benefits from fixes to GIS::Distance through the old Geo::Distance API. For any new developement I suggest that you look in to GIS::Distance.


bazz



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum