Hello Andy,
First of all thanks for your quick response.
Actually my requirement is to show the events of near by cities just
by entering the city name.
i.e city name is available from the user.with that city name am tying
to get near by 10 cities and show all events with those cities.
But the service available with geoplugin is to get near by cities with
latitude and longitude.
I wanted to use this web service as it gives nearby cities in XML
format.
If i can get the latitude and longitude with the city name then i can
get the near by cities.
or if u have any suggestions please do post.I have been searching for
this feature from 2 weeks.
Thanks,
Prameela.
On Mar 19, 1:14 pm, geoPlugin Support <
gp_supp...@geoplugin.com>
wrote:
> Hi Pameela,
>
> It's not possible to get nearby cities by city name as this is far too
> vague a search term - latitude/longitude values are unique in a
> geospatial database, whereas city names occur many many times (this is
> a worldwide database).
>
> As to your second point, where do you want to have the lat/long
> returned with a city name? Nearby paces will only return nearby
> places, not the actual place itself for a given lat/long.
> If you want to know what is the populated place for a given latitude/
> longitude, you need to use the "Lat/Long to Place" service:
http://www.geoplugin.com/webservices/extras#latitudelongitude_to_place
>
> If you could give me a more detailed example of what you're trying to
> do maybe I can come up with a better way to approach the problem
>
> Thanks
> Andy
>