sguelfo
Joined: 04/02/2010 14:01:03
Messages: 1
Offline
|
Hi,
I'm considering using GeoNames webservice for an weahter application I'm working on.
I was testing the weatherJSON? webservice to see if it matched my needs and it seems to return dupplicate entries.
eg :
http://ws.geonames.org/weatherJSON?formatted=TRUE&north=46&south=50&east=0&west=2&style=SHORT&maxRows=4
{"weatherObservations": [
{
"observation": "LFRG 041230Z AUTO 18009KT 140V210 9999NDV NSC 10/03 Q1007",
"ICAO": "LFRG",
"lng": 0.15,
"datetime": "2010-02-04 13:30:00",
"stationName": "ST GATIEN",
"lat": 49.3666666666667
},
{
"observation": "LFLX 041200Z 08004KT CAVOK 07/03 Q1009 NOSIG",
"ICAO": "LFLX",
"lng": 1.71666666666667,
"datetime": "2010-02-04 13:00:00",
"stationName": "Chateauroux",
"lat": 46.85
},
{
"observation": "LFLX 041200Z 08004KT CAVOK 07/03 Q1009 NOSIG",
"ICAO": "LFLX",
"lng": 1.71666666666667,
"datetime": "2010-02-04 13:00:00",
"stationName": "Chateauroux",
"lat": 46.85
},
{
"observation": "LFOT 041230Z AUTO 10005KT 9999NDV NSC 07/02 Q1008",
"ICAO": "LFOT",
"lng": 0.716666666666667,
"datetime": "2010-02-04 13:30:00",
"stationName": "Tours",
"lat": 47.45
}
]}
This is not a big deal to me as I can de-duplicate them on the fly but is there something I do wrong are is it a bug?
And by the way, how many crédits do I use when issueing this request that should returnthe all METAR database in one shot (I did not check if it's correct or not)
http://ws.geonames.org/weatherJSON?formatted=TRUE&north=85&south=-85&east=179.9&west=-179.9&style=SHORT&maxRows=120000
|