Geo::Coder::Canada::Response - Perl extension which contains the geocoder.ca response values.
use Geo::Coder::Canada; my $g = Geo::Coder::Canada->new; $g->latt(45.44); $g->long(-75.7); # Get the Geo::Coder::Canada::Response object... my $response = $g->reverse_coder; my $street = $response->staddress; my $city = $response->city;
This object contains the values returned by Geo::Coder::Canada as received from geocoder.ca
The latitude. A decimal number.
The longitude. A decimal number.
The Transaction ID. If you supplied one before within the request phase.
The name of the street address
The city of the result.
The province.
The postal code.
The street number.
The street address.
The distance of the rsult location from the input location.
Jeff Anderson <jeff@pvrcanada.com>
Copyright (c) 2006 Jeff Anderson. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.
Please see geocoder.ca for more information on the Canadian geocoder API and contact information for commercial applications.
Geo::Coder::Canada
2 POD Errors
The following errors were encountered while parsing the POD:
'=item' outside of any '=over'
You forgot a '=back' before '=head1'
To install Geo::Coder::Canada, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Geo::Coder::Canada
CPAN shell
perl -MCPAN -e shell install Geo::Coder::Canada
For more information on module installation, please visit the detailed CPAN module installation guide.