Extension:Google Geocoder

Google Geocoder extension adds parser functions to convert addresses to geographic coordinates using Google's Geocoding service.

This extension was developed by Sergey Chernyshev and sponsored by Semantic Communities, LLC.

Usage
To convert address to a geographic coordinates:

Returns pair of coordinates separated by comma: 55.755786, 37.617633

To get just latitude or longitude, use  or   respecitively.

If result couldn't be found, empty value is returned (so it can be used with #if parser function, for example)

Download from SVN
To get code from Subversion, just type svn checkout http://mediawiki-google-geocoder.googlecode.com/svn/trunk/ GoogleGeocoder

Configuration
To use this extension, you must first sign up for Google Maps Developer Key.

Then add the following to LocalSettings.php:

Where  defines the key you got from Google. If you use other mapping extensions like Google Maps or Semantic Google Maps then you might have this variable already set, there is no need to repeat this declaration then, same value will be used by all extensions.

Contributing
If you would like to contribute patches or found some problems with the code, please send message to the discussion group: http://groups.google.com/group/semacomm-dev

CHANGES

 * 0.2.1 (July 15, 2008) - Added space between comma and longitude to be compatible with Semantic MediaWiki Gographic coordinate format.
 * 0.2 (July 14, 2008) - Now using $wgGoogleMapsKey variable as other mapping extensions
 * 0.1 (July 13, 2008) - Original release

Support
The best way to seek help with this extension is to send you questions to our Google group

http://groups.google.com/group/semacomm-dev

extension maintainer and active users and contributors are on this list and will be able to help you.

Sites using this extension

 * TechPresentations.org
 * Mikomos.com