GeoNames Home
|
Postal Codes
|
Download / Webservice
|
About
GeoNames Forum
Search
Recent Topics
Back to home page
Register
/
Login
findNearByWeatherJSON and XML
Forum Index
->
General
Author
Message
09/04/2007 13:07:19
Subject:
findNearByWeatherJSON and XML
total
Joined: 07/04/2007 00:50:08
Messages: 7
Offline
Hi,
Are there any hope to make
findNearByWeatherJSON
to return the data also in XML format?
--Timo
09/04/2007 17:07:47
Subject:
Re:findNearByWeatherJSON and XML
marc
Joined: 08/12/2005 07:39:47
Messages: 4501
Offline
Hi Timo
No problem, use the url
findNearByWeatherXML
:
http://api.geonames.org/findNearByWeatherXML?lat=43&lng=-2&username=demo
Cheers
Marc
09/04/2007 21:29:57
Subject:
Re:findNearByWeatherJSON and XML
total
Joined: 07/04/2007 00:50:08
Messages: 7
Offline
Wow, that was fast
Is there some distance limitation of finding a weather station?
If I try
http://ws.geonames.org/findNearByWeatherXML?lat=60&lng=25
I will get data from a weather station but if I go a little further away:
http://ws.geonames.org/findNearByWeatherXML?lat=60&lng=25.8
I get message "no observations found"
--Timo
09/04/2007 22:34:05
Subject:
Re:findNearByWeatherJSON and XML
marc
Joined: 08/12/2005 07:39:47
Messages: 4501
Offline
Only weather stations within ca 100km radius are searched.
Marc
11/04/2007 09:50:53
Subject:
Re:findNearByWeatherJSON and XML
total
Joined: 07/04/2007 00:50:08
Messages: 7
Offline
Hmm, still getting no data even the point is within 100km from the station.
http://ws.geonames.org/findNearByWeatherXML?lat=60.25&lng=25.05
: distance 0 km
http://ws.geonames.org/findNearByWeatherXML?lat=60.25&lng=25.8
: distance 41 km, no data
--Timo
11/04/2007 18:20:51
Subject:
Re:findNearByWeatherJSON and XML
marc
Joined: 08/12/2005 07:39:47
Messages: 4501
Offline
Hi Timo
There was something weird with the database access. I am now using an other geospatial function and your station is found.
Cheers
Marc
02/09/2014 16:29:34
Subject:
Re:findNearByWeatherJSON and XML
arneschwarck
Joined: 29/08/2014 11:30:45
Messages: 2
Offline
The hectoPascAltimeter, is the data rounded to the nearest decimal?
I require a more accurate Pressure reading and when I check the weather station it is reporting at least one decimal place.
02/09/2014 16:40:57
Subject:
Re:findNearByWeatherJSON and XML
Admin
Joined: 19/11/2005 16:33:24
Messages: 48
Offline
The original data is included in the 'observation' field. I don't see more decimal places, do you?
Marc
04/09/2014 09:56:58
Subject:
Re:findNearByWeatherJSON and XML
arneschwarck
Joined: 29/08/2014 11:30:45
Messages: 2
Offline
I don't see any more but I know the weather station that I am looking at has 0.1 accuracy on some other websites. Could it be that the data is being cut off before you get it? I am looking at data from EDDW
Forum Index
->
General
Go to:
Select a forum
Forum in English
-------------
General
Administrative Divisions
FAQ - frequently asked questions
Postal Codes
Discussion of GeoNames Toponyms
Forum in other language
-------------
Forum in Deutsch
Powered by
JForum 2.1.5
©
JForum Team
info@geonames.org
GeoNames Home
Postal Codes
Download / Webservice
Forum
About