GeoNames: Get geographic information using the GeoNames API

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Info   View files View files (3)   DownloadInstall with Composer Download .zip   Reputation   Support forum (2)   Blog    
Last Updated Ratings Unique User Downloads Download Rankings  
2013-05-24 (2 years ago) RSS 2.0 feedNot enough user ratingsTotal: 264 All time: 150 This week: 38Up
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: 60 Down2 in Germany Germany Down
Innovation award
Innovation award
Nominee: 1x

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

  Files folder image Files  /  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:264All time:150
 This week:0This week:38Up
 User Comments (1)