GeoNames Home | Postal Codes | Download / Webservice | About 

GeoNames Forum
  [Search] Search   [Recent Topics] Recent Topics   [Groups] Back to home page 
[Register] Register / 
[Login] Login 
findNearByWeatherJSON and XML  XML
Forum Index -> General
Author Message
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
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

[WWW]
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
marc



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

Only weather stations within ca 100km radius are searched.

Marc

[WWW]
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
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

[WWW]
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.
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
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:   
Powered by JForum 2.1.5 © JForum Team