0

how to get near places

I want to get near places from given coordinates (latitude and longitude). I use a "geo.states" from get all states from countries... I stored in database the WOEID of each state. Now... I want to get near places from given coordinates (latitude and longitude) and distance range... later I need obtain of this near places the WOEID... to make later my query in my app (php webpage).

Anybody help me to do this please ?

Thanks.

3 Replies
  • QUOTE (Javier Francisco @ May 30 2011, 09:13 PM) <{POST_SNAPBACK}>
    I want to get near places from given coordinates (latitude and longitude). I use a "geo.states" from get all states from countries... I stored in database the WOEID of each state. Now... I want to get near places from given coordinates (latitude and longitude) and distance range... later I need obtain of this near places the WOEID... to make later my query in my app (php webpage).

    Anybody help me to do this please ?

    Thanks.


    GeoPlanet was not designed to answer questions such as you want (what places are within a given distance of a point). GeoPlanet can answer questions about the nearest places to a point or place. Perhaps if you rethought your use case, you could make better use of GeoPlanet's capabilities.

    Eddie Babcock
    Yahoo! Geo Technologies
    0
  • Hi.
    Can you take me a hand with this ?
    I try to explain here the application.

    Is a website, this website, and in this website... everybody can publish ads, with price, descriptions... etc... and... additionally... "location", Country and City (or State).
    Well... When the user search for and ad... he can select location too... for example. He select "United States"... and select too Washington D.C, and enter too a near distance "100 miles".

    My idea are... stored in database WOEID of the countries (from yahoo api with yql) and store the state with woeid) later I try to recover with the api the near places of the selected state (with woeid) and get of every near place the WOEID too... and make later my query in my dtabase to get the "ads".
    0
  • I stored latitude and logitude or each place too.
    I hope you can help me.
    Thanks.
    0
This forum is locked.

Recent Posts

in GeoPlanet General Discussion