NAME
Geo::Coder::Canada::Response - Perl extension which contains the geocoder.ca response values.
SYNOPSIS
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;
DESCRIPTION
This object contains the values returned by Geo::Coder::Canada as received from geocoder.ca
ATTRIBUTES
- latt()
-
The latitude. A decimal number.
- long()
-
The longitude. A decimal number.
- id()
-
The Transaction ID. If you supplied one before within the request phase.
- addresst()
-
The name of the street address
- city()
-
The city of the result.
- prov()
-
The province.
- postal()
-
The postal code.
- stnumber()
-
The street number.
- staddress()
-
The street address.
- distance()
-
The distance of the rsult location from the input location.
AUTHOR
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.
SEE ALSO
Geo::Coder::Canada
2 POD Errors
The following errors were encountered while parsing the POD:
- Around line 105:
'=item' outside of any '=over'
- Around line 145:
You forgot a '=back' before '=head1'