Skip Menu |

This queue is for tickets about the Geo-Calc CPAN distribution.

Report information
The Basics
Id: 89295
Status: new
Priority: 0/
Queue: Geo-Calc

People
Owner: Nobody in particular
Requestors: daviddlowe.flimm [...] gmail.com
Cc:
AdminCc:

Bug Information
Severity: Important
Broken in: 0.12
Fixed in: (no value)



Subject: destination_point_hs isn't correct
Take this code: use strict; use warnings; use Geo::Calc; use Data::Dumper; my $gc = Geo::Calc->new( lat => '51.483435', lon => '-3.213501', units => 'm', ); print Dumper($gc->destination_point_hs(0, 1000)); # 1km north This prints: $VAR1 = { 'lat' => '51.492428', 'lon' => '-0.056086' }; This result is not what I expected. I expected a point roughly 1km north of {lat => '51.483435', lon => '-3.213501'}. The point I got is roughly 244km east of the origin point.