… | |
… | |
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 least 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. |
129 | |
129 | |
130 | If something is found, the associated data blob (always a binary string) |
130 | If something is found, the associated data blob (always a binary string) |
131 | is returned, otherwise you receive C<undef>. |
131 | is returned, otherwise you receive C<undef>. |