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 postal code.
The street number.
The street address.
The distance of the rsult location from the input location.
Jeff Anderson <email@example.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.