Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/codigofuerte/GeoNames-MySQL-DataImport
Shell Script to download and import geonames.org dumps into a mysql database.
https://github.com/codigofuerte/GeoNames-MySQL-DataImport
Last synced: 3 months ago
JSON representation
Shell Script to download and import geonames.org dumps into a mysql database.
- Host: GitHub
- URL: https://github.com/codigofuerte/GeoNames-MySQL-DataImport
- Owner: codigofuerte
- Created: 2012-05-29T14:19:28.000Z (over 12 years ago)
- Default Branch: master
- Last Pushed: 2023-07-21T11:09:20.000Z (over 1 year ago)
- Last Synced: 2024-03-26T13:27:02.169Z (8 months ago)
- Language: Batchfile
- Homepage: http://codigofuerte.github.io/GeoNames-MySQL-DataImport/
- Size: 242 KB
- Stars: 317
- Watchers: 24
- Forks: 129
- Open Issues: 10
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
- awesome-world - GeoNames-MySQL-DataImport :octocat: - shell ccript to download and import geonames.org dumps into a mysql database (World Data (Countries, Cities, etc.) / GeoNames)
README
# V 2.0 Shell Script for importing geonames.org data dumps into a MySQL database.
Usage: geonames_importer.sh -a "action"
Where "action" can be:
- **download-data** Downloads the last packages of data available in GeoNames. An additional parameter with a download directory should be used.
- **create-db** Creates the mysql database structure with no data.
- **create-tables** Creates the tables in the current database. Useful if we want to import them in an exsiting db.
- **import-dumps** Imports geonames data into db. A database is previously needed for this to work.
- **drop-db** Removes the db completely.
- **truncate-db** Removes geonames data from db.
The reference site is still under construction for this new version. Stay tuned to this site.## License
This work is licensed under a Creative Commons Attribution 4.0 International License.