GeoNames: Get geographic information using the GeoNames API

Recommend this page to a friend!
     
  Info   View files Files   Download Download   Reputation   Support forum   Blog    
Ratings Unique User Downloads Download Rankings
Not enough user ratingsTotal: 288 All time: 156 This week: 1Up
Version License JavaScript version Categories
geonames 1MIT/X Consortium ...1.0Geography, Web services
Description 

Author

This object can get geographic information using the GeoNames API.

It can create a script element send a JSONP HTTP request to the GeoNames API Web servers to retrieve geographic information of a several services.

Currently it can access the services to query geographic information of cities, earthquakes, weather, postal code, country code, country sub-divisions and ocean.

A given callback function is called when the server returns the JSONP request response.

Innovation Award
JavaScript Programming Innovation award nominee
January 2013
Number 4
GeoNames is a very popular Web service that can provide all sorts of geographic information.

This JavaScript object can take advantage of the GeoNames Web services by accessing its API directly from the browser, thus without requiring a server side component to access that API.

Manuel Lemos
Picture of Tom Schaefer
Name: Tom Schaefer <contact>
Classes: 4 packages by
Country: Germany Germany
Age: ???
All time rank: 221 in Germany Germany
Week rank: 6 Up1 in Germany Germany Equal
Innovation award
Innovation award
Nominee: 1x

  Files folder image Files (3)  
File Role Description
Files folder imagedemos (2 files)
Plain text file geonames.js Class main class

  Files folder image Files (3)  /  demos  
File Role Description
  Accessible without login Plain text file 001.html Example first steps
  Accessible without login Plain text file sqlike.html Example Demo showing result of web service call

 Version Control Unique User Downloads Download Rankings  
 0%
Total:288
This week:0
All time:156
This week:1Up
User Comments (1)