title: Google Places Autocomplete returns place_id linked to erroneous place
body: <p><a href="https://maps.googleapis.com/maps/api/place/autocomplete/json?language=fr&amp;input=5+avenue+de+l%27union+p&amp;radius=50000&amp;location=48.2%2C2.3" rel="nofollow noreferrer">https://maps.googleapis.com/maps/api/place/autocomplete/json?language=fr&amp;input=5+avenue+de+l%27union+p&amp;radius=50000&amp;location=48.2%2C2.3</a></p>
  
  <p>This call returns among others:
  </p>
  
  <pre><code>{
      'description': u "5 Avenue de l'Union, Paray-Vieille-Poste, France",
      'place_id': 'EjA1IEF2ZW51ZSBkZSBsJ1VuaW9uLCBQYXJheS1WaWVpbGxlLVBvc3RlLCBGcmFuY2U',
      'id': '0762652b32b4b27a6be6c89d706c1e1279073e9f',
  ...
  }
  </code></pre>
  
  
  
  <p>Then, when requesting the place details</p>
  
  <p><a href="https://maps.googleapis.com/maps/api/place/details/json?placeid=EjA1IEF2ZW51ZSBkZSBsJ1VuaW9uLCBQYXJheS1WaWVpbGxlLVBvc3RlLCBGcmFuY2U" rel="nofollow noreferrer">https://maps.googleapis.com/maps/api/place/details/json?placeid=EjA1IEF2ZW51ZSBkZSBsJ1VuaW9uLCBQYXJheS1WaWVpbGxlLVBvc3RlLCBGcmFuY2U</a></p>
  
  <p>It returns a 
  place which is not the one expected. Apparently a confusion with a the same street name in another city ("Juvisy" vs "Paray-Vieille-Poste") :</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code> {
       'status': 'OK',
       'html_attributions': [],
       'result': {
           'utc_offset': 60,
           'name': u "5 Avenue de l'Union",
           'reference': 'CpQBkAAAAKfctAfslcVNWK_kGk6gzecawbnBT8JD5Tchnyheh0SyULvlV6XlyZpjkExmykkL3_2lvm5ZoHRAxqO7GPra2vt11osAzE2RJdcT7Fc7c069IpHgvsdJpmNvWb3FjMIrn092DmQj-GKlfAmA9pvvAw6zyKJfd1XQFK88Kl09CULdpxM9vMb-AIfHhGwUe6KP7RIQ2r3XA3Xjax5iCDWbuiZqNBoUqy-PYeUYY9xA_I65wZjdQLQXsVE',
           'geometry': {
               'location': {
                   'lat': 48.69058269999999,
                   'lng': 2.3692054
               },
               'viewport': {
                   'northeast': {
                       'lat': 48.6919374802915,
                       'lng': 2.370557630291501
                   },
                   'southwest': {
                       'lat': 48.6892395197085,
                       'lng': 2.367859669708498
                   }
               }
           },
           'adr_address': '&lt;span class="street-address"&gt;5 Avenue de l&amp;#39;Union&lt;/span&gt;, &lt;span class="postal-code"&gt;91260&lt;/span&gt; &lt;span class="locality"&gt;Juvisy-sur-Orge&lt;/span&gt;, &lt;span class="country-name"&gt;France&lt;/span&gt;',
           'place_id': 'EjI1IEF2ZW51ZSBkZSBsJ1VuaW9uLCA5MTI2MCBKdXZpc3ktc3VyLU9yZ2UsIEZyYW5jZQ',
           'vicinity': 'Juvisy-sur-Orge',
           'url': 'https://maps.google.com/?q=5+Avenue+de+l%27Union,+91260+Juvisy-sur-Orge,+France&amp;ftid=0x47e5df5943bfe633:0x24dc923a0494f142',
           'scope': 'GOOGLE',
           'address_components': [{
               'long_name': '5',
               'types': ['street_number'],
               'short_name': '5'
           }, {
               'long_name': u "Avenue de l'Union",
               'types': ['route'],
               'short_name': u "Avenue de l'Union"
           }, {
               'long_name': 'Juvisy-sur-Orge',
               'types': ['locality', 'political'],
               'short_name': 'Juvisy-sur-Orge'
           }, {
               'long_name': 'Essonne',
               'types': ['administrative_area_level_2', 'political'],
               'short_name': 'Essonne'
           }, {
               'long_name': '\xcele-de-France',
               'types': ['administrative_area_level_1', 'political'],
               'short_name': '\xcele-de-France'
           }, {
               'long_name': 'France',
               'types': ['country', 'political'],
               'short_name': 'FR'
           }, {
               'long_name': '91260',
               'types': ['postal_code'],
               'short_name': '91260'
           }],
           'formatted_address': u "5 Avenue de l'Union, 91260 Juvisy-sur-Orge, France",
           'id': 'f63ea1e7a3679ec740d0041fa0166161493ace38',
           'types': ['street_address'],
           'icon': 'https://maps.gstatic.com/mapfiles/place_api/icons/geocode-71.png'
       }
   }</code></pre>
  </div>
  </div>
  </p>