Need the coordinates of a location anywhere on Earth? Or how about the place name of any coordinates you provide? The Yahoo PlaceFinder datasource provides a familiar CakePhp interface for interacting with the Yahoo API.
Typical usage looks like this:
$results = $this->Location->find('all', array(
'conditions' => array(
'location' => $this->request->data['Location']['location'],
'flags' => 'JE',
'gflags' => 'ACR',
)
));
It’s worth checking out Yahoo’s docs for the various request parameters.
The first version is over on GitHub! Get it here.