Geo::Coder::Many::Mapquest - Mapquest plugin Geo::Coder::Many
Version 0.02
This module adds Mapquest support to Geo::Coder::Many.
Use as follows:
use Geo::Coder::Many; use Geo::Coder::Mapquest; my $options = { }; my $geocoder_many = Geo::Coder::Many->new( $options ); my $MQ = Geo::Coder::Mapquest->new(apikey => 'Your API key'); my $options = { geocoder => $MQ, }; $geocoder_many->add_geocoder( $options ); my $location = $geocoder_many->geocode( { location => '82 Clerkenwell Road, London, EC1M 5RF' } );
please see http://search.cpan.org/dist/Geo-Coder-Mapquest/ and http://developer.mapquest.com/web/products/dev-services/geocoding-ws
This is called by Geo::Coder::Many - it sends the geocoding request (via Geo::Coder::Mapquest) and extracts the resulting location, returning it in a standard Geo::Coder::Many::Response.
NOTE: currently precision is hard coded to undef! We need to fix it to interpret the code returned by mapquest and assigning a meaningful precision
Returns the name of the geocoder type - used by Geo::Coder::Many
To install Geo::Coder::Many, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::Coder::Many
CPAN shell
perl -MCPAN -e shell install Geo::Coder::Many
For more information on module installation, please visit the detailed CPAN module installation guide.