By default, GeoPlanet returns the most likely place matching a query for the places collection. The probability for a place is based on the frequency that place is mentioned in recent news articles from around the world. You can boost the probability for places within a specific country using the second parameter of the q filter. Add the ISO-3166 alpha-2 country code to the q filter. Since the second parameter is separated from the first parameter by a comma, the first parameter must be enclosed in double quotes if it contains a comma. Note that while probabilities for place in the country may be boosted, some places in other countries may have even higher probabilities and returned instead.
Here is an example request:
http://where.yahooapis.com/v1/places.q(&qu...uot;,fi)?appid=[yourappidgoeshere]
I've confirmed that the place names you mentioned return results in Finland.
Eddie Babcock
Yahoo! Geo Technologies
While looking up Finnish placenames I've encountered a couple of problems. Here are the three finnish towns that I'm having difficulties with:
Eno -> GeoPlanet returns North Carolina
Lemu -> nigeria
Lieto -> the name changes to Liétor, Spain
Is there a way, other than specifying the language, to constrain the results to a specific country?