kschindler
Joined: 29/12/2011 20:53:26
Messages: 1
Offline
|
I'm sorry if this is a stupid question or if I've missed the answer already posted, but I'm trying to create an offline version of geonames for my team. I've downloaded the allCountries dump and loaded it into a mysql database, but I don't know what to do with it now. The way I see it, there are two major options that might be viable given that I'm not at all a programmer:
1. I've already installed MediaWiki, so it might be possible to load GeoNames into Mediawiki (creating a GeoNames Wiki did not load the information from the GeoNames MySQL database into that wiki).
2. Create an HTML page that would use PHP to search and access the information in GeoNames.
We primarily need the alternate names, latitude, and longitude fields. It would be nice to be able to search for the alternate names as well as the official name, but not absolutely critical.
Does anyone have code already for this and could you explain to me how to use it, or could someone possibly point me in the direction of a good tutorial for this sort of thing? I've never used PHP or HTML.
Thank you very much in advance!
|
artigas
Joined: 15/11/2009 17:09:42
Messages: 106
Offline
|
Greetings -
Since you have it loaded into MySQL the simplest thing is to learn to write SQL queries (SELECT statements) to show the data you want.
Use one of the graphical front ends (if running windows) for MySQL that lets you write queries and proceed to query data to get what you want.
If using linux then use the MySQLadmin web interface to get to the data.
Set up users (for all of your team) to access the MySQL data, give them all the graphical (or web) front end for and show them how to query the for the data.
That will be the quickest way to get to the data.
You will have a learning curve whatever you choose, but that will be shortest one.
Regards,
Roberto Artigas
|