in reply to Determine lat/lon of geo location at given distance from other location
Edit: Updated the code to a runable one liner. I couldn't do that before because, boy this module is depency hell. I installed it to a fresh perl and it installed at least a 100 dependent modules or so. Most of which seems to be coming from Moose though. Which is kind of a must have nowadays anyway.holli@HOLLI-DESKTOP:~$ perl -MData::Dumper -MGeo::Calc -e 'print Dumpe +r( Geo::Calc->new( lat => 50.754444, lon => 6.020833 )->destination_p +oint( 90, 75 ) );' $VAR1 = { 'final_bearing' => '90.000823', 'lat' => '50.754444', 'lon' => '6.021896' };
|
|---|