News Feed
Sections
News Archive


Community Events
php|tek 2008 PHP Conference



feed this:

PHPRiot.com:
Geocoding with PHP and the Google Maps API
0 comments :: posted Monday February 11, 2008 @ 08:06:29
voice your opinion now!

New from PHPRiot today, there's this new tutorial showing you how to combine a PHP interface with the Google Maps API to do some geocoding of your own.

Geocoding is the process of finding the longitude and latitude of a given address or location. The Google Maps service gives developers and web site owners free access to their geocoder, both using the Google Maps JavaScript API, as well as using the web service. In this article I will show you how to access the geocoder web service using PHP so that it can be used in your own applications.

The tutorial walks you through every step of the way - from getting your Google API ID to making a simple request all the way out to using placemarks to store locations to fetch later on.

This is a great, very detailed summary that anyone wanting to work with the Google API in PHP should definitely check out.

tagged with: tutorial google map api geocode placemark point


The OC Food Review Blog:
Notes on implementing location based search (part 1 of 2)
0 comments :: posted Thursday June 29, 2006 @ 12:27:26
voice your opinion now!

The OC Food Review blog has posted part one of a two part series covering the creation of a location-based search engine. They're currently implementing it into their site and wanted to share the knowledge.

Conceptually, location based searching is pretty straight-forward: find out where you are, find out how far you're willing to travel, and compare your location against the locations of all your choices. If the distance between where you are and what you're interested in is less than what you're willing to travel, add it to your results list. Simple, right? Right.

He talks more about the concepts behind the search and one of the keys to the entire process - geocoding. They opted to go with the Yahoo! Maps API to grab this information. There's some sample REST urls and the output of the results after they've been unserialized.

They've even created their own class to make things even simpler. It does require that you have cURL installed with your PHP5 installation, but outside of that, there are no other dependencies.

tagged with: location-based search geocode yahoo maps implementation class curl location-based search geocode yahoo maps implementation class curl


release conference releases application zendframework PHP5 PEAR database code book mysql framework package pecl cakephp security job zend developer ajax

All content copyright, 2008 PHPDeveloper.org :: info@phpdeveloper.org - Powered by the Solar PHP Framework