|Ed Freyfogle ecc826374d||2 hours ago|
|address-formatting@c379c9f197||2 hours ago|
|git||1 month ago|
|lib/Geo/Address||2 hours ago|
|t||2 hours ago|
|.gitignore||3 months ago|
|.gitmodules||5 years ago|
|.travis.yml||3 months ago|
|CHANGES||2 hours ago|
|README.md||2 months ago|
|SECURITY.md||5 months ago|
|dist.ini||2 hours ago|
|opencage_logo_300_150.png||1 year ago|
A Perl module to take structured address data and format it according to the various global/country rules.
The module runs against a set of templates and test cases from the address-formatting project.
For docs please see the Geo::Address::Formatter page on search.metacpan.org
To install into your Perl environment you can use the following command:
$ cpan Geo::Address::Formatter
or (recommended) use
The address-formatting repository is added as a git submodule. It is
versioned, that means it won't automatically update when you run
git pull. To point it to a newer version of the configuration run
git submodule init
git submodule update
This will give you the templates as versions with this repository.
To fetch the latest templates available use
git submodule foreach git pull origin master
To submit new countries/territories please see the details in the address-formatting repository, this module just processes the templates
# first install Dist::Zilla dzil clean # running the test-suite dzil test --author # don't forget to increase the version number in dist.ini and CHANGES file dzil build # git push, upload to CPAN dzil release
Copyright OpenCage GmbH [email protected]
This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10 or, at your option, any later version of Perl 5 you may have available.
We also run Geomob, a series of regular meetups for location based service creators, where we do our best to highlight geoinnovation. If you like geo stuff, you will probably enjoy the Geomob podcast.