NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum

Hola! Abro esta inquietud debido a que cuando busco una dirección dentro del mapa me aparecen resultados de otros paises, o simplemente no aparece. Por ejemplo: situo el mapa en Santiago, Chile, y busco la calle San Pablo 8444. Me salen diversos resultados, pero ningúno, es donde realmente está (lo marque en azul el lugar aprox.). alt text

Esto me parece preocupante a la hora de difundir la la utilización de OSM, ya que la gente usa los mapas para realizar busquedas, y si estas son deficientes y erroneas, terminará usando otros mapas como el de la gran G.

¿A que se debe esto?, ¿Cómo se puede solucionar? Muchas Gracias!

This question is marked "community wiki".

asked 12 Mar '14, 16:59

Chilestreet's gravatar image

Chilestreet
11223
accept rate: 0%

edited 12 Mar '14, 17:59

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

alguna forma de poder mejorar este sistema de busqueda??

(13 Mar '14, 18:57) Chilestreet

Es muy sencillo, el motor de busqueda de Openstretmap (se llama Nominatim) no reconoce la coordenadas de la porcion del mapa que estas viendo (en otras palabras, no limita la busqueda dentro de lo que ves en tu pantalla). Para buscar un objeto dentro de los limites administrativos de una ciudad o region que quieras, tienes que escribir el nombre de la ciudad/region despues de una coma, algo como "San Pablo, Santiago de Chile" (sin comillas).

Alecs

permanent link

answered 12 Mar '14, 20:01

Alecs01's gravatar image

Alecs01
1.4k1323
accept rate: 25%

re. "no reconoce la coordenadas de la porcion del mapa que estas viendo": In fact Nominatim seems to have a parameter viewbox which is described with "The preferred area to find search results". Apparently* it is not used (and also not used optionally – "prefer results in current view") for the search on www.OSM.org, yes.

* maybe it is used: the URL parameters minlat/.../max/lon are used for the search request to /geocoder/search_osm_nominatim. Maybe they are converted to "viewbox" internally. If it is used then maybe bug 4405 causes other results to be displayed, too. Since I do not know if Nominatim understands a search for just a street name.

(12 Mar '14, 20:37) aseerel4c26 ♦

Must admit I never noticed before, thanks for the info. So this should be for example what determines the order in which results are listed (from nearest to farthest, starting from bounding box center)?

(12 Mar '14, 21:01) Alecs01

I know nothing more than what is written in the docu and what I see in my Firefox network console (HTTP GET requests) — I am really not a Nominatim expert. Yes, apparently this parameter would do what Chilestreet asks for. But I do not know if it works (bugs?) and if I understood correctly. By the way, sorry, I cannot write in Spanish, just read a bit.

(12 Mar '14, 21:42) aseerel4c26 ♦
2

The viewport is taken into account but it only works as a hint that search results in the viewport should be preferred. Results outside the box will still be taken into account. In the case of 'San Pablo' Nominatim makes a bad decision about what is more important. Bug report filed.

(13 Mar '14, 08:38) lonvia

Para las búsquedas en el portal OSM utiliza el servicio Nominatim y luego GeoName. Por ahora, no es posible situarse en un lugar del mapa y esperar que busque en ésa área. También existe la posibilidad que la numeración de calles no esté bien editado en OSM (se llama interpolación de direcciones).

Nominatim no es tan inteligente, debes decirle «en su lenguaje» que deseas buscar. La forma más sencilla es utilizar el caracter «coma» (,) entre cada argumento de la búsqueda. Por ejemplo: 8444, San Pablo, Santiago, Chile... así de esta forma ayudarás a Nominatim a optimizar la búsqueda y entregarte más rápido el resultado (si lo encuentra).

permanent link

answered 12 Mar '14, 20:15

5m4u9's gravatar image

5m4u9
156338
accept rate: 16%

Tú no puedes encontrar "San Pablo 8444" porque la calle se llama Avenida San Pablo, donde es el número de la casa, el motor de búsqueda requiere el nombre de la calle para encontrarlo, con "Av San Pablo 8444" funciona perfectamente.

En cualquier caso, los resultados de la vista actual deben funcionar mucho mejor ahora. Al menos que des otra calle "San Pablo" en Santiago y no en cualquier otra parte del mundo.


English original text:

You could not find 'San Pablo 8444' because the street is called Avenida San Pablo where the house number is and the search engine wants the street name to match fully. 'av San Pablo 8444' works perfectly fine.

In any case, preferring results in the current map view should work better now as well. So it will at least give you another 'San Pablo' street in Santiago and not somewhere else in the world.

permanent link
This answer is marked "community wiki".

answered 13 Mar '14, 20:28

lonvia's gravatar image

lonvia
6.2k25789
accept rate: 40%

edited 13 Mar '14, 23:58

aseerel4c26's gravatar image

aseerel4c26 ♦
32.6k18248554

estimados estoy desarrollando una aplicacion en flutte y nesecito buscar las calles con el api de open street map o algo que me debuelva las calles se se van dijitando como lo hace uber se los agradeceria

permanent link

answered 27 Dec '23, 23:54

DonMassa's gravatar image

DonMassa
111
accept rate: 0%

Your answer
toggle preview

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Markdown Basics

  • *italic* or _italic_
  • **bold** or __bold__
  • link:[text](http://url.com/ "title")
  • image?![alt text](/path/img.jpg "title")
  • numbered list: 1. Foo 2. Bar
  • to add a line break simply add two spaces to where you would like the new line to be.
  • basic HTML tags are also supported

Question tags:

×84
×81
×5
×4
×1

question asked: 12 Mar '14, 16:59

question was seen: 8,574 times

last updated: 27 Dec '23, 23:54

NOTICE: help.openstreetmap.org is no longer in use from 1st March 2024. Please use the OpenStreetMap Community Forum