Lista de todos los nombres de calles y carreteras en Google en API

Am doing a location based app.When using GPS, it provides with street names from Google API. When user need to enter it manually, for a autocomplete text view am in need of names of all street and roads in Google API. Where could i get all street and roads name which google API provides when using GPS? I ve searched everywhere but in vain :( Thanks in advance.

preguntado el 12 de junio de 12 a las 14:06

3 Respuestas

As far as I can find, Google does not provide a database of street names for public download, but this site does: Abrir Mapa de calles

These databases are available for free download. They contain geographical information about the whole planet. I hope you find them useful.

Respondido el 12 de junio de 12 a las 16:06

The Google Places API suggests search results for city/street names etc. which you can use for an AutoCompleteTextView.

Here is a running Demostración de JS for testing the results.

Because your using Maps API V3, here is the reference to google.maps.places.Autocompletar

Aquí you can find an API for Android.

Respondido 21 Abr '14, 17:04

Thanks above :) Actually I found an another way too.. the names of the streets and roads in xml returned by google api are marked as "route".. so I parsed the xml having type="route" to get only road and street names!!

Respondido el 17 de junio de 12 a las 01:06

please provide an example. - Veaceslav Gaidarji

Please explain how you did it! - Alexandr

Google API [documentation] (developers.google.com/places/web-service/supported_types) menciona que ruta cannot be used in the request. It states this: Note: The types below are not supported in the type filter of a place search, or in the types property when adding a place. - sridharraman

No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas or haz tu propia pregunta.