Geo::Coder::Abbreviations - Quick and Dirty Interface to https://github.com/mapbox/geocoder-abbreviations
Version 0.06
Provides an interface to https://github.com/mapbox/geocoder-abbreviations. One small function for now, I'll add others later.
Creates a Geo::Coder::Abbreviations object. It takes no arguments. If you have HTTP::Cache::Transparent installed it will load much faster, otherwise it will download the database from the Internet when the class is first instantiated.
Abbreviate a place.
use Geo::Coder::Abbreviations; my $abbr = Geo::Coder::Abbreviations->new(); print $abbr->abbreviate('Road'), "\n"; # prints 'RD' print $abbr->abbreviate('RD'), "\n"; # prints 'RD'
https://github.com/mapbox/geocoder-abbreviations HTTP::Cache::Transparent https://www.mapbox.com/
Nigel Horne, <njh at bandsman.co.uk>
<njh at bandsman.co.uk>
You may need to ensure you don't translate "Cross Street" to "X ST". See t/abbreviations.t.
You can find documentation for this module with the perldoc command.
perldoc Geo::Coder::Abbreviations
You can also look for information at:
RT: CPAN's request tracker
http://rt.cpan.org/NoAuth/Bugs.html?Dist=Geo-Coder-Abbreviations
Search CPAN
http://search.cpan.org/dist/Geo-Coder-Abbreviations/
Copyright 2020-2023 Nigel Horne.
This program is released under the following licence: GPL2
To install Geo::Coder::Abbreviations, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::Coder::Abbreviations
CPAN shell
perl -MCPAN -e shell install Geo::Coder::Abbreviations
For more information on module installation, please visit the detailed CPAN module installation guide.