Geo::Coder::Canada::Response - Perl extension which contains the geocoder.ca response values.


Geo-Coder-Canada documentation  | view source Contained in the Geo-Coder-Canada distribution.

Index


SYNOPSIS

Top

  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

Top

This object contains the values returned by Geo::Coder::Canada as received from geocoder.ca

ATTRIBUTES

Top

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.

AUTHOR

Top

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

Top

Geo::Coder::Canada


Geo-Coder-Canada documentation  | view source Contained in the Geo-Coder-Canada distribution.