Skip Menu |

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

Report information
The Basics
Id: 73479
Status: resolved
Priority: 0/
Queue: Geo-Coder-Cloudmade

People
Owner: Nobody in particular
Requestors: SREZIC [...] cpan.org
Cc:
AdminCc:

Bug Information
Severity: Critical
Broken in: 0.2
Fixed in: (no value)



Subject: Longitude and latitude always the same in result
The following line in the geocode() method looks wrong: lat => $point->{centroid}->{coordinates}->[0], long => $point->{centroid}->{coordinates}->[0], that way latitude and longitude are always the same. Probably one of both should use the 2nd element (...->[1]). Regards, Slaven
This is fixed in the 0.3 release - apologies for the looong delay :(. On Sun Dec 25 15:45:53 2011, SREZIC wrote: Show quoted text
> The following line in the geocode() method looks wrong: > > lat => $point->{centroid}->{coordinates}->[0], > long => $point->{centroid}->{coordinates}->[0], > > that way latitude and longitude are always the same. Probably one of > both should use the 2nd element (...->[1]). > > Regards, > Slaven