The London Perl and Raku Workshop takes place on 26th Oct 2024. If your company depends on Perl, please consider sponsoring and/or attending.

NAME

Fabnewsru::Geo - Functions for make geocoding

VERSION

version 0.01

SYNOPSIS

    use Fabnewsru::Geo qw(yandex_geocoder);
    my $longlat = yandex_geocoder('Россия, Заречный (Пензенская обл.), ул. Конституции СССР, д.39А'); # '45.16511 53.199109'

METHODS

yandex_geocoder

Make geocoding via Yandex Maps API (get longitude, latitude by specified address)

For documentation take a look at https://tech.yandex.ru/maps/geocoder/

Free limit is 25000 queries per day, if limit was reached there will be HTTP 429 code

Will return string like '45.16511 53.199109', order is longlat (longitude, latitude)

AUTHOR

Pavel Serikov <pavelsr@cpan.org>

COPYRIGHT AND LICENSE

This software is copyright (c) 2016 by Pavel Serikov.

This is free software; you can redistribute it and/or modify it under the same terms as the Perl 5 programming language system itself.