willdurand/Geocoder — pull request #154 by toin0u (2012-11-15 23:54:00+00:00)
Title: Removed not reliable place_rank and limit result to one + test - fix #12...

...9

Search for `paris`.

Before:
```
Geocoder\Result\Geocoded::__set_state(array(
'latitude' => 36.1120019,
'longitude' => -115.1726609,
'bounds' =>
array (
'south' => 36.111999511719,
'west' => -115.17266845703,
'north' => 36.112003326416,
'east' => -115.17266082764,
),
'streetNumber' => NULL,
'streetName' => 'Las Vegas Boulevard',
'cityDistrict' => 'Hughes Center',
'city' => 'Las Vegas',
'zipcode' => '89169',
'county' => 'Clark',
'region' => 'Nevada',
'regionCode' => NULL,
'country' => 'United States Of America',
'countryCode' => 'us',
'timezone' => NULL,
))
```

After:
```
Geocoder\Result\Geocoded::__set_state(array(
'latitude' => 48.8588408,
'longitude' => 2.320034655299,
'bounds' =>
array (
'south' => 48.815525054932,
'west' => 2.2241218090057,
'north' => 48.902156829834,
'east' => 2.4697604179382,
),
'streetNumber' => NULL,
'streetName' => NULL,
'cityDistrict' => NULL,
'city' => NULL,
'zipcode' => NULL,
'county' => 'Paris',
'region' => 'Île-De-France',
'regionCode' => NULL,
'country' => 'France',
'countryCode' => 'FR',
'timezone' => NULL,
))
```