zwirdsch
Joined: 20/06/2008 17:28:18
Messages: 2
Offline
|
Hi guys,
I'm new to this forum, so don't blame me if my question seems to be stupid. (And yes, I've read the readme files and searched through the forum)
I've downloaded the allcountries.txt file and imported some of the data into my MySQL DB because I wanted to see how I could use its table structure for a location-aware application. But sadly I can't make head nor tail of the table structure.
Let me give you an example dataset from the allcountries Table:
Code:
3039556, 'Pesada de Pal', 'Pesada de Pal', '', 42.5666667, 1.4833333, 'L', 'LCTY', 'AD', '', '00', '', '', '', 0, , 1508, 'Europe/Andorra', '1993-12-23'
3039557, 'Pont de Pesada', 'Pont de Pesada', '', 42.5666667, 1.4833333, 'S', 'BDG', 'AD', '', '00', '', '', '', 0, , 1508, 'Europe/Andorra', '1993-12-23'
3039558, 'Canal de Pesada', 'Canal de Pesada', '', 42.5666667, 1.4833333, 'H', 'STM', 'AD', '', '00', '', '', '', 0, , 1508, 'Europe/Andorra', '1993-12-23'
3039559, 'Basera de Pesada', 'Basera de Pesada', '', 42.5666667, 1.4833333, 'T', 'CLF', 'AD', '', '00', '', '', '', 0, , 1508, 'Europe/Andorra', '1993-12-23'
3039560, 'Pesada', 'Pesada', '', 42.5666667, 1.4833333, 'T', 'SLP', 'AD', '', '00', '', '', '', 0, , 1508, 'Europe/Andorra', '1993-12-23'
These entries describe all the same location in different languages but there is no column which defines the language. E.g. if I wanna deliver information about the location above in a specific language how should I query the table to get the proper title?
Compare it to the findNearbyWikipedia WebService where you have a language code tag.
I hope, I made my issue understandable and would be happy if someone could give me a solution.
I think, the problem lies on my side because obviously lots of people are using these dumps without a complaint.
|