Skip Menu |

This queue is for tickets about the Geography-NationalGrid CPAN distribution.

Report information
The Basics
Id: 11167
Status: new
Priority: 0/
Queue: Geography-NationalGrid

Owner: Nobody in particular
Requestors: cpan [...]

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

Subject: cant cope with coordinates near to meridians
Download (untitled) / with headers
text/plain 414b
The module currently 'dies' if a lat/long is close to zero (because perl converts it to scientific notion but the script checks it as a string!) - this is a problem when the coordinate is close to the Greenwich meridian in the UK! to Fix, update line 73 of Geography\ to } elsif ($degrees !~ m/^-?[\d\.]+(e-?\d+)?$/) { there is probably a better way to check for a number than using a RegExp

This service is sponsored and maintained by Best Practical Solutions and runs on infrastructure.

Please report any issues with to