Login   Register  
PHP Classes
elePHPant
Icontem

geozonedb: Get world geographic data from GeoNames into MySQL

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us

  Author Author  
Picture of Virgilio lino
Name: Virgilio lino <contact>
Classes: 2 packages by
Country: Italy Italy
Age: 35
All time rank: 176270 in Italy Italy
Week rank: 1763 Down74 in Italy Italy Down
Innovation award
Innovation award
Nominee: 1x


  Detailed description   Download Download .zip .tar.gz   Install with Composer Install with Composer  
This class can get world geographic data from GeoNames into MySQL.

It can retrieve geographic data files about countries of the world from the GeoNames site and populates a MySQL database for easier lookup.

The class can create the necessary MySQL tables and fill them with country data elements like names, codes, capital names, location coordinates, city names, postal codes, etc..

  Classes of Virgilio lino  >  geozonedb  >  Download Download .zip .tar.gz  >  Support forum Support forum  >  Blog Blog  >  RSS 1.0 feed RSS 2.0 feed Latest changes  
Name: geozonedb
Base name: geozonedb
Description: Get world geographic data from GeoNames into MySQL
Version: 0.4
PHP version: 5
License: GNU General Public License (GPL)
All time users: 621 users
All time rank: 4585
Week users: 0 users
Week rank: 1443 Equal
 
  Groups   Rate classes User ratings   Applications   Related pages   Files Files  

  Groups  
Group folder image PHP 5 Classes using PHP 5 specific features View top rated classes
Group folder image Databases Database management, accessing and searching View top rated classes
Group folder image Web services Web data clipping, SOAP or XML-RPC clients and servers View top rated classes
Group folder image Geography Locations, mapping and demographics View top rated classes


  Innovation Award  
PHP Programming Innovation award nominee
June 2011
Number 4


Prize: One subscription to the PDF edition of the PHP Architect magazine
GeoNames is site that aggregates information of all regions around the world. That information may be searched in the site or via a Web service.

However, if you need to perform intensive queries on the available information, it would be faster if you query it locally. The site also provides dumps of their database, so you can retrieve and use it locally in any other site.

This class can parse the Geonames database dump files and import it into a local MySQL database to make it easier to query the Geonames information in a much faster way.

Manuel Lemos

  User ratings  
Not yet rated by the users

  Applications that use this package  
No pages of applications that use this class were specified.
Add link image If you know an application of this package, send a message to the author to add a link here.

  Related pages  
database interface
download the directory and unzip to includes/classes/adodb

  Files folder image Files  
File Role Description
Accessible without login Plain text file geozonedb.php Class main class
Accessible without login Plain text file readme Doc. instructions
Accessible without login Plain text file engine.php Example library used by main class put in includes directory
Accessible without login Plain text file includes_configure.php Conf. put on includes directory
Accessible without login Plain text file includes_geozonedb.php Aux. put on includes directory
Accessible without login Plain text file geozonesearch.php Class class for interface to use on your application
Accessible without login Plain text file index.php Appl. example of usage

Install with Composer Install with Composer - Download Download all files: geozonedb.tar.gz geozonedb.zip
NOTICE: if you are using a download manager program like 'GetRight', please Login before trying to download this archive.