0

confusion with YQL Result

Hi,

today I have my first steps with geoPlanet / YQL and I'm surprise about the performance!

So, I try to find a view cities in Germany with geoPlanet and YQL. Usually the result was as expected.

But when I try 'Holzhau', I get a empty result. (select * from geo.places where text = 'Holzhau')

When I try 'Holzha', I get 8 entries, and the first is Holzhau with woeid = 661885. I search it in geoPlanet (http://where.yahooapis.com/v1/places.woeid(661885);count=0?appid=app-id) ... one result - as expected ????

Why my first query is empty?

Thanks for Help

Dirk

by
2 Replies
  • QUOTE (Dirk Mueller @ Sep 21 2010, 07:03 AM) <{POST_SNAPBACK}>
    Hi,

    today I have my first steps with geoPlanet / YQL and I'm surprise about the performance!

    So, I try to find a view cities in Germany with geoPlanet and YQL. Usually the result was as expected.

    But when I try 'Holzhau', I get a empty result. (select * from geo.places where text = 'Holzhau')

    When I try 'Holzha', I get 8 entries, and the first is Holzhau with woeid = 661885. I search it in geoPlanet (http://where.yahooapis.com/v1/places.woeid(661885);count=0?appid=app-id) ... one result - as expected ????

    Why my first query is empty?

    Thanks for Help

    Dirk


    This appears to be a location probability error. GeoPlanet does not return places that have a very low location probability, which is the case for Holzhau. The probability that Holzhau refers to a place should be much higher, allowing it to be returned. We will investigate and correct this. As a workaround you can add more information to your query, such as the state or country name or code. The following query will return the desired results in YQL: select * from geo.places where text = 'Holzhau DE'.

    Eddie Babcock
    Yahoo! Geo Technology
    0
  • QUOTE (Eddie B @ Sep 21 2010, 03:56 PM) <{POST_SNAPBACK}>
    This appears to be a location probability error. GeoPlanet does not return places that have a very low location probability, which is the case for Holzhau. The probability that Holzhau refers to a place should be much higher, allowing it to be returned. We will investigate and correct this. As a workaround you can add more information to your query, such as the state or country name or code. The following query will return the desired results in YQL: select * from geo.places where text = 'Holzhau DE'.

    Eddie Babcock
    Yahoo! Geo Technology


    thanks for the reply - your workaround works fine for me!
    0
This forum is locked.

Recent Posts

in GeoPlanet General Discussion