… | |
… | |
118 | my ($self) = @_; |
118 | my ($self) = @_; |
119 | |
119 | |
120 | cdb_free $self->[1]; |
120 | cdb_free $self->[1]; |
121 | } |
121 | } |
122 | |
122 | |
123 | =item $res = $lookup->lookup ($lat $lon[, $radius]) |
123 | =item $res = $lookup->lookup ($lat, $lon[, $radius]) |
124 | |
124 | |
125 | Looks up the point in the database that is "nearest" to C<$lat, $lon>, |
125 | Looks up the point in the database that is "nearest" to C<$lat, $lon>, |
126 | search at leats up to C<$radius> kilometres. The default for C<$radius> is |
126 | search at leats up to C<$radius> kilometres. The default for C<$radius> is |
127 | the cell size the database is built with, and this usually works best, so |
127 | the cell size the database is built with, and this usually works best, so |
128 | you usually do not specify this parameter. |
128 | you usually do not specify this parameter. |