Subject: | meters or kilometers in Geo::Coordinates::RDNAP ? |
Date: | Tue, 31 Jul 2007 16:22:24 +0200 |
To: | bug-Geo-Coordinates-RDNAP [...] rt.cpan.org |
From: | Paul B van den Berg <p.b.van.den.berg [...] rug.nl> |
From synopsis:
my ($lat, $lon, $h) = from_rd( 150, 480, -2.75 );
but
$ perl -e "use Geo::Coordinates::RDNAP qw/from_rd/; print from_rd(150,480);"
produces:
Geo::Coordinates::RDNAP::from_rd: Y out of bounds: 480 at -e line 1
In the description of from_rd(...) you write:
This should only be used for points in or close to the Netherlands. For this
area, X should roughly be between 0 and 300_000, and Y between 300_000
and 650_000.
I think 300_000 should be 300000, and 650_000 should be 650000.
Regards, Paulb