GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
get timezone andElevation  XML
Forum Index -> General
Author Message
basel



Joined: 04/07/2012 00:24:20
Messages: 2
Offline

Hi,

i need to get country Timezone and Elevation in one request , like:
http://api.geonames.org/timezone?lat=xxxxxxx&lng=xxxx>opo30&lat=33.50089&lng=36.24905&username=demo

so, i tried that URL, but sure it's not working.
can i do this thing in one request?

thank you
marc



Joined: 08/12/2005 07:39:47
Messages: 4412
Offline

it needs two requests. there is no way to do it in a single request as there is no service implemented to combine the two.

Marc

[WWW]
basel



Joined: 04/07/2012 00:24:20
Messages: 2
Offline

Thank you very much, but can you told me what is the different between those URL:

api.geonames.org
ws.geonames.org

and thank you again.
marc



Joined: 08/12/2005 07:39:47
Messages: 4412
Offline

api.geonames.org is the correct domain.

ws.geonames.org is an old domain and deprecated.

http://geonames.wordpress.com/2011/01/28/application-identification-for-free-geonames-web-services/

Marc

[WWW]
 
Forum Index -> General
Go to:   
Powered by JForum 2.1.5 © JForum Team