A PHP class to geocode addresses or reverse geocode latitudes and longitudes in a very easy way
PHP
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
.gitignore
README.markdown
examples.php
geocoding.php

README.markdown

Google Geocoding Class

What

Geocoding is the process of converting addresses (like "1600 Amphitheatre Parkway, Mountain View, CA") into geographic coordinates (like latitude 37.423021 and longitude -122.083739), which you can use to place markers or position the map. The Google Maps API Geocoding Service provides a direct way to access a geocoder via an HTTP request.

This class can be used to geocode addresses or reverse geocode latitudes and longitudes in a very easy way.

Documentation

The class is well documented inline. If you use a decent IDE you'll see that each method is documented with PHPDoc.

Changelog

  • version 1.1 - 21 February 2010
    • uses XML instead of JSON
    • full support for UTF-8
    • small improvements
  • version 1.0
    • first version!