You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
While trying to geolocate adresses in a street upon a city I found that pelias is unable to correctly locate the correct address if I give to it the city name.
The address is as follow:
Beco João de Deus, Itacolomi, Gravatai, RS, Brasil
Beco João de Deus is the street.
Itacolomi is the district.
Gravatai is the city.
RS is the state.
Brasil is the country.
Itacolomi is contained inside Gravatai as its a district inside the city but it seems that pelias isn't taking the fact Gravatai is the city into account on its query as if I type:
Beco João de Deus, Itacolomi, Gravataí, RS, Brasil
Beco João de Deus, Gravataí, RS, Brasil
I don't get the street but if I remove "Gravataí":
Beco João de Deus, Itacolomi, RS, Brasil
I do get it.
Describe the bug
While trying to geolocate adresses in a street upon a city I found that pelias is unable to correctly locate the correct address if I give to it the city name.
The address is as follow:
Beco João de Deus, Itacolomi, Gravatai, RS, Brasil
Beco João de Deus is the street.
Itacolomi is the district.
Gravatai is the city.
RS is the state.
Brasil is the country.
Itacolomi is contained inside Gravatai as its a district inside the city but it seems that pelias isn't taking the fact Gravatai is the city into account on its query as if I type:
Beco João de Deus, Itacolomi, Gravataí, RS, Brasil
Beco João de Deus, Gravataí, RS, Brasil
I don't get the street but if I remove "Gravataí":
Beco João de Deus, Itacolomi, RS, Brasil
I do get it.
Steps to Reproduce
Query the API according the following urls:
https://pelias.github.io/compare/#/v1/search?lang=pt-br&layers=venue%2Cstreet&text=Beco+Jo%C3%A3o+de+Deus%2C+Itacolomi%2C+Gravatai%2C+RS%2C+Brasil
https://pelias.github.io/compare/#/v1/search?lang=pt-br&layers=venue%2Cstreet&text=Beco+Jo%C3%A3o+de+Deus%2C+Gravatai%2C+RS%2C+Brasil
It's expected to get the street to show, but all it shows is the city, instead it's only found on the following query:
https://pelias.github.io/compare/#/v1/search?lang=pt-br&layers=venue%2Cstreet&text=Beco+Jo%C3%A3o+de+Deus%2C+Itacolomi%2C+RS%2C+Brasil
Expected behavior
All of the querys above should be able to find the correct street.
Environment (please complete the following information):
Reproducible on https://pelias.github.io
Pastebin/Screenshots
Screenshots
The text was updated successfully, but these errors were encountered: