Fixed a few more minor bugs and updated GeoLite2 data

• Updated the GeoLite2 country database data, added some basic localisation to it
• Managed to optimise the size of the GeoLite2 data bundled with the app (10mb -> 8mb)
• Cleaned up the IP2Country logic a little
• Removed some pluralisation from logs (want the logs to be identical outside of numbers)
• Tweaked the PushRegistrationManager to actually timeout
pull/986/head
Morgan Pretty 9 months ago
parent 592d743c82
commit f7dcd47c0c

@ -1 +1 @@
Subproject commit c0cf732e1e64451476d39e1ee79547e56dcfd2e8
Subproject commit 2163461ae13ded4414da0f43aa876e0706504068

@ -0,0 +1,242 @@
#!/usr/bin/xcrun --sdk macosx swift
// Copyright © 2024 Rangeproof Pty Ltd. All rights reserved.
//
// This script should be used to generate an updated IP2Country data file when the raw files
// get updated. This will create the `detinationFileName` in the directory one level above
// the `sourceFilename`
//
// stringlint:disable
import Foundation
#if os(macOS)
import Darwin
#elseif os(Linux)
import Glibc
#endif
// Config
let rawFilesRelativePath: String = "/Session/Meta/Countries/SourceData"
let sourceFilename: String = "GeoLite2-Country-Blocks-IPv4.csv"
let countryNameFilePrefix: String = "GeoLite2-Country-Locations-" // Last component will be used as Locale
let destinationFileName: String = "GeoLite2-Country-Blocks-IPv4"
// Types
struct IP2CountryCache {
var countryBlocksIPInt: [Int] = []
var countryBlocksGeonameId: [String] = []
var countryLocationsLocaleCode: [String] = []
var countryLocationsGeonameId: [String] = []
var countryLocationsCountryName: [String] = []
}
public enum IPv4 {
public static func toInt(_ ip: String) -> Int? {
let octets: [Int] = ip.split(separator: ".").compactMap { Int($0) }
guard octets.count > 1 else { return nil }
var result: Int = 0
for i in stride(from: 3, through: 0, by: -1) {
result += octets[ 3 - i ] << (i * 8)
}
return (result > 0 ? result : nil)
}
}
// Logic
class Processor {
static var keepRunning = true
static func getTerminalWidth() -> Int {
var w = winsize()
if ioctl(STDOUT_FILENO, TIOCGWINSZ, &w) == 0 {
return Int(w.ws_col)
}
return 80 // default width if unable to get the terminal width
}
static func printProgressBar(prefix: String, progress: Double, total: Int) {
let barLength = (total - prefix.count - 10) // Leave some space for the percentage display
let filledLength = Int(progress * Double(barLength))
let bar = String(repeating: "=", count: filledLength) + String(repeating: " ", count: barLength - filledLength)
print("\r\(prefix)[\(bar)] \(Int(progress * 100))%", terminator: "")
fflush(stdout)
}
static func processFiles() {
print("Searching For files")
let path: String = {
switch ProcessInfo.processInfo.environment["PROJECT_DIR"] {
case .some(let projectDir): return "\(projectDir)\(rawFilesRelativePath)"
case .none:
let currentDir: String = FileManager.default.currentDirectoryPath
guard currentDir.hasSuffix("/Scripts") else {
return "\(currentDir)\(rawFilesRelativePath)"
}
return "\(currentDir.dropLast("/Scripts".count))\(rawFilesRelativePath)"
}
}()
guard keepRunning else { return }
guard
let enumerator: FileManager.DirectoryEnumerator = FileManager.default.enumerator(
at: URL(fileURLWithPath: path),
includingPropertiesForKeys: [.isDirectoryKey],
options: [.skipsHiddenFiles]
),
let fileUrls: [URL] = enumerator.allObjects as? [URL]
else { fatalError("Could not locate files in path directory: \(path)") }
guard keepRunning else { return }
print("Found country blocks file ✅")
/// Ensure we have the `sourceFilename`
guard let sourceFileUrl: URL = fileUrls.first(where: { fileUrl in
((try? fileUrl.resourceValues(forKeys: [.isDirectoryKey]))?.isDirectory == false) &&
fileUrl.path.lowercased().hasSuffix(sourceFilename.lowercased())
}) else { fatalError("Could not locate source file") }
guard keepRunning else { return }
/// Filter down the files to find the country name files
let localisedCountryNameFileUrls: [URL] = fileUrls.filter { fileUrl in
((try? fileUrl.resourceValues(forKeys: [.isDirectoryKey]))?.isDirectory == false) &&
fileUrl.lastPathComponent.lowercased().hasPrefix(countryNameFilePrefix.lowercased()) &&
fileUrl.lastPathComponent.lowercased().hasSuffix(".csv")
}
guard keepRunning else { return }
let languageCodes: String = localisedCountryNameFileUrls
.map { url in String(url.lastPathComponent.dropFirst(countryNameFilePrefix.count).dropLast(".csv".count)) }
.sorted()
.joined(separator: ", ")
print("Found \(localisedCountryNameFileUrls.count) language files ✅ (\(languageCodes))")
guard keepRunning else { return }
/// This function can be used to regenerate the `GeoLite2-Country-Blocks-IPv4` file given a `SourceData/GeoLite2-Country-Blocks-IPv4.csv`
/// file (loading the csv directly takes `5+ seconds` whereas loading the binary output of this function takes `~850ms`
guard
let sourceData: Data = try? Data(contentsOf: sourceFileUrl),
let sourceDataString: String = String(data: sourceData, encoding: .utf8)
else { fatalError("Could not load source file") }
guard keepRunning else { return }
let terminalWidth: Int = getTerminalWidth()
/// Header line plus at least one line of content
let lines: [String] = sourceDataString.components(separatedBy: "\n")
guard lines.count > 1 else { fatalError("Source file had no content") }
/// Create the cache object
var cache: IP2CountryCache = IP2CountryCache()
/// Structure of the data should be `network,registered_country_geoname_id`
let countryBlockPrefix: String = "Processing country blocks: "
lines[1...].enumerated().forEach { index, line in
guard keepRunning else { return }
let values: [String] = line
.trimmingCharacters(in: .whitespacesAndNewlines)
.components(separatedBy: ",")
guard
values.count == 2,
let ipNoSubnetMask: String = values[0].components(separatedBy: "/").first,
let ipAsInt: Int = IPv4.toInt(ipNoSubnetMask)
else { return }
cache.countryBlocksIPInt.append(ipAsInt)
cache.countryBlocksGeonameId.append(values[1])
let progress = (Double(index) / Double(lines.count))
printProgressBar(prefix: countryBlockPrefix, progress: progress, total: (terminalWidth - 10))
}
guard keepRunning else { return }
print("\r\u{1B}[2KProcessing country blocks completed ✅")
/// Structure of the data should be `geoname_id,locale_code,continent_code,continent_name,country_iso_code,country_name,is_in_european_union`
let languagesPrefix: String = "Processing languages: "
localisedCountryNameFileUrls.enumerated().forEach { fileIndex, fileUrl in
guard keepRunning else { return }
guard
let localisedData: Data = try? Data(contentsOf: fileUrl),
let localisedDataString: String = String(data: localisedData, encoding: .utf8)
else { fatalError("Could not load localised country name file") }
/// Header line plus at least one line of content
let lines: [String] = localisedDataString.components(separatedBy: "\n")
guard lines.count > 1 else { fatalError("Localised country file had no content") }
lines[1...].enumerated().forEach { index, line in
let values: [String] = line
.trimmingCharacters(in: .whitespacesAndNewlines)
.components(separatedBy: ",")
guard values.count == 7 else { return }
cache.countryLocationsLocaleCode.append(values[1])
cache.countryLocationsGeonameId.append(values[0])
cache.countryLocationsCountryName.append(values[5].trimmingCharacters(in: CharacterSet(charactersIn: "\"")))
let progress = (Double((fileIndex * lines.count) + index) / Double(localisedCountryNameFileUrls.count * lines.count))
printProgressBar(prefix: languagesPrefix, progress: progress, total: (terminalWidth - 10))
}
}
guard keepRunning else { return }
print("\r\u{1B}[2KProcessing languages completed ✅")
/// Generate the binary data
var outputData: Data = Data()
var ipCount = Int32(cache.countryBlocksIPInt.count)
outputData.append(Data(bytes: &ipCount, count: MemoryLayout<Int32>.size))
outputData.append(Data(bytes: cache.countryBlocksIPInt, count: cache.countryBlocksIPInt.count * MemoryLayout<Int>.size))
let geonameIdData: Data = cache.countryBlocksGeonameId.joined(separator: "\0\0").data(using: .utf8)!
var geonameIdCount = Int32(geonameIdData.count)
outputData.append(Data(bytes: &geonameIdCount, count: MemoryLayout<Int32>.size))
outputData.append(geonameIdData)
let localeCodeData: Data = cache.countryLocationsLocaleCode.joined(separator: "\0\0").data(using: .utf8)!
var localeCodeCount = Int32(localeCodeData.count)
outputData.append(Data(bytes: &localeCodeCount, count: MemoryLayout<Int32>.size))
outputData.append(localeCodeData)
let locationGeonameData: Data = cache.countryLocationsGeonameId.joined(separator: "\0\0").data(using: .utf8)!
var locationGeonameCount = Int32(locationGeonameData.count)
outputData.append(Data(bytes: &locationGeonameCount, count: MemoryLayout<Int32>.size))
outputData.append(locationGeonameData)
let countryNameData: Data = cache.countryLocationsCountryName.joined(separator: "\0\0").data(using: .utf8)!
var countryNameCount = Int32(countryNameData.count)
outputData.append(Data(bytes: &countryNameCount, count: MemoryLayout<Int32>.size))
outputData.append(countryNameData)
guard keepRunning else { return }
/// Write the outputData to disk
let destinaitonFileUrl: URL = sourceFileUrl
.deletingLastPathComponent()
.deletingLastPathComponent()
.appendingPathComponent("GeoLite2-Country-Blocks-IPv4")
try? outputData.write(to: destinaitonFileUrl)
print("Saved output to \(destinaitonFileUrl.absoluteString)")
}
}
// Handle SIGINT (Ctrl+C)
func handleSIGINT(signal: Int32) {
Processor.keepRunning = false
print("\nProcess interrupted. Exiting...")
}
signal(SIGINT, handleSIGINT)
Processor.processFiles()

@ -271,8 +271,6 @@
B8F5F71A25F1B35C003BF8D4 /* MediaPlaceholderView.swift in Sources */ = {isa = PBXBuildFile; fileRef = B8F5F71925F1B35C003BF8D4 /* MediaPlaceholderView.swift */; };
B8FF8DAE25C0D00F004D1F22 /* SessionMessagingKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C3C2A6F025539DE700C340D1 /* SessionMessagingKit.framework */; };
B8FF8DAF25C0D00F004D1F22 /* SessionUtilitiesKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = C3C2A679255388CC00C340D1 /* SessionUtilitiesKit.framework */; };
B8FF8E6225C10DA5004D1F22 /* GeoLite2-Country-Blocks-IPv4 in Resources */ = {isa = PBXBuildFile; fileRef = B8FF8E6125C10DA5004D1F22 /* GeoLite2-Country-Blocks-IPv4 */; };
B8FF8E7425C10FC3004D1F22 /* GeoLite2-Country-Locations-English in Resources */ = {isa = PBXBuildFile; fileRef = B8FF8E7325C10FC3004D1F22 /* GeoLite2-Country-Locations-English */; };
B8FF8EA625C11FEF004D1F22 /* IPv4.swift in Sources */ = {isa = PBXBuildFile; fileRef = B8FF8EA525C11FEF004D1F22 /* IPv4.swift */; };
B9EB5ABD1884C002007CBB57 /* MessageUI.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = B9EB5ABC1884C002007CBB57 /* MessageUI.framework */; };
C300A5D32554B05A00555489 /* TypingIndicator.swift in Sources */ = {isa = PBXBuildFile; fileRef = C300A5D22554B05A00555489 /* TypingIndicator.swift */; };
@ -883,6 +881,7 @@
FDE6E99829F8E63A00F93C5D /* Accessibility.swift in Sources */ = {isa = PBXBuildFile; fileRef = FDE6E99729F8E63A00F93C5D /* Accessibility.swift */; };
FDE77F6B280FEB28002CFC5D /* ControlMessageProcessRecord.swift in Sources */ = {isa = PBXBuildFile; fileRef = FDE77F6A280FEB28002CFC5D /* ControlMessageProcessRecord.swift */; };
FDED2E3C282E1B5D00B2CD2A /* UICollectionView+ReusableView.swift in Sources */ = {isa = PBXBuildFile; fileRef = FDED2E3B282E1B5D00B2CD2A /* UICollectionView+ReusableView.swift */; };
FDEF57712C44D2D300131302 /* GeoLite2-Country-Blocks-IPv4 in Resources */ = {isa = PBXBuildFile; fileRef = FDEF57702C44D2D300131302 /* GeoLite2-Country-Blocks-IPv4 */; };
FDF0B73C27FFD3D6004C14C5 /* LinkPreview.swift in Sources */ = {isa = PBXBuildFile; fileRef = FDF0B73B27FFD3D6004C14C5 /* LinkPreview.swift */; };
FDF0B7422804EA4F004C14C5 /* _002_SetupStandardJobs.swift in Sources */ = {isa = PBXBuildFile; fileRef = FDF0B7412804EA4F004C14C5 /* _002_SetupStandardJobs.swift */; };
FDF0B7472804F0CE004C14C5 /* DisappearingMessagesJob.swift in Sources */ = {isa = PBXBuildFile; fileRef = FDF0B7462804F0CE004C14C5 /* DisappearingMessagesJob.swift */; };
@ -1462,8 +1461,6 @@
B8F5F58225EC94A6003BF8D4 /* Collection+Utilities.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "Collection+Utilities.swift"; sourceTree = "<group>"; };
B8F5F60225EDE16F003BF8D4 /* DataExtractionNotification.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = DataExtractionNotification.swift; sourceTree = "<group>"; };
B8F5F71925F1B35C003BF8D4 /* MediaPlaceholderView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = MediaPlaceholderView.swift; sourceTree = "<group>"; };
B8FF8E6125C10DA5004D1F22 /* GeoLite2-Country-Blocks-IPv4 */ = {isa = PBXFileReference; lastKnownFileType = file.bplist; name = "GeoLite2-Country-Blocks-IPv4"; path = "Countries/GeoLite2-Country-Blocks-IPv4"; sourceTree = "<group>"; };
B8FF8E7325C10FC3004D1F22 /* GeoLite2-Country-Locations-English */ = {isa = PBXFileReference; lastKnownFileType = file.bplist; name = "GeoLite2-Country-Locations-English"; path = "Countries/GeoLite2-Country-Locations-English"; sourceTree = "<group>"; };
B8FF8EA525C11FEF004D1F22 /* IPv4.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = IPv4.swift; sourceTree = "<group>"; };
B9EB5ABC1884C002007CBB57 /* MessageUI.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = MessageUI.framework; path = System/Library/Frameworks/MessageUI.framework; sourceTree = SDKROOT; };
BC81172C437DC7DEF6735D0C /* Pods_GlobalDependencies_FrameworkAndExtensionDependencies_SessionSnodeKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_GlobalDependencies_FrameworkAndExtensionDependencies_SessionSnodeKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
@ -2085,6 +2082,17 @@
FDE77F68280F9EDA002CFC5D /* JobRunnerError.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = JobRunnerError.swift; sourceTree = "<group>"; };
FDE77F6A280FEB28002CFC5D /* ControlMessageProcessRecord.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ControlMessageProcessRecord.swift; sourceTree = "<group>"; };
FDED2E3B282E1B5D00B2CD2A /* UICollectionView+ReusableView.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = "UICollectionView+ReusableView.swift"; sourceTree = "<group>"; };
FDEF57642C44B8C200131302 /* ProcessIP2CountryData.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ProcessIP2CountryData.swift; sourceTree = "<group>"; };
FDEF57662C44C1DF00131302 /* GeoLite2-Country-Blocks-IPv4.csv */ = {isa = PBXFileReference; lastKnownFileType = text; path = "GeoLite2-Country-Blocks-IPv4.csv"; sourceTree = "<group>"; };
FDEF57672C44C1DF00131302 /* GeoLite2-Country-Locations-de.csv */ = {isa = PBXFileReference; lastKnownFileType = text; path = "GeoLite2-Country-Locations-de.csv"; sourceTree = "<group>"; };
FDEF57682C44C1DF00131302 /* GeoLite2-Country-Locations-en.csv */ = {isa = PBXFileReference; lastKnownFileType = text; path = "GeoLite2-Country-Locations-en.csv"; sourceTree = "<group>"; };
FDEF57692C44C1DF00131302 /* GeoLite2-Country-Locations-es.csv */ = {isa = PBXFileReference; lastKnownFileType = text; path = "GeoLite2-Country-Locations-es.csv"; sourceTree = "<group>"; };
FDEF576A2C44C1DF00131302 /* GeoLite2-Country-Locations-fr.csv */ = {isa = PBXFileReference; lastKnownFileType = text; path = "GeoLite2-Country-Locations-fr.csv"; sourceTree = "<group>"; };
FDEF576B2C44C1DF00131302 /* GeoLite2-Country-Locations-ja.csv */ = {isa = PBXFileReference; lastKnownFileType = text; path = "GeoLite2-Country-Locations-ja.csv"; sourceTree = "<group>"; };
FDEF576C2C44C1DF00131302 /* GeoLite2-Country-Locations-pt-BR.csv */ = {isa = PBXFileReference; lastKnownFileType = text; path = "GeoLite2-Country-Locations-pt-BR.csv"; sourceTree = "<group>"; };
FDEF576D2C44C1DF00131302 /* GeoLite2-Country-Locations-ru.csv */ = {isa = PBXFileReference; lastKnownFileType = text; path = "GeoLite2-Country-Locations-ru.csv"; sourceTree = "<group>"; };
FDEF576E2C44C1DF00131302 /* GeoLite2-Country-Locations-zh-CN.csv */ = {isa = PBXFileReference; lastKnownFileType = text; path = "GeoLite2-Country-Locations-zh-CN.csv"; sourceTree = "<group>"; };
FDEF57702C44D2D300131302 /* GeoLite2-Country-Blocks-IPv4 */ = {isa = PBXFileReference; lastKnownFileType = file; name = "GeoLite2-Country-Blocks-IPv4"; path = "Countries/GeoLite2-Country-Blocks-IPv4"; sourceTree = "<group>"; };
FDF0B73B27FFD3D6004C14C5 /* LinkPreview.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = LinkPreview.swift; sourceTree = "<group>"; };
FDF0B73F280402C4004C14C5 /* Job.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = Job.swift; sourceTree = "<group>"; };
FDF0B7412804EA4F004C14C5 /* _002_SetupStandardJobs.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = _002_SetupStandardJobs.swift; sourceTree = "<group>"; };
@ -2859,8 +2867,8 @@
B8FF8E6025C10D8B004D1F22 /* Countries */ = {
isa = PBXGroup;
children = (
B8FF8E6125C10DA5004D1F22 /* GeoLite2-Country-Blocks-IPv4 */,
B8FF8E7325C10FC3004D1F22 /* GeoLite2-Country-Locations-English */,
FDEF576F2C44C1DF00131302 /* SourceData */,
FDEF57702C44D2D300131302 /* GeoLite2-Country-Blocks-IPv4 */,
);
name = Countries;
sourceTree = "<group>";
@ -4450,10 +4458,28 @@
FDCCC6E82ABA7402002BBEF5 /* EmojiGenerator.swift */,
FDE72150287E50D50093DF33 /* LintLocalizableStrings.swift */,
FD5CE3442A3C5D96001A6DE3 /* DecryptExportedKey.swift */,
FDEF57642C44B8C200131302 /* ProcessIP2CountryData.swift */,
);
path = Scripts;
sourceTree = "<group>";
};
FDEF576F2C44C1DF00131302 /* SourceData */ = {
isa = PBXGroup;
children = (
FDEF57662C44C1DF00131302 /* GeoLite2-Country-Blocks-IPv4.csv */,
FDEF57672C44C1DF00131302 /* GeoLite2-Country-Locations-de.csv */,
FDEF57682C44C1DF00131302 /* GeoLite2-Country-Locations-en.csv */,
FDEF57692C44C1DF00131302 /* GeoLite2-Country-Locations-es.csv */,
FDEF576A2C44C1DF00131302 /* GeoLite2-Country-Locations-fr.csv */,
FDEF576B2C44C1DF00131302 /* GeoLite2-Country-Locations-ja.csv */,
FDEF576C2C44C1DF00131302 /* GeoLite2-Country-Locations-pt-BR.csv */,
FDEF576D2C44C1DF00131302 /* GeoLite2-Country-Locations-ru.csv */,
FDEF576E2C44C1DF00131302 /* GeoLite2-Country-Locations-zh-CN.csv */,
);
name = SourceData;
path = Countries/SourceData;
sourceTree = "<group>";
};
FDF0B7452804F0A8004C14C5 /* Types */ = {
isa = PBXGroup;
children = (
@ -5199,10 +5225,10 @@
45B74A892044AAB600CD42F8 /* circles-quiet.aifc in Resources */,
C34C8F7423A7830B00D82669 /* SpaceMono-Bold.ttf in Resources */,
4503F1BF20470A5B00CEE724 /* classic.aifc in Resources */,
FDEF57712C44D2D300131302 /* GeoLite2-Country-Blocks-IPv4 in Resources */,
B8D07405265C683300F77E07 /* ElegantIcons.ttf in Resources */,
4503F1BE20470A5B00CEE724 /* classic-quiet.aifc in Resources */,
45B74A7E2044AAB600CD42F8 /* complete.aifc in Resources */,
B8FF8E7425C10FC3004D1F22 /* GeoLite2-Country-Locations-English in Resources */,
B8CCF6352396005F0091D419 /* SpaceMono-Regular.ttf in Resources */,
45B74A872044AAB600CD42F8 /* complete-quiet.aifc in Resources */,
45B74A772044AAB600CD42F8 /* hello.aifc in Resources */,
@ -5219,7 +5245,6 @@
45B74A7D2044AAB600CD42F8 /* popcorn-quiet.aifc in Resources */,
45B74A822044AAB600CD42F8 /* pulse.aifc in Resources */,
C3CA3AC8255CDB2900F4C6D4 /* spanish.txt in Resources */,
B8FF8E6225C10DA5004D1F22 /* GeoLite2-Country-Blocks-IPv4 in Resources */,
45B74A802044AAB600CD42F8 /* pulse-quiet.aifc in Resources */,
45B74A8B2044AAB600CD42F8 /* synth.aifc in Resources */,
45B74A752044AAB600CD42F8 /* synth-quiet.aifc in Resources */,

@ -0,0 +1,253 @@
geoname_id,locale_code,continent_code,continent_name,country_iso_code,country_name,is_in_european_union
49518,de,AF,Afrika,RW,Ruanda,0
51537,de,AF,Afrika,SO,Somalia,0
69543,de,AS,Asien,YE,Jemen,0
99237,de,AS,Asien,IQ,Irak,0
102358,de,AS,Asien,SA,Saudi-Arabien,0
130758,de,AS,Asien,IR,Iran,0
146669,de,EU,Europa,CY,Zypern,1
149590,de,AF,Afrika,TZ,Tansania,0
163843,de,AS,Asien,SY,Syrien,0
174982,de,AS,Asien,AM,Armenien,0
192950,de,AF,Afrika,KE,Kenia,0
203312,de,AF,Afrika,CD,Kongo,0
223816,de,AF,Afrika,DJ,Dschibuti,0
226074,de,AF,Afrika,UG,Uganda,0
239880,de,AF,Afrika,CF,"Zentralafrikanische Republik",0
241170,de,AF,Afrika,SC,Seychellen,0
248816,de,AS,Asien,JO,Jordanien,0
272103,de,AS,Asien,LB,Libanon,0
285570,de,AS,Asien,KW,Kuwait,0
286963,de,AS,Asien,OM,Oman,0
289688,de,AS,Asien,QA,Katar,0
290291,de,AS,Asien,BH,Bahrain,0
290557,de,AS,Asien,AE,"Vereinigte Arabische Emirate",0
294640,de,AS,Asien,IL,Israel,0
298795,de,AS,Asien,TR,Türkei,0
337996,de,AF,Afrika,ET,Äthiopien,0
338010,de,AF,Afrika,ER,Eritrea,0
357994,de,AF,Afrika,EG,Ägypten,0
366755,de,AF,Afrika,SD,Sudan,0
390903,de,EU,Europa,GR,Griechenland,1
433561,de,AF,Afrika,BI,Burundi,0
453733,de,EU,Europa,EE,Estland,1
458258,de,EU,Europa,LV,Lettland,1
587116,de,AS,Asien,AZ,Aserbaidschan,0
597427,de,EU,Europa,LT,Litauen,1
607072,de,EU,Europa,SJ,"Spitzbergen und Jan Mayen",0
614540,de,AS,Asien,GE,Georgien,0
617790,de,EU,Europa,MD,"Republik Moldau",0
630336,de,EU,Europa,BY,Belarus,0
660013,de,EU,Europa,FI,Finnland,1
661882,de,EU,Europa,AX,Ålandinseln,1
690791,de,EU,Europa,UA,Ukraine,0
718075,de,EU,Europa,MK,Nordmazedonien,0
719819,de,EU,Europa,HU,Ungarn,1
732800,de,EU,Europa,BG,Bulgarien,1
783754,de,EU,Europa,AL,Albanien,0
798544,de,EU,Europa,PL,Polen,1
798549,de,EU,Europa,RO,Rumänien,1
831053,de,EU,Europa,XK,Kosovo,0
878675,de,AF,Afrika,ZW,Simbabwe,0
895949,de,AF,Afrika,ZM,Sambia,0
921929,de,AF,Afrika,KM,Komoren,0
927384,de,AF,Afrika,MW,Malawi,0
932692,de,AF,Afrika,LS,Lesotho,0
933860,de,AF,Afrika,BW,Botswana,0
934292,de,AF,Afrika,MU,Mauritius,0
934841,de,AF,Afrika,SZ,Eswatini,0
935317,de,AF,Afrika,RE,Réunion,1
953987,de,AF,Afrika,ZA,Südafrika,0
1024031,de,AF,Afrika,YT,Mayotte,1
1036973,de,AF,Afrika,MZ,Mosambik,0
1062947,de,AF,Afrika,MG,Madagaskar,0
1149361,de,AS,Asien,AF,Afghanistan,0
1168579,de,AS,Asien,PK,Pakistan,0
1210997,de,AS,Asien,BD,Bangladesch,0
1218197,de,AS,Asien,TM,Turkmenistan,0
1220409,de,AS,Asien,TJ,Tadschikistan,0
1227603,de,AS,Asien,LK,"Sri Lanka",0
1252634,de,AS,Asien,BT,Bhutan,0
1269750,de,AS,Asien,IN,Indien,0
1282028,de,AS,Asien,MV,Malediven,0
1282588,de,AS,Asien,IO,"Britisches Territorium im Indischen Ozean",0
1282988,de,AS,Asien,NP,Nepal,0
1327865,de,AS,Asien,MM,Myanmar,0
1512440,de,AS,Asien,UZ,Usbekistan,0
1522867,de,AS,Asien,KZ,Kasachstan,0
1527747,de,AS,Asien,KG,Kirgisistan,0
1546748,de,AN,Antarktis,TF,"Französische Süd- und Antarktisgebiete",0
1547314,de,AN,Antarktis,HM,"Heard und McDonaldinseln",0
1547376,de,AS,Asien,CC,Kokosinseln,0
1559582,de,OC,Ozeanien,PW,Palau,0
1562822,de,AS,Asien,VN,Vietnam,0
1605651,de,AS,Asien,TH,Thailand,0
1643084,de,AS,Asien,ID,Indonesien,0
1655842,de,AS,Asien,LA,Laos,0
1668284,de,AS,Asien,TW,Taiwan,0
1694008,de,AS,Asien,PH,Philippinen,0
1733045,de,AS,Asien,MY,Malaysia,0
1814991,de,AS,Asien,CN,China,0
1819730,de,AS,Asien,HK,Hongkong,0
1820814,de,AS,Asien,BN,Brunei,0
1821275,de,AS,Asien,MO,Macau,0
1831722,de,AS,Asien,KH,Kambodscha,0
1835841,de,AS,Asien,KR,Südkorea,0
1861060,de,AS,Asien,JP,Japan,0
1873107,de,AS,Asien,KP,Nordkorea,0
1880251,de,AS,Asien,SG,Singapur,0
1899402,de,OC,Ozeanien,CK,Cookinseln,0
1966436,de,OC,Ozeanien,TL,Timor-Leste,0
2017370,de,EU,Europa,RU,Russland,0
2029969,de,AS,Asien,MN,Mongolei,0
2077456,de,OC,Ozeanien,AU,Australien,0
2078138,de,OC,Ozeanien,CX,Weihnachtsinsel,0
2080185,de,OC,Ozeanien,MH,Marshallinseln,0
2081918,de,OC,Ozeanien,FM,Mikronesien,0
2088628,de,OC,Ozeanien,PG,Papua-Neuguinea,0
2103350,de,OC,Ozeanien,SB,Salomonen,0
2110297,de,OC,Ozeanien,TV,Tuvalu,0
2110425,de,OC,Ozeanien,NR,Nauru,0
2134431,de,OC,Ozeanien,VU,Vanuatu,0
2139685,de,OC,Ozeanien,NC,Neukaledonien,0
2155115,de,OC,Ozeanien,NF,Norfolkinsel,0
2186224,de,OC,Ozeanien,NZ,Neuseeland,0
2205218,de,OC,Ozeanien,FJ,Fidschi,0
2215636,de,AF,Afrika,LY,Libyen,0
2233387,de,AF,Afrika,CM,Kamerun,0
2245662,de,AF,Afrika,SN,Senegal,0
2260494,de,AF,Afrika,CG,"Kongo (Republik Kongo)",0
2264397,de,EU,Europa,PT,Portugal,1
2275384,de,AF,Afrika,LR,Liberia,0
2287781,de,AF,Afrika,CI,Elfenbeinküste,0
2300660,de,AF,Afrika,GH,Ghana,0
2309096,de,AF,Afrika,GQ,Äquatorialguinea,0
2328926,de,AF,Afrika,NG,Nigeria,0
2361809,de,AF,Afrika,BF,"Burkina Faso",0
2363686,de,AF,Afrika,TG,Togo,0
2372248,de,AF,Afrika,GW,Guinea-Bissau,0
2378080,de,AF,Afrika,MR,Mauretanien,0
2395170,de,AF,Afrika,BJ,Benin,0
2400553,de,AF,Afrika,GA,Gabun,0
2403846,de,AF,Afrika,SL,"Sierra Leone",0
2410758,de,AF,Afrika,ST,"São Tomé und Príncipe",0
2411586,de,EU,Europa,GI,Gibraltar,0
2413451,de,AF,Afrika,GM,Gambia,0
2420477,de,AF,Afrika,GN,Guinea,0
2434508,de,AF,Afrika,TD,Tschad,0
2440476,de,AF,Afrika,NE,Niger,0
2453866,de,AF,Afrika,ML,Mali,0
2461445,de,AF,Afrika,EH,Westsahara,0
2464461,de,AF,Afrika,TN,Tunesien,0
2510769,de,EU,Europa,ES,Spanien,1
2542007,de,AF,Afrika,MA,Marokko,0
2562770,de,EU,Europa,MT,Malta,1
2589581,de,AF,Afrika,DZ,Algerien,0
2622320,de,EU,Europa,FO,Färöer,0
2623032,de,EU,Europa,DK,Dänemark,1
2629691,de,EU,Europa,IS,Island,0
2635167,de,EU,Europa,GB,UK,0
2658434,de,EU,Europa,CH,Schweiz,0
2661886,de,EU,Europa,SE,Schweden,1
2750405,de,EU,Europa,NL,Niederlande,1
2782113,de,EU,Europa,AT,Österreich,1
2802361,de,EU,Europa,BE,Belgien,1
2921044,de,EU,Europa,DE,Deutschland,1
2960313,de,EU,Europa,LU,Luxemburg,1
2963597,de,EU,Europa,IE,Irland,1
2993457,de,EU,Europa,MC,Monaco,0
3017382,de,EU,Europa,FR,Frankreich,1
3041565,de,EU,Europa,AD,Andorra,0
3042058,de,EU,Europa,LI,Liechtenstein,0
3042142,de,EU,Europa,JE,Jersey,0
3042225,de,EU,Europa,IM,"Isle of Man",0
3042362,de,EU,Europa,GG,Guernsey,0
3057568,de,EU,Europa,SK,Slowakei,1
3077311,de,EU,Europa,CZ,Tschechien,1
3144096,de,EU,Europa,NO,Norwegen,0
3164670,de,EU,Europa,VA,Vatikanstadt,0
3168068,de,EU,Europa,SM,"San Marino",0
3175395,de,EU,Europa,IT,Italien,1
3190538,de,EU,Europa,SI,Slowenien,1
3194884,de,EU,Europa,ME,Montenegro,0
3202326,de,EU,Europa,HR,Kroatien,1
3277605,de,EU,Europa,BA,"Bosnien und Herzegowina",0
3351879,de,AF,Afrika,AO,Angola,0
3355338,de,AF,Afrika,NA,Namibia,0
3370751,de,AF,Afrika,SH,"St. Helena",0
3371123,de,AN,Antarktis,BV,Bouvetinsel,0
3374084,de,NA,Nordamerika,BB,Barbados,0
3374766,de,AF,Afrika,CV,Kapverden,0
3378535,de,SA,Südamerika,GY,Guyana,0
3381670,de,SA,Südamerika,GF,Französisch-Guayana,1
3382998,de,SA,Südamerika,SR,Suriname,0
3424932,de,NA,Nordamerika,PM,"St. Pierre und Miquelon",0
3425505,de,NA,Nordamerika,GL,Grönland,0
3437598,de,SA,Südamerika,PY,Paraguay,0
3439705,de,SA,Südamerika,UY,Uruguay,0
3469034,de,SA,Südamerika,BR,Brasilien,0
3474414,de,SA,Südamerika,FK,Falklandinseln,0
3474415,de,AN,Antarktis,GS,"Südgeorgien und die Südlichen Sandwichinseln",0
3489940,de,NA,Nordamerika,JM,Jamaika,0
3508796,de,NA,Nordamerika,DO,"Dom. Republik",0
3562981,de,NA,Nordamerika,CU,Kuba,0
3570311,de,NA,Nordamerika,MQ,Martinique,1
3572887,de,NA,Nordamerika,BS,Bahamas,0
3573345,de,NA,Nordamerika,BM,Bermuda,0
3573511,de,NA,Nordamerika,AI,Anguilla,0
3573591,de,NA,Nordamerika,TT,"Trinidad und Tobago",0
3575174,de,NA,Nordamerika,KN,"St. Kitts und Nevis",0
3575830,de,NA,Nordamerika,DM,Dominica,0
3576396,de,NA,Nordamerika,AG,"Antigua und Barbuda",0
3576468,de,NA,Nordamerika,LC,"St. Lucia",0
3576916,de,NA,Nordamerika,TC,"Turks- und Caicosinseln",0
3577279,de,NA,Nordamerika,AW,Aruba,0
3577718,de,NA,Nordamerika,VG,"Britische Jungferninseln",0
3577815,de,NA,Nordamerika,VC,"St. Vincent und die Grenadinen",0
3578097,de,NA,Nordamerika,MS,Montserrat,0
3578421,de,NA,Nordamerika,MF,"St. Martin",1
3578476,de,NA,Nordamerika,BL,"St. Barthélemy",0
3579143,de,NA,Nordamerika,GP,Guadeloupe,1
3580239,de,NA,Nordamerika,GD,Grenada,0
3580718,de,NA,Nordamerika,KY,Kaimaninseln,0
3582678,de,NA,Nordamerika,BZ,Belize,0
3585968,de,NA,Nordamerika,SV,"El Salvador",0
3595528,de,NA,Nordamerika,GT,Guatemala,0
3608932,de,NA,Nordamerika,HN,Honduras,0
3617476,de,NA,Nordamerika,NI,Nicaragua,0
3624060,de,NA,Nordamerika,CR,"Costa Rica",0
3625428,de,SA,Südamerika,VE,Venezuela,0
3658394,de,SA,Südamerika,EC,Ecuador,0
3686110,de,SA,Südamerika,CO,Kolumbien,0
3703430,de,NA,Nordamerika,PA,Panama,0
3723988,de,NA,Nordamerika,HT,Haiti,0
3865483,de,SA,Südamerika,AR,Argentinien,0
3895114,de,SA,Südamerika,CL,Chile,0
3923057,de,SA,Südamerika,BO,Bolivien,0
3932488,de,SA,Südamerika,PE,Peru,0
3996063,de,NA,Nordamerika,MX,Mexiko,0
4030656,de,OC,Ozeanien,PF,Französisch-Polynesien,0
4030699,de,OC,Ozeanien,PN,Pitcairninseln,0
4030945,de,OC,Ozeanien,KI,Kiribati,0
4031074,de,OC,Ozeanien,TK,Tokelau,0
4032283,de,OC,Ozeanien,TO,Tonga,0
4034749,de,OC,Ozeanien,WF,"Wallis und Futuna",0
4034894,de,OC,Ozeanien,WS,Samoa,0
4036232,de,OC,Ozeanien,NU,Niue,0
4041468,de,OC,Ozeanien,MP,"Nördliche Marianen",0
4043988,de,OC,Ozeanien,GU,Guam,0
4566966,de,NA,Nordamerika,PR,"Puerto Rico",0
4796775,de,NA,Nordamerika,VI,"Amerikanische Jungferninseln",0
5854968,de,OC,Ozeanien,UM,"Amerikanische Überseeinseln",0
5880801,de,OC,Ozeanien,AS,Amerikanisch-Samoa,0
6251999,de,NA,Nordamerika,CA,Kanada,0
6252001,de,NA,Nordamerika,US,USA,0
6254930,de,AS,Asien,PS,Palästina,0
6255147,de,AS,Asien,,,0
6255148,de,EU,Europa,,,0
6290252,de,EU,Europa,RS,Serbien,0
6697173,de,AN,Antarktis,AQ,Antarktis,0
7609695,de,NA,Nordamerika,SX,"Sint Maarten",0
7626836,de,NA,Nordamerika,CW,Curaçao,0
7626844,de,NA,Nordamerika,BQ,"Karibische Niederlande",0
7909807,de,AF,Afrika,SS,Südsudan,0
1 geoname_id locale_code continent_code continent_name country_iso_code country_name is_in_european_union
2 49518 de AF Afrika RW Ruanda 0
3 51537 de AF Afrika SO Somalia 0
4 69543 de AS Asien YE Jemen 0
5 99237 de AS Asien IQ Irak 0
6 102358 de AS Asien SA Saudi-Arabien 0
7 130758 de AS Asien IR Iran 0
8 146669 de EU Europa CY Zypern 1
9 149590 de AF Afrika TZ Tansania 0
10 163843 de AS Asien SY Syrien 0
11 174982 de AS Asien AM Armenien 0
12 192950 de AF Afrika KE Kenia 0
13 203312 de AF Afrika CD Kongo 0
14 223816 de AF Afrika DJ Dschibuti 0
15 226074 de AF Afrika UG Uganda 0
16 239880 de AF Afrika CF Zentralafrikanische Republik 0
17 241170 de AF Afrika SC Seychellen 0
18 248816 de AS Asien JO Jordanien 0
19 272103 de AS Asien LB Libanon 0
20 285570 de AS Asien KW Kuwait 0
21 286963 de AS Asien OM Oman 0
22 289688 de AS Asien QA Katar 0
23 290291 de AS Asien BH Bahrain 0
24 290557 de AS Asien AE Vereinigte Arabische Emirate 0
25 294640 de AS Asien IL Israel 0
26 298795 de AS Asien TR Türkei 0
27 337996 de AF Afrika ET Äthiopien 0
28 338010 de AF Afrika ER Eritrea 0
29 357994 de AF Afrika EG Ägypten 0
30 366755 de AF Afrika SD Sudan 0
31 390903 de EU Europa GR Griechenland 1
32 433561 de AF Afrika BI Burundi 0
33 453733 de EU Europa EE Estland 1
34 458258 de EU Europa LV Lettland 1
35 587116 de AS Asien AZ Aserbaidschan 0
36 597427 de EU Europa LT Litauen 1
37 607072 de EU Europa SJ Spitzbergen und Jan Mayen 0
38 614540 de AS Asien GE Georgien 0
39 617790 de EU Europa MD Republik Moldau 0
40 630336 de EU Europa BY Belarus 0
41 660013 de EU Europa FI Finnland 1
42 661882 de EU Europa AX Ålandinseln 1
43 690791 de EU Europa UA Ukraine 0
44 718075 de EU Europa MK Nordmazedonien 0
45 719819 de EU Europa HU Ungarn 1
46 732800 de EU Europa BG Bulgarien 1
47 783754 de EU Europa AL Albanien 0
48 798544 de EU Europa PL Polen 1
49 798549 de EU Europa RO Rumänien 1
50 831053 de EU Europa XK Kosovo 0
51 878675 de AF Afrika ZW Simbabwe 0
52 895949 de AF Afrika ZM Sambia 0
53 921929 de AF Afrika KM Komoren 0
54 927384 de AF Afrika MW Malawi 0
55 932692 de AF Afrika LS Lesotho 0
56 933860 de AF Afrika BW Botswana 0
57 934292 de AF Afrika MU Mauritius 0
58 934841 de AF Afrika SZ Eswatini 0
59 935317 de AF Afrika RE Réunion 1
60 953987 de AF Afrika ZA Südafrika 0
61 1024031 de AF Afrika YT Mayotte 1
62 1036973 de AF Afrika MZ Mosambik 0
63 1062947 de AF Afrika MG Madagaskar 0
64 1149361 de AS Asien AF Afghanistan 0
65 1168579 de AS Asien PK Pakistan 0
66 1210997 de AS Asien BD Bangladesch 0
67 1218197 de AS Asien TM Turkmenistan 0
68 1220409 de AS Asien TJ Tadschikistan 0
69 1227603 de AS Asien LK Sri Lanka 0
70 1252634 de AS Asien BT Bhutan 0
71 1269750 de AS Asien IN Indien 0
72 1282028 de AS Asien MV Malediven 0
73 1282588 de AS Asien IO Britisches Territorium im Indischen Ozean 0
74 1282988 de AS Asien NP Nepal 0
75 1327865 de AS Asien MM Myanmar 0
76 1512440 de AS Asien UZ Usbekistan 0
77 1522867 de AS Asien KZ Kasachstan 0
78 1527747 de AS Asien KG Kirgisistan 0
79 1546748 de AN Antarktis TF Französische Süd- und Antarktisgebiete 0
80 1547314 de AN Antarktis HM Heard und McDonaldinseln 0
81 1547376 de AS Asien CC Kokosinseln 0
82 1559582 de OC Ozeanien PW Palau 0
83 1562822 de AS Asien VN Vietnam 0
84 1605651 de AS Asien TH Thailand 0
85 1643084 de AS Asien ID Indonesien 0
86 1655842 de AS Asien LA Laos 0
87 1668284 de AS Asien TW Taiwan 0
88 1694008 de AS Asien PH Philippinen 0
89 1733045 de AS Asien MY Malaysia 0
90 1814991 de AS Asien CN China 0
91 1819730 de AS Asien HK Hongkong 0
92 1820814 de AS Asien BN Brunei 0
93 1821275 de AS Asien MO Macau 0
94 1831722 de AS Asien KH Kambodscha 0
95 1835841 de AS Asien KR Südkorea 0
96 1861060 de AS Asien JP Japan 0
97 1873107 de AS Asien KP Nordkorea 0
98 1880251 de AS Asien SG Singapur 0
99 1899402 de OC Ozeanien CK Cookinseln 0
100 1966436 de OC Ozeanien TL Timor-Leste 0
101 2017370 de EU Europa RU Russland 0
102 2029969 de AS Asien MN Mongolei 0
103 2077456 de OC Ozeanien AU Australien 0
104 2078138 de OC Ozeanien CX Weihnachtsinsel 0
105 2080185 de OC Ozeanien MH Marshallinseln 0
106 2081918 de OC Ozeanien FM Mikronesien 0
107 2088628 de OC Ozeanien PG Papua-Neuguinea 0
108 2103350 de OC Ozeanien SB Salomonen 0
109 2110297 de OC Ozeanien TV Tuvalu 0
110 2110425 de OC Ozeanien NR Nauru 0
111 2134431 de OC Ozeanien VU Vanuatu 0
112 2139685 de OC Ozeanien NC Neukaledonien 0
113 2155115 de OC Ozeanien NF Norfolkinsel 0
114 2186224 de OC Ozeanien NZ Neuseeland 0
115 2205218 de OC Ozeanien FJ Fidschi 0
116 2215636 de AF Afrika LY Libyen 0
117 2233387 de AF Afrika CM Kamerun 0
118 2245662 de AF Afrika SN Senegal 0
119 2260494 de AF Afrika CG Kongo (Republik Kongo) 0
120 2264397 de EU Europa PT Portugal 1
121 2275384 de AF Afrika LR Liberia 0
122 2287781 de AF Afrika CI Elfenbeinküste 0
123 2300660 de AF Afrika GH Ghana 0
124 2309096 de AF Afrika GQ Äquatorialguinea 0
125 2328926 de AF Afrika NG Nigeria 0
126 2361809 de AF Afrika BF Burkina Faso 0
127 2363686 de AF Afrika TG Togo 0
128 2372248 de AF Afrika GW Guinea-Bissau 0
129 2378080 de AF Afrika MR Mauretanien 0
130 2395170 de AF Afrika BJ Benin 0
131 2400553 de AF Afrika GA Gabun 0
132 2403846 de AF Afrika SL Sierra Leone 0
133 2410758 de AF Afrika ST São Tomé und Príncipe 0
134 2411586 de EU Europa GI Gibraltar 0
135 2413451 de AF Afrika GM Gambia 0
136 2420477 de AF Afrika GN Guinea 0
137 2434508 de AF Afrika TD Tschad 0
138 2440476 de AF Afrika NE Niger 0
139 2453866 de AF Afrika ML Mali 0
140 2461445 de AF Afrika EH Westsahara 0
141 2464461 de AF Afrika TN Tunesien 0
142 2510769 de EU Europa ES Spanien 1
143 2542007 de AF Afrika MA Marokko 0
144 2562770 de EU Europa MT Malta 1
145 2589581 de AF Afrika DZ Algerien 0
146 2622320 de EU Europa FO Färöer 0
147 2623032 de EU Europa DK Dänemark 1
148 2629691 de EU Europa IS Island 0
149 2635167 de EU Europa GB UK 0
150 2658434 de EU Europa CH Schweiz 0
151 2661886 de EU Europa SE Schweden 1
152 2750405 de EU Europa NL Niederlande 1
153 2782113 de EU Europa AT Österreich 1
154 2802361 de EU Europa BE Belgien 1
155 2921044 de EU Europa DE Deutschland 1
156 2960313 de EU Europa LU Luxemburg 1
157 2963597 de EU Europa IE Irland 1
158 2993457 de EU Europa MC Monaco 0
159 3017382 de EU Europa FR Frankreich 1
160 3041565 de EU Europa AD Andorra 0
161 3042058 de EU Europa LI Liechtenstein 0
162 3042142 de EU Europa JE Jersey 0
163 3042225 de EU Europa IM Isle of Man 0
164 3042362 de EU Europa GG Guernsey 0
165 3057568 de EU Europa SK Slowakei 1
166 3077311 de EU Europa CZ Tschechien 1
167 3144096 de EU Europa NO Norwegen 0
168 3164670 de EU Europa VA Vatikanstadt 0
169 3168068 de EU Europa SM San Marino 0
170 3175395 de EU Europa IT Italien 1
171 3190538 de EU Europa SI Slowenien 1
172 3194884 de EU Europa ME Montenegro 0
173 3202326 de EU Europa HR Kroatien 1
174 3277605 de EU Europa BA Bosnien und Herzegowina 0
175 3351879 de AF Afrika AO Angola 0
176 3355338 de AF Afrika NA Namibia 0
177 3370751 de AF Afrika SH St. Helena 0
178 3371123 de AN Antarktis BV Bouvetinsel 0
179 3374084 de NA Nordamerika BB Barbados 0
180 3374766 de AF Afrika CV Kapverden 0
181 3378535 de SA Südamerika GY Guyana 0
182 3381670 de SA Südamerika GF Französisch-Guayana 1
183 3382998 de SA Südamerika SR Suriname 0
184 3424932 de NA Nordamerika PM St. Pierre und Miquelon 0
185 3425505 de NA Nordamerika GL Grönland 0
186 3437598 de SA Südamerika PY Paraguay 0
187 3439705 de SA Südamerika UY Uruguay 0
188 3469034 de SA Südamerika BR Brasilien 0
189 3474414 de SA Südamerika FK Falklandinseln 0
190 3474415 de AN Antarktis GS Südgeorgien und die Südlichen Sandwichinseln 0
191 3489940 de NA Nordamerika JM Jamaika 0
192 3508796 de NA Nordamerika DO Dom. Republik 0
193 3562981 de NA Nordamerika CU Kuba 0
194 3570311 de NA Nordamerika MQ Martinique 1
195 3572887 de NA Nordamerika BS Bahamas 0
196 3573345 de NA Nordamerika BM Bermuda 0
197 3573511 de NA Nordamerika AI Anguilla 0
198 3573591 de NA Nordamerika TT Trinidad und Tobago 0
199 3575174 de NA Nordamerika KN St. Kitts und Nevis 0
200 3575830 de NA Nordamerika DM Dominica 0
201 3576396 de NA Nordamerika AG Antigua und Barbuda 0
202 3576468 de NA Nordamerika LC St. Lucia 0
203 3576916 de NA Nordamerika TC Turks- und Caicosinseln 0
204 3577279 de NA Nordamerika AW Aruba 0
205 3577718 de NA Nordamerika VG Britische Jungferninseln 0
206 3577815 de NA Nordamerika VC St. Vincent und die Grenadinen 0
207 3578097 de NA Nordamerika MS Montserrat 0
208 3578421 de NA Nordamerika MF St. Martin 1
209 3578476 de NA Nordamerika BL St. Barthélemy 0
210 3579143 de NA Nordamerika GP Guadeloupe 1
211 3580239 de NA Nordamerika GD Grenada 0
212 3580718 de NA Nordamerika KY Kaimaninseln 0
213 3582678 de NA Nordamerika BZ Belize 0
214 3585968 de NA Nordamerika SV El Salvador 0
215 3595528 de NA Nordamerika GT Guatemala 0
216 3608932 de NA Nordamerika HN Honduras 0
217 3617476 de NA Nordamerika NI Nicaragua 0
218 3624060 de NA Nordamerika CR Costa Rica 0
219 3625428 de SA Südamerika VE Venezuela 0
220 3658394 de SA Südamerika EC Ecuador 0
221 3686110 de SA Südamerika CO Kolumbien 0
222 3703430 de NA Nordamerika PA Panama 0
223 3723988 de NA Nordamerika HT Haiti 0
224 3865483 de SA Südamerika AR Argentinien 0
225 3895114 de SA Südamerika CL Chile 0
226 3923057 de SA Südamerika BO Bolivien 0
227 3932488 de SA Südamerika PE Peru 0
228 3996063 de NA Nordamerika MX Mexiko 0
229 4030656 de OC Ozeanien PF Französisch-Polynesien 0
230 4030699 de OC Ozeanien PN Pitcairninseln 0
231 4030945 de OC Ozeanien KI Kiribati 0
232 4031074 de OC Ozeanien TK Tokelau 0
233 4032283 de OC Ozeanien TO Tonga 0
234 4034749 de OC Ozeanien WF Wallis und Futuna 0
235 4034894 de OC Ozeanien WS Samoa 0
236 4036232 de OC Ozeanien NU Niue 0
237 4041468 de OC Ozeanien MP Nördliche Marianen 0
238 4043988 de OC Ozeanien GU Guam 0
239 4566966 de NA Nordamerika PR Puerto Rico 0
240 4796775 de NA Nordamerika VI Amerikanische Jungferninseln 0
241 5854968 de OC Ozeanien UM Amerikanische Überseeinseln 0
242 5880801 de OC Ozeanien AS Amerikanisch-Samoa 0
243 6251999 de NA Nordamerika CA Kanada 0
244 6252001 de NA Nordamerika US USA 0
245 6254930 de AS Asien PS Palästina 0
246 6255147 de AS Asien 0
247 6255148 de EU Europa 0
248 6290252 de EU Europa RS Serbien 0
249 6697173 de AN Antarktis AQ Antarktis 0
250 7609695 de NA Nordamerika SX Sint Maarten 0
251 7626836 de NA Nordamerika CW Curaçao 0
252 7626844 de NA Nordamerika BQ Karibische Niederlande 0
253 7909807 de AF Afrika SS Südsudan 0

@ -0,0 +1,253 @@
geoname_id,locale_code,continent_code,continent_name,country_iso_code,country_name,is_in_european_union
49518,en,AF,Africa,RW,Rwanda,0
51537,en,AF,Africa,SO,Somalia,0
69543,en,AS,Asia,YE,Yemen,0
99237,en,AS,Asia,IQ,Iraq,0
102358,en,AS,Asia,SA,"Saudi Arabia",0
130758,en,AS,Asia,IR,Iran,0
146669,en,EU,Europe,CY,Cyprus,1
149590,en,AF,Africa,TZ,Tanzania,0
163843,en,AS,Asia,SY,Syria,0
174982,en,AS,Asia,AM,Armenia,0
192950,en,AF,Africa,KE,Kenya,0
203312,en,AF,Africa,CD,"DR Congo",0
223816,en,AF,Africa,DJ,Djibouti,0
226074,en,AF,Africa,UG,Uganda,0
239880,en,AF,Africa,CF,"Central African Republic",0
241170,en,AF,Africa,SC,Seychelles,0
248816,en,AS,Asia,JO,Jordan,0
272103,en,AS,Asia,LB,Lebanon,0
285570,en,AS,Asia,KW,Kuwait,0
286963,en,AS,Asia,OM,Oman,0
289688,en,AS,Asia,QA,Qatar,0
290291,en,AS,Asia,BH,Bahrain,0
290557,en,AS,Asia,AE,"United Arab Emirates",0
294640,en,AS,Asia,IL,Israel,0
298795,en,AS,Asia,TR,Türkiye,0
337996,en,AF,Africa,ET,Ethiopia,0
338010,en,AF,Africa,ER,Eritrea,0
357994,en,AF,Africa,EG,Egypt,0
366755,en,AF,Africa,SD,Sudan,0
390903,en,EU,Europe,GR,Greece,1
433561,en,AF,Africa,BI,Burundi,0
453733,en,EU,Europe,EE,Estonia,1
458258,en,EU,Europe,LV,Latvia,1
587116,en,AS,Asia,AZ,Azerbaijan,0
597427,en,EU,Europe,LT,Lithuania,1
607072,en,EU,Europe,SJ,"Svalbard and Jan Mayen",0
614540,en,AS,Asia,GE,Georgia,0
617790,en,EU,Europe,MD,Moldova,0
630336,en,EU,Europe,BY,Belarus,0
660013,en,EU,Europe,FI,Finland,1
661882,en,EU,Europe,AX,"Åland Islands",1
690791,en,EU,Europe,UA,Ukraine,0
718075,en,EU,Europe,MK,"North Macedonia",0
719819,en,EU,Europe,HU,Hungary,1
732800,en,EU,Europe,BG,Bulgaria,1
783754,en,EU,Europe,AL,Albania,0
798544,en,EU,Europe,PL,Poland,1
798549,en,EU,Europe,RO,Romania,1
831053,en,EU,Europe,XK,Kosovo,0
878675,en,AF,Africa,ZW,Zimbabwe,0
895949,en,AF,Africa,ZM,Zambia,0
921929,en,AF,Africa,KM,Comoros,0
927384,en,AF,Africa,MW,Malawi,0
932692,en,AF,Africa,LS,Lesotho,0
933860,en,AF,Africa,BW,Botswana,0
934292,en,AF,Africa,MU,Mauritius,0
934841,en,AF,Africa,SZ,Eswatini,0
935317,en,AF,Africa,RE,Réunion,1
953987,en,AF,Africa,ZA,"South Africa",0
1024031,en,AF,Africa,YT,Mayotte,1
1036973,en,AF,Africa,MZ,Mozambique,0
1062947,en,AF,Africa,MG,Madagascar,0
1149361,en,AS,Asia,AF,Afghanistan,0
1168579,en,AS,Asia,PK,Pakistan,0
1210997,en,AS,Asia,BD,Bangladesh,0
1218197,en,AS,Asia,TM,Turkmenistan,0
1220409,en,AS,Asia,TJ,Tajikistan,0
1227603,en,AS,Asia,LK,"Sri Lanka",0
1252634,en,AS,Asia,BT,Bhutan,0
1269750,en,AS,Asia,IN,India,0
1282028,en,AS,Asia,MV,Maldives,0
1282588,en,AS,Asia,IO,"British Indian Ocean Territory",0
1282988,en,AS,Asia,NP,Nepal,0
1327865,en,AS,Asia,MM,Myanmar,0
1512440,en,AS,Asia,UZ,Uzbekistan,0
1522867,en,AS,Asia,KZ,Kazakhstan,0
1527747,en,AS,Asia,KG,Kyrgyzstan,0
1546748,en,AN,Antarctica,TF,"French Southern Territories",0
1547314,en,AN,Antarctica,HM,"Heard and McDonald Islands",0
1547376,en,AS,Asia,CC,"Cocos (Keeling) Islands",0
1559582,en,OC,Oceania,PW,Palau,0
1562822,en,AS,Asia,VN,Vietnam,0
1605651,en,AS,Asia,TH,Thailand,0
1643084,en,AS,Asia,ID,Indonesia,0
1655842,en,AS,Asia,LA,Laos,0
1668284,en,AS,Asia,TW,Taiwan,0
1694008,en,AS,Asia,PH,Philippines,0
1733045,en,AS,Asia,MY,Malaysia,0
1814991,en,AS,Asia,CN,China,0
1819730,en,AS,Asia,HK,"Hong Kong",0
1820814,en,AS,Asia,BN,Brunei,0
1821275,en,AS,Asia,MO,Macao,0
1831722,en,AS,Asia,KH,Cambodia,0
1835841,en,AS,Asia,KR,"South Korea",0
1861060,en,AS,Asia,JP,Japan,0
1873107,en,AS,Asia,KP,"North Korea",0
1880251,en,AS,Asia,SG,Singapore,0
1899402,en,OC,Oceania,CK,"Cook Islands",0
1966436,en,OC,Oceania,TL,Timor-Leste,0
2017370,en,EU,Europe,RU,Russia,0
2029969,en,AS,Asia,MN,Mongolia,0
2077456,en,OC,Oceania,AU,Australia,0
2078138,en,OC,Oceania,CX,"Christmas Island",0
2080185,en,OC,Oceania,MH,"Marshall Islands",0
2081918,en,OC,Oceania,FM,"Federated States of Micronesia",0
2088628,en,OC,Oceania,PG,"Papua New Guinea",0
2103350,en,OC,Oceania,SB,"Solomon Islands",0
2110297,en,OC,Oceania,TV,Tuvalu,0
2110425,en,OC,Oceania,NR,Nauru,0
2134431,en,OC,Oceania,VU,Vanuatu,0
2139685,en,OC,Oceania,NC,"New Caledonia",0
2155115,en,OC,Oceania,NF,"Norfolk Island",0
2186224,en,OC,Oceania,NZ,"New Zealand",0
2205218,en,OC,Oceania,FJ,Fiji,0
2215636,en,AF,Africa,LY,Libya,0
2233387,en,AF,Africa,CM,Cameroon,0
2245662,en,AF,Africa,SN,Senegal,0
2260494,en,AF,Africa,CG,"Congo Republic",0
2264397,en,EU,Europe,PT,Portugal,1
2275384,en,AF,Africa,LR,Liberia,0
2287781,en,AF,Africa,CI,"Ivory Coast",0
2300660,en,AF,Africa,GH,Ghana,0
2309096,en,AF,Africa,GQ,"Equatorial Guinea",0
2328926,en,AF,Africa,NG,Nigeria,0
2361809,en,AF,Africa,BF,"Burkina Faso",0
2363686,en,AF,Africa,TG,Togo,0
2372248,en,AF,Africa,GW,Guinea-Bissau,0
2378080,en,AF,Africa,MR,Mauritania,0
2395170,en,AF,Africa,BJ,Benin,0
2400553,en,AF,Africa,GA,Gabon,0
2403846,en,AF,Africa,SL,"Sierra Leone",0
2410758,en,AF,Africa,ST,"São Tomé and Príncipe",0
2411586,en,EU,Europe,GI,Gibraltar,0
2413451,en,AF,Africa,GM,Gambia,0
2420477,en,AF,Africa,GN,Guinea,0
2434508,en,AF,Africa,TD,Chad,0
2440476,en,AF,Africa,NE,Niger,0
2453866,en,AF,Africa,ML,Mali,0
2461445,en,AF,Africa,EH,"Western Sahara",0
2464461,en,AF,Africa,TN,Tunisia,0
2510769,en,EU,Europe,ES,Spain,1
2542007,en,AF,Africa,MA,Morocco,0
2562770,en,EU,Europe,MT,Malta,1
2589581,en,AF,Africa,DZ,Algeria,0
2622320,en,EU,Europe,FO,"Faroe Islands",0
2623032,en,EU,Europe,DK,Denmark,1
2629691,en,EU,Europe,IS,Iceland,0
2635167,en,EU,Europe,GB,"United Kingdom",0
2658434,en,EU,Europe,CH,Switzerland,0
2661886,en,EU,Europe,SE,Sweden,1
2750405,en,EU,Europe,NL,"The Netherlands",1
2782113,en,EU,Europe,AT,Austria,1
2802361,en,EU,Europe,BE,Belgium,1
2921044,en,EU,Europe,DE,Germany,1
2960313,en,EU,Europe,LU,Luxembourg,1
2963597,en,EU,Europe,IE,Ireland,1
2993457,en,EU,Europe,MC,Monaco,0
3017382,en,EU,Europe,FR,France,1
3041565,en,EU,Europe,AD,Andorra,0
3042058,en,EU,Europe,LI,Liechtenstein,0
3042142,en,EU,Europe,JE,Jersey,0
3042225,en,EU,Europe,IM,"Isle of Man",0
3042362,en,EU,Europe,GG,Guernsey,0
3057568,en,EU,Europe,SK,Slovakia,1
3077311,en,EU,Europe,CZ,Czechia,1
3144096,en,EU,Europe,NO,Norway,0
3164670,en,EU,Europe,VA,"Vatican City",0
3168068,en,EU,Europe,SM,"San Marino",0
3175395,en,EU,Europe,IT,Italy,1
3190538,en,EU,Europe,SI,Slovenia,1
3194884,en,EU,Europe,ME,Montenegro,0
3202326,en,EU,Europe,HR,Croatia,1
3277605,en,EU,Europe,BA,"Bosnia and Herzegovina",0
3351879,en,AF,Africa,AO,Angola,0
3355338,en,AF,Africa,NA,Namibia,0
3370751,en,AF,Africa,SH,"Saint Helena",0
3371123,en,AN,Antarctica,BV,"Bouvet Island",0
3374084,en,NA,"North America",BB,Barbados,0
3374766,en,AF,Africa,CV,"Cabo Verde",0
3378535,en,SA,"South America",GY,Guyana,0
3381670,en,SA,"South America",GF,"French Guiana",1
3382998,en,SA,"South America",SR,Suriname,0
3424932,en,NA,"North America",PM,"Saint Pierre and Miquelon",0
3425505,en,NA,"North America",GL,Greenland,0
3437598,en,SA,"South America",PY,Paraguay,0
3439705,en,SA,"South America",UY,Uruguay,0
3469034,en,SA,"South America",BR,Brazil,0
3474414,en,SA,"South America",FK,"Falkland Islands",0
3474415,en,AN,Antarctica,GS,"South Georgia and the South Sandwich Islands",0
3489940,en,NA,"North America",JM,Jamaica,0
3508796,en,NA,"North America",DO,"Dominican Republic",0
3562981,en,NA,"North America",CU,Cuba,0
3570311,en,NA,"North America",MQ,Martinique,1
3572887,en,NA,"North America",BS,Bahamas,0
3573345,en,NA,"North America",BM,Bermuda,0
3573511,en,NA,"North America",AI,Anguilla,0
3573591,en,NA,"North America",TT,"Trinidad and Tobago",0
3575174,en,NA,"North America",KN,"St Kitts and Nevis",0
3575830,en,NA,"North America",DM,Dominica,0
3576396,en,NA,"North America",AG,"Antigua and Barbuda",0
3576468,en,NA,"North America",LC,"Saint Lucia",0
3576916,en,NA,"North America",TC,"Turks and Caicos Islands",0
3577279,en,NA,"North America",AW,Aruba,0
3577718,en,NA,"North America",VG,"British Virgin Islands",0
3577815,en,NA,"North America",VC,"St Vincent and Grenadines",0
3578097,en,NA,"North America",MS,Montserrat,0
3578421,en,NA,"North America",MF,"Saint Martin",1
3578476,en,NA,"North America",BL,"Saint Barthélemy",0
3579143,en,NA,"North America",GP,Guadeloupe,1
3580239,en,NA,"North America",GD,Grenada,0
3580718,en,NA,"North America",KY,"Cayman Islands",0
3582678,en,NA,"North America",BZ,Belize,0
3585968,en,NA,"North America",SV,"El Salvador",0
3595528,en,NA,"North America",GT,Guatemala,0
3608932,en,NA,"North America",HN,Honduras,0
3617476,en,NA,"North America",NI,Nicaragua,0
3624060,en,NA,"North America",CR,"Costa Rica",0
3625428,en,SA,"South America",VE,Venezuela,0
3658394,en,SA,"South America",EC,Ecuador,0
3686110,en,SA,"South America",CO,Colombia,0
3703430,en,NA,"North America",PA,Panama,0
3723988,en,NA,"North America",HT,Haiti,0
3865483,en,SA,"South America",AR,Argentina,0
3895114,en,SA,"South America",CL,Chile,0
3923057,en,SA,"South America",BO,Bolivia,0
3932488,en,SA,"South America",PE,Peru,0
3996063,en,NA,"North America",MX,Mexico,0
4030656,en,OC,Oceania,PF,"French Polynesia",0
4030699,en,OC,Oceania,PN,"Pitcairn Islands",0
4030945,en,OC,Oceania,KI,Kiribati,0
4031074,en,OC,Oceania,TK,Tokelau,0
4032283,en,OC,Oceania,TO,Tonga,0
4034749,en,OC,Oceania,WF,"Wallis and Futuna",0
4034894,en,OC,Oceania,WS,Samoa,0
4036232,en,OC,Oceania,NU,Niue,0
4041468,en,OC,Oceania,MP,"Northern Mariana Islands",0
4043988,en,OC,Oceania,GU,Guam,0
4566966,en,NA,"North America",PR,"Puerto Rico",0
4796775,en,NA,"North America",VI,"U.S. Virgin Islands",0
5854968,en,OC,Oceania,UM,"U.S. Outlying Islands",0
5880801,en,OC,Oceania,AS,"American Samoa",0
6251999,en,NA,"North America",CA,Canada,0
6252001,en,NA,"North America",US,"United States",0
6254930,en,AS,Asia,PS,Palestine,0
6255147,en,AS,Asia,,,0
6255148,en,EU,Europe,,,0
6290252,en,EU,Europe,RS,Serbia,0
6697173,en,AN,Antarctica,AQ,Antarctica,0
7609695,en,NA,"North America",SX,"Sint Maarten",0
7626836,en,NA,"North America",CW,Curaçao,0
7626844,en,NA,"North America",BQ,"Bonaire, Sint Eustatius, and Saba",0
7909807,en,AF,Africa,SS,"South Sudan",0
1 geoname_id locale_code continent_code continent_name country_iso_code country_name is_in_european_union
2 49518 en AF Africa RW Rwanda 0
3 51537 en AF Africa SO Somalia 0
4 69543 en AS Asia YE Yemen 0
5 99237 en AS Asia IQ Iraq 0
6 102358 en AS Asia SA Saudi Arabia 0
7 130758 en AS Asia IR Iran 0
8 146669 en EU Europe CY Cyprus 1
9 149590 en AF Africa TZ Tanzania 0
10 163843 en AS Asia SY Syria 0
11 174982 en AS Asia AM Armenia 0
12 192950 en AF Africa KE Kenya 0
13 203312 en AF Africa CD DR Congo 0
14 223816 en AF Africa DJ Djibouti 0
15 226074 en AF Africa UG Uganda 0
16 239880 en AF Africa CF Central African Republic 0
17 241170 en AF Africa SC Seychelles 0
18 248816 en AS Asia JO Jordan 0
19 272103 en AS Asia LB Lebanon 0
20 285570 en AS Asia KW Kuwait 0
21 286963 en AS Asia OM Oman 0
22 289688 en AS Asia QA Qatar 0
23 290291 en AS Asia BH Bahrain 0
24 290557 en AS Asia AE United Arab Emirates 0
25 294640 en AS Asia IL Israel 0
26 298795 en AS Asia TR Türkiye 0
27 337996 en AF Africa ET Ethiopia 0
28 338010 en AF Africa ER Eritrea 0
29 357994 en AF Africa EG Egypt 0
30 366755 en AF Africa SD Sudan 0
31 390903 en EU Europe GR Greece 1
32 433561 en AF Africa BI Burundi 0
33 453733 en EU Europe EE Estonia 1
34 458258 en EU Europe LV Latvia 1
35 587116 en AS Asia AZ Azerbaijan 0
36 597427 en EU Europe LT Lithuania 1
37 607072 en EU Europe SJ Svalbard and Jan Mayen 0
38 614540 en AS Asia GE Georgia 0
39 617790 en EU Europe MD Moldova 0
40 630336 en EU Europe BY Belarus 0
41 660013 en EU Europe FI Finland 1
42 661882 en EU Europe AX Åland Islands 1
43 690791 en EU Europe UA Ukraine 0
44 718075 en EU Europe MK North Macedonia 0
45 719819 en EU Europe HU Hungary 1
46 732800 en EU Europe BG Bulgaria 1
47 783754 en EU Europe AL Albania 0
48 798544 en EU Europe PL Poland 1
49 798549 en EU Europe RO Romania 1
50 831053 en EU Europe XK Kosovo 0
51 878675 en AF Africa ZW Zimbabwe 0
52 895949 en AF Africa ZM Zambia 0
53 921929 en AF Africa KM Comoros 0
54 927384 en AF Africa MW Malawi 0
55 932692 en AF Africa LS Lesotho 0
56 933860 en AF Africa BW Botswana 0
57 934292 en AF Africa MU Mauritius 0
58 934841 en AF Africa SZ Eswatini 0
59 935317 en AF Africa RE Réunion 1
60 953987 en AF Africa ZA South Africa 0
61 1024031 en AF Africa YT Mayotte 1
62 1036973 en AF Africa MZ Mozambique 0
63 1062947 en AF Africa MG Madagascar 0
64 1149361 en AS Asia AF Afghanistan 0
65 1168579 en AS Asia PK Pakistan 0
66 1210997 en AS Asia BD Bangladesh 0
67 1218197 en AS Asia TM Turkmenistan 0
68 1220409 en AS Asia TJ Tajikistan 0
69 1227603 en AS Asia LK Sri Lanka 0
70 1252634 en AS Asia BT Bhutan 0
71 1269750 en AS Asia IN India 0
72 1282028 en AS Asia MV Maldives 0
73 1282588 en AS Asia IO British Indian Ocean Territory 0
74 1282988 en AS Asia NP Nepal 0
75 1327865 en AS Asia MM Myanmar 0
76 1512440 en AS Asia UZ Uzbekistan 0
77 1522867 en AS Asia KZ Kazakhstan 0
78 1527747 en AS Asia KG Kyrgyzstan 0
79 1546748 en AN Antarctica TF French Southern Territories 0
80 1547314 en AN Antarctica HM Heard and McDonald Islands 0
81 1547376 en AS Asia CC Cocos (Keeling) Islands 0
82 1559582 en OC Oceania PW Palau 0
83 1562822 en AS Asia VN Vietnam 0
84 1605651 en AS Asia TH Thailand 0
85 1643084 en AS Asia ID Indonesia 0
86 1655842 en AS Asia LA Laos 0
87 1668284 en AS Asia TW Taiwan 0
88 1694008 en AS Asia PH Philippines 0
89 1733045 en AS Asia MY Malaysia 0
90 1814991 en AS Asia CN China 0
91 1819730 en AS Asia HK Hong Kong 0
92 1820814 en AS Asia BN Brunei 0
93 1821275 en AS Asia MO Macao 0
94 1831722 en AS Asia KH Cambodia 0
95 1835841 en AS Asia KR South Korea 0
96 1861060 en AS Asia JP Japan 0
97 1873107 en AS Asia KP North Korea 0
98 1880251 en AS Asia SG Singapore 0
99 1899402 en OC Oceania CK Cook Islands 0
100 1966436 en OC Oceania TL Timor-Leste 0
101 2017370 en EU Europe RU Russia 0
102 2029969 en AS Asia MN Mongolia 0
103 2077456 en OC Oceania AU Australia 0
104 2078138 en OC Oceania CX Christmas Island 0
105 2080185 en OC Oceania MH Marshall Islands 0
106 2081918 en OC Oceania FM Federated States of Micronesia 0
107 2088628 en OC Oceania PG Papua New Guinea 0
108 2103350 en OC Oceania SB Solomon Islands 0
109 2110297 en OC Oceania TV Tuvalu 0
110 2110425 en OC Oceania NR Nauru 0
111 2134431 en OC Oceania VU Vanuatu 0
112 2139685 en OC Oceania NC New Caledonia 0
113 2155115 en OC Oceania NF Norfolk Island 0
114 2186224 en OC Oceania NZ New Zealand 0
115 2205218 en OC Oceania FJ Fiji 0
116 2215636 en AF Africa LY Libya 0
117 2233387 en AF Africa CM Cameroon 0
118 2245662 en AF Africa SN Senegal 0
119 2260494 en AF Africa CG Congo Republic 0
120 2264397 en EU Europe PT Portugal 1
121 2275384 en AF Africa LR Liberia 0
122 2287781 en AF Africa CI Ivory Coast 0
123 2300660 en AF Africa GH Ghana 0
124 2309096 en AF Africa GQ Equatorial Guinea 0
125 2328926 en AF Africa NG Nigeria 0
126 2361809 en AF Africa BF Burkina Faso 0
127 2363686 en AF Africa TG Togo 0
128 2372248 en AF Africa GW Guinea-Bissau 0
129 2378080 en AF Africa MR Mauritania 0
130 2395170 en AF Africa BJ Benin 0
131 2400553 en AF Africa GA Gabon 0
132 2403846 en AF Africa SL Sierra Leone 0
133 2410758 en AF Africa ST São Tomé and Príncipe 0
134 2411586 en EU Europe GI Gibraltar 0
135 2413451 en AF Africa GM Gambia 0
136 2420477 en AF Africa GN Guinea 0
137 2434508 en AF Africa TD Chad 0
138 2440476 en AF Africa NE Niger 0
139 2453866 en AF Africa ML Mali 0
140 2461445 en AF Africa EH Western Sahara 0
141 2464461 en AF Africa TN Tunisia 0
142 2510769 en EU Europe ES Spain 1
143 2542007 en AF Africa MA Morocco 0
144 2562770 en EU Europe MT Malta 1
145 2589581 en AF Africa DZ Algeria 0
146 2622320 en EU Europe FO Faroe Islands 0
147 2623032 en EU Europe DK Denmark 1
148 2629691 en EU Europe IS Iceland 0
149 2635167 en EU Europe GB United Kingdom 0
150 2658434 en EU Europe CH Switzerland 0
151 2661886 en EU Europe SE Sweden 1
152 2750405 en EU Europe NL The Netherlands 1
153 2782113 en EU Europe AT Austria 1
154 2802361 en EU Europe BE Belgium 1
155 2921044 en EU Europe DE Germany 1
156 2960313 en EU Europe LU Luxembourg 1
157 2963597 en EU Europe IE Ireland 1
158 2993457 en EU Europe MC Monaco 0
159 3017382 en EU Europe FR France 1
160 3041565 en EU Europe AD Andorra 0
161 3042058 en EU Europe LI Liechtenstein 0
162 3042142 en EU Europe JE Jersey 0
163 3042225 en EU Europe IM Isle of Man 0
164 3042362 en EU Europe GG Guernsey 0
165 3057568 en EU Europe SK Slovakia 1
166 3077311 en EU Europe CZ Czechia 1
167 3144096 en EU Europe NO Norway 0
168 3164670 en EU Europe VA Vatican City 0
169 3168068 en EU Europe SM San Marino 0
170 3175395 en EU Europe IT Italy 1
171 3190538 en EU Europe SI Slovenia 1
172 3194884 en EU Europe ME Montenegro 0
173 3202326 en EU Europe HR Croatia 1
174 3277605 en EU Europe BA Bosnia and Herzegovina 0
175 3351879 en AF Africa AO Angola 0
176 3355338 en AF Africa NA Namibia 0
177 3370751 en AF Africa SH Saint Helena 0
178 3371123 en AN Antarctica BV Bouvet Island 0
179 3374084 en NA North America BB Barbados 0
180 3374766 en AF Africa CV Cabo Verde 0
181 3378535 en SA South America GY Guyana 0
182 3381670 en SA South America GF French Guiana 1
183 3382998 en SA South America SR Suriname 0
184 3424932 en NA North America PM Saint Pierre and Miquelon 0
185 3425505 en NA North America GL Greenland 0
186 3437598 en SA South America PY Paraguay 0
187 3439705 en SA South America UY Uruguay 0
188 3469034 en SA South America BR Brazil 0
189 3474414 en SA South America FK Falkland Islands 0
190 3474415 en AN Antarctica GS South Georgia and the South Sandwich Islands 0
191 3489940 en NA North America JM Jamaica 0
192 3508796 en NA North America DO Dominican Republic 0
193 3562981 en NA North America CU Cuba 0
194 3570311 en NA North America MQ Martinique 1
195 3572887 en NA North America BS Bahamas 0
196 3573345 en NA North America BM Bermuda 0
197 3573511 en NA North America AI Anguilla 0
198 3573591 en NA North America TT Trinidad and Tobago 0
199 3575174 en NA North America KN St Kitts and Nevis 0
200 3575830 en NA North America DM Dominica 0
201 3576396 en NA North America AG Antigua and Barbuda 0
202 3576468 en NA North America LC Saint Lucia 0
203 3576916 en NA North America TC Turks and Caicos Islands 0
204 3577279 en NA North America AW Aruba 0
205 3577718 en NA North America VG British Virgin Islands 0
206 3577815 en NA North America VC St Vincent and Grenadines 0
207 3578097 en NA North America MS Montserrat 0
208 3578421 en NA North America MF Saint Martin 1
209 3578476 en NA North America BL Saint Barthélemy 0
210 3579143 en NA North America GP Guadeloupe 1
211 3580239 en NA North America GD Grenada 0
212 3580718 en NA North America KY Cayman Islands 0
213 3582678 en NA North America BZ Belize 0
214 3585968 en NA North America SV El Salvador 0
215 3595528 en NA North America GT Guatemala 0
216 3608932 en NA North America HN Honduras 0
217 3617476 en NA North America NI Nicaragua 0
218 3624060 en NA North America CR Costa Rica 0
219 3625428 en SA South America VE Venezuela 0
220 3658394 en SA South America EC Ecuador 0
221 3686110 en SA South America CO Colombia 0
222 3703430 en NA North America PA Panama 0
223 3723988 en NA North America HT Haiti 0
224 3865483 en SA South America AR Argentina 0
225 3895114 en SA South America CL Chile 0
226 3923057 en SA South America BO Bolivia 0
227 3932488 en SA South America PE Peru 0
228 3996063 en NA North America MX Mexico 0
229 4030656 en OC Oceania PF French Polynesia 0
230 4030699 en OC Oceania PN Pitcairn Islands 0
231 4030945 en OC Oceania KI Kiribati 0
232 4031074 en OC Oceania TK Tokelau 0
233 4032283 en OC Oceania TO Tonga 0
234 4034749 en OC Oceania WF Wallis and Futuna 0
235 4034894 en OC Oceania WS Samoa 0
236 4036232 en OC Oceania NU Niue 0
237 4041468 en OC Oceania MP Northern Mariana Islands 0
238 4043988 en OC Oceania GU Guam 0
239 4566966 en NA North America PR Puerto Rico 0
240 4796775 en NA North America VI U.S. Virgin Islands 0
241 5854968 en OC Oceania UM U.S. Outlying Islands 0
242 5880801 en OC Oceania AS American Samoa 0
243 6251999 en NA North America CA Canada 0
244 6252001 en NA North America US United States 0
245 6254930 en AS Asia PS Palestine 0
246 6255147 en AS Asia 0
247 6255148 en EU Europe 0
248 6290252 en EU Europe RS Serbia 0
249 6697173 en AN Antarctica AQ Antarctica 0
250 7609695 en NA North America SX Sint Maarten 0
251 7626836 en NA North America CW Curaçao 0
252 7626844 en NA North America BQ Bonaire, Sint Eustatius, and Saba 0
253 7909807 en AF Africa SS South Sudan 0

@ -0,0 +1,253 @@
geoname_id,locale_code,continent_code,continent_name,country_iso_code,country_name,is_in_european_union
49518,es,AF,África,RW,Ruanda,0
51537,es,AF,África,SO,Somalia,0
69543,es,AS,Asia,YE,Yemen,0
99237,es,AS,Asia,IQ,Irak,0
102358,es,AS,Asia,SA,"Arabia Saudí",0
130758,es,AS,Asia,IR,Irán,0
146669,es,EU,Europa,CY,Chipre,1
149590,es,AF,África,TZ,Tanzania,0
163843,es,AS,Asia,SY,Siria,0
174982,es,AS,Asia,AM,Armenia,0
192950,es,AF,África,KE,Kenia,0
203312,es,AF,África,CD,"Congo Democrático",0
223816,es,AF,África,DJ,Yibuti,0
226074,es,AF,África,UG,Uganda,0
239880,es,AF,África,CF,"República Centroafricana",0
241170,es,AF,África,SC,Seychelles,0
248816,es,AS,Asia,JO,Jordania,0
272103,es,AS,Asia,LB,Líbano,0
285570,es,AS,Asia,KW,Kuwait,0
286963,es,AS,Asia,OM,Omán,0
289688,es,AS,Asia,QA,Catar,0
290291,es,AS,Asia,BH,Bahréin,0
290557,es,AS,Asia,AE,"Emiratos Árabes Unidos",0
294640,es,AS,Asia,IL,Israel,0
298795,es,AS,Asia,TR,Turquía,0
337996,es,AF,África,ET,Etiopía,0
338010,es,AF,África,ER,Eritrea,0
357994,es,AF,África,EG,Egipto,0
366755,es,AF,África,SD,Sudán,0
390903,es,EU,Europa,GR,Grecia,1
433561,es,AF,África,BI,Burundi,0
453733,es,EU,Europa,EE,Estonia,1
458258,es,EU,Europa,LV,Letonia,1
587116,es,AS,Asia,AZ,Azerbaiyán,0
597427,es,EU,Europa,LT,Lituania,1
607072,es,EU,Europa,SJ,"Svalbard y Jan Mayen",0
614540,es,AS,Asia,GE,Georgia,0
617790,es,EU,Europa,MD,Moldavia,0
630336,es,EU,Europa,BY,Bielorrusia,0
660013,es,EU,Europa,FI,Finlandia,1
661882,es,EU,Europa,AX,"Islas Aland",1
690791,es,EU,Europa,UA,Ucrania,0
718075,es,EU,Europa,MK,"Macedonia del Norte",0
719819,es,EU,Europa,HU,Hungría,1
732800,es,EU,Europa,BG,Bulgaria,1
783754,es,EU,Europa,AL,Albania,0
798544,es,EU,Europa,PL,Polonia,1
798549,es,EU,Europa,RO,Rumanía,1
831053,es,EU,Europa,XK,Kosovo,0
878675,es,AF,África,ZW,Zimbawe,0
895949,es,AF,África,ZM,Zambia,0
921929,es,AF,África,KM,Comoras,0
927384,es,AF,África,MW,Malaui,0
932692,es,AF,África,LS,Lesotho,0
933860,es,AF,África,BW,Botsuana,0
934292,es,AF,África,MU,Mauricio,0
934841,es,AF,África,SZ,Esuatini,0
935317,es,AF,África,RE,Reunión,1
953987,es,AF,África,ZA,Sudáfrica,0
1024031,es,AF,África,YT,Mayotte,1
1036973,es,AF,África,MZ,Mozambique,0
1062947,es,AF,África,MG,Madagascar,0
1149361,es,AS,Asia,AF,Afganistán,0
1168579,es,AS,Asia,PK,Pakistán,0
1210997,es,AS,Asia,BD,Bangladesh,0
1218197,es,AS,Asia,TM,Turkmenistán,0
1220409,es,AS,Asia,TJ,Tayikistán,0
1227603,es,AS,Asia,LK,"Sri Lanka",0
1252634,es,AS,Asia,BT,Bután,0
1269750,es,AS,Asia,IN,India,0
1282028,es,AS,Asia,MV,Maldivas,0
1282588,es,AS,Asia,IO,"Territorio Británico del Océano Índico",0
1282988,es,AS,Asia,NP,Nepal,0
1327865,es,AS,Asia,MM,"Myanmar (Birmania)",0
1512440,es,AS,Asia,UZ,Uzbekistán,0
1522867,es,AS,Asia,KZ,Kazajstán,0
1527747,es,AS,Asia,KG,Kirguistán,0
1546748,es,AN,Antártida,TF,"Territorios Australes Franceses",0
1547314,es,AN,Antártida,HM,"Islas Heard y McDonald",0
1547376,es,AS,Asia,CC,"Islas Cocos",0
1559582,es,OC,Oceanía,PW,Palaos,0
1562822,es,AS,Asia,VN,Vietnam,0
1605651,es,AS,Asia,TH,Tailandia,0
1643084,es,AS,Asia,ID,Indonesia,0
1655842,es,AS,Asia,LA,Laos,0
1668284,es,AS,Asia,TW,Taiwán,0
1694008,es,AS,Asia,PH,Filipinas,0
1733045,es,AS,Asia,MY,Malasia,0
1814991,es,AS,Asia,CN,China,0
1819730,es,AS,Asia,HK,"Hong Kong",0
1820814,es,AS,Asia,BN,Brunéi,0
1821275,es,AS,Asia,MO,Macao,0
1831722,es,AS,Asia,KH,Camboya,0
1835841,es,AS,Asia,KR,"Corea del Sur",0
1861060,es,AS,Asia,JP,Japón,0
1873107,es,AS,Asia,KP,"Corea del Norte",0
1880251,es,AS,Asia,SG,Singapur,0
1899402,es,OC,Oceanía,CK,"Islas Cook",0
1966436,es,OC,Oceanía,TL,Timor-Leste,0
2017370,es,EU,Europa,RU,Rusia,0
2029969,es,AS,Asia,MN,Mongolia,0
2077456,es,OC,Oceanía,AU,Australia,0
2078138,es,OC,Oceanía,CX,"Isla de Navidad",0
2080185,es,OC,Oceanía,MH,"Islas Marshall",0
2081918,es,OC,Oceanía,FM,Micronesia,0
2088628,es,OC,Oceanía,PG,"Papúa-Nueva Guinea",0
2103350,es,OC,Oceanía,SB,"Islas Salomón",0
2110297,es,OC,Oceanía,TV,Tuvalu,0
2110425,es,OC,Oceanía,NR,Nauru,0
2134431,es,OC,Oceanía,VU,Vanuatu,0
2139685,es,OC,Oceanía,NC,"Nueva Caledonia",0
2155115,es,OC,Oceanía,NF,"Isla Norfolk",0
2186224,es,OC,Oceanía,NZ,"Nueva Zelanda",0
2205218,es,OC,Oceanía,FJ,Fiyi,0
2215636,es,AF,África,LY,Libia,0
2233387,es,AF,África,CM,Camerún,0
2245662,es,AF,África,SN,Senegal,0
2260494,es,AF,África,CG,Congo,0
2264397,es,EU,Europa,PT,Portugal,1
2275384,es,AF,África,LR,Liberia,0
2287781,es,AF,África,CI,"Côte dIvoire",0
2300660,es,AF,África,GH,Ghana,0
2309096,es,AF,África,GQ,"Guinea Ecuatorial",0
2328926,es,AF,África,NG,Nigeria,0
2361809,es,AF,África,BF,"Burkina Faso",0
2363686,es,AF,África,TG,Togo,0
2372248,es,AF,África,GW,Guinea-Bissáu,0
2378080,es,AF,África,MR,Mauritania,0
2395170,es,AF,África,BJ,Benín,0
2400553,es,AF,África,GA,Gabón,0
2403846,es,AF,África,SL,"Sierra Leona",0
2410758,es,AF,África,ST,"Santo Tomé y Príncipe",0
2411586,es,EU,Europa,GI,Gibraltar,0
2413451,es,AF,África,GM,Gambia,0
2420477,es,AF,África,GN,Guinea,0
2434508,es,AF,África,TD,Chad,0
2440476,es,AF,África,NE,Níger,0
2453866,es,AF,África,ML,Mali,0
2461445,es,AF,África,EH,"Sáhara Occidental",0
2464461,es,AF,África,TN,Túnez,0
2510769,es,EU,Europa,ES,España,1
2542007,es,AF,África,MA,Marruecos,0
2562770,es,EU,Europa,MT,Malta,1
2589581,es,AF,África,DZ,Argelia,0
2622320,es,EU,Europa,FO,"Islas Feroe",0
2623032,es,EU,Europa,DK,Dinamarca,1
2629691,es,EU,Europa,IS,Islandia,0
2635167,es,EU,Europa,GB,"Reino Unido",0
2658434,es,EU,Europa,CH,Suiza,0
2661886,es,EU,Europa,SE,Suecia,1
2750405,es,EU,Europa,NL,Holanda,1
2782113,es,EU,Europa,AT,Austria,1
2802361,es,EU,Europa,BE,Bélgica,1
2921044,es,EU,Europa,DE,Alemania,1
2960313,es,EU,Europa,LU,Luxemburgo,1
2963597,es,EU,Europa,IE,Irlanda,1
2993457,es,EU,Europa,MC,Mónaco,0
3017382,es,EU,Europa,FR,Francia,1
3041565,es,EU,Europa,AD,Andorra,0
3042058,es,EU,Europa,LI,Liechtenstein,0
3042142,es,EU,Europa,JE,Jersey,0
3042225,es,EU,Europa,IM,"Isla de Man",0
3042362,es,EU,Europa,GG,Guernesey,0
3057568,es,EU,Europa,SK,Eslovaquia,1
3077311,es,EU,Europa,CZ,Chequia,1
3144096,es,EU,Europa,NO,Noruega,0
3164670,es,EU,Europa,VA,"Ciudad del Vaticano",0
3168068,es,EU,Europa,SM,"San Marino",0
3175395,es,EU,Europa,IT,Italia,1
3190538,es,EU,Europa,SI,Eslovenia,1
3194884,es,EU,Europa,ME,Montenegro,0
3202326,es,EU,Europa,HR,Croacia,1
3277605,es,EU,Europa,BA,Bosnia-Herzegovina,0
3351879,es,AF,África,AO,Angola,0
3355338,es,AF,África,NA,Namibia,0
3370751,es,AF,África,SH,"Santa Elena",0
3371123,es,AN,Antártida,BV,"Isla Bouvet",0
3374084,es,NA,Norteamérica,BB,Barbados,0
3374766,es,AF,África,CV,"Cabo Verde",0
3378535,es,SA,Sudamérica,GY,Guyana,0
3381670,es,SA,Sudamérica,GF,"Guayana Francesa",1
3382998,es,SA,Sudamérica,SR,Surinam,0
3424932,es,NA,Norteamérica,PM,"San Pedro y Miquelón",0
3425505,es,NA,Norteamérica,GL,Groenlandia,0
3437598,es,SA,Sudamérica,PY,Paraguay,0
3439705,es,SA,Sudamérica,UY,Uruguay,0
3469034,es,SA,Sudamérica,BR,Brasil,0
3474414,es,SA,Sudamérica,FK,"Islas Malvinas",0
3474415,es,AN,Antártida,GS,"Islas Georgia del Sur y Sandwich del Sur",0
3489940,es,NA,Norteamérica,JM,Jamaica,0
3508796,es,NA,Norteamérica,DO,"Santo Domingo",0
3562981,es,NA,Norteamérica,CU,Cuba,0
3570311,es,NA,Norteamérica,MQ,Martinica,1
3572887,es,NA,Norteamérica,BS,Bahamas,0
3573345,es,NA,Norteamérica,BM,Bermudas,0
3573511,es,NA,Norteamérica,AI,Anguila,0
3573591,es,NA,Norteamérica,TT,"Trinidad y Tobago",0
3575174,es,NA,Norteamérica,KN,"San Cristóbal y Nieves",0
3575830,es,NA,Norteamérica,DM,Dominica,0
3576396,es,NA,Norteamérica,AG,"Antigua y Barbuda",0
3576468,es,NA,Norteamérica,LC,"Santa Lucía",0
3576916,es,NA,Norteamérica,TC,"Islas Turcas y Caicos",0
3577279,es,NA,Norteamérica,AW,Aruba,0
3577718,es,NA,Norteamérica,VG,"Islas Vírgenes",0
3577815,es,NA,Norteamérica,VC,"San Vicente y las Granadinas",0
3578097,es,NA,Norteamérica,MS,Montserrat,0
3578421,es,NA,Norteamérica,MF,"San Martín",1
3578476,es,NA,Norteamérica,BL,"San Bartolomé",0
3579143,es,NA,Norteamérica,GP,Guadalupe,1
3580239,es,NA,Norteamérica,GD,Granada,0
3580718,es,NA,Norteamérica,KY,"Islas Caimán",0
3582678,es,NA,Norteamérica,BZ,Belice,0
3585968,es,NA,Norteamérica,SV,"El Salvador",0
3595528,es,NA,Norteamérica,GT,Guatemala,0
3608932,es,NA,Norteamérica,HN,Honduras,0
3617476,es,NA,Norteamérica,NI,Nicaragua,0
3624060,es,NA,Norteamérica,CR,"Costa Rica",0
3625428,es,SA,Sudamérica,VE,Venezuela,0
3658394,es,SA,Sudamérica,EC,Ecuador,0
3686110,es,SA,Sudamérica,CO,Colombia,0
3703430,es,NA,Norteamérica,PA,Panamá,0
3723988,es,NA,Norteamérica,HT,Haití,0
3865483,es,SA,Sudamérica,AR,Argentina,0
3895114,es,SA,Sudamérica,CL,Chile,0
3923057,es,SA,Sudamérica,BO,Bolivia,0
3932488,es,SA,Sudamérica,PE,Perú,0
3996063,es,NA,Norteamérica,MX,México,0
4030656,es,OC,Oceanía,PF,"Polinesia Francesa",0
4030699,es,OC,Oceanía,PN,"Islas Pitcairn",0
4030945,es,OC,Oceanía,KI,Kiribati,0
4031074,es,OC,Oceanía,TK,Tokelau,0
4032283,es,OC,Oceanía,TO,Tonga,0
4034749,es,OC,Oceanía,WF,"Wallis y Futuna",0
4034894,es,OC,Oceanía,WS,Samoa,0
4036232,es,OC,Oceanía,NU,Niue,0
4041468,es,OC,Oceanía,MP,"Islas Marianas del Norte",0
4043988,es,OC,Oceanía,GU,Guam,0
4566966,es,NA,Norteamérica,PR,"Puerto Rico",0
4796775,es,NA,Norteamérica,VI,"Islas Vírgenes de EE. UU.",0
5854968,es,OC,Oceanía,UM,"Islas menores alejadas de EE. UU.",0
5880801,es,OC,Oceanía,AS,"Samoa Americana",0
6251999,es,NA,Norteamérica,CA,Canadá,0
6252001,es,NA,Norteamérica,US,"Estados Unidos",0
6254930,es,AS,Asia,PS,Palestina,0
6255147,es,AS,Asia,,,0
6255148,es,EU,Europa,,,0
6290252,es,EU,Europa,RS,Serbia,0
6697173,es,AN,Antártida,AQ,Antártida,0
7609695,es,NA,Norteamérica,SX,"Isla de San Martín",0
7626836,es,NA,Norteamérica,CW,Curazao,0
7626844,es,NA,Norteamérica,BQ,Bonaire,0
7909807,es,AF,África,SS,"Sudán del Sur",0
1 geoname_id locale_code continent_code continent_name country_iso_code country_name is_in_european_union
2 49518 es AF África RW Ruanda 0
3 51537 es AF África SO Somalia 0
4 69543 es AS Asia YE Yemen 0
5 99237 es AS Asia IQ Irak 0
6 102358 es AS Asia SA Arabia Saudí 0
7 130758 es AS Asia IR Irán 0
8 146669 es EU Europa CY Chipre 1
9 149590 es AF África TZ Tanzania 0
10 163843 es AS Asia SY Siria 0
11 174982 es AS Asia AM Armenia 0
12 192950 es AF África KE Kenia 0
13 203312 es AF África CD Congo Democrático 0
14 223816 es AF África DJ Yibuti 0
15 226074 es AF África UG Uganda 0
16 239880 es AF África CF República Centroafricana 0
17 241170 es AF África SC Seychelles 0
18 248816 es AS Asia JO Jordania 0
19 272103 es AS Asia LB Líbano 0
20 285570 es AS Asia KW Kuwait 0
21 286963 es AS Asia OM Omán 0
22 289688 es AS Asia QA Catar 0
23 290291 es AS Asia BH Bahréin 0
24 290557 es AS Asia AE Emiratos Árabes Unidos 0
25 294640 es AS Asia IL Israel 0
26 298795 es AS Asia TR Turquía 0
27 337996 es AF África ET Etiopía 0
28 338010 es AF África ER Eritrea 0
29 357994 es AF África EG Egipto 0
30 366755 es AF África SD Sudán 0
31 390903 es EU Europa GR Grecia 1
32 433561 es AF África BI Burundi 0
33 453733 es EU Europa EE Estonia 1
34 458258 es EU Europa LV Letonia 1
35 587116 es AS Asia AZ Azerbaiyán 0
36 597427 es EU Europa LT Lituania 1
37 607072 es EU Europa SJ Svalbard y Jan Mayen 0
38 614540 es AS Asia GE Georgia 0
39 617790 es EU Europa MD Moldavia 0
40 630336 es EU Europa BY Bielorrusia 0
41 660013 es EU Europa FI Finlandia 1
42 661882 es EU Europa AX Islas Aland 1
43 690791 es EU Europa UA Ucrania 0
44 718075 es EU Europa MK Macedonia del Norte 0
45 719819 es EU Europa HU Hungría 1
46 732800 es EU Europa BG Bulgaria 1
47 783754 es EU Europa AL Albania 0
48 798544 es EU Europa PL Polonia 1
49 798549 es EU Europa RO Rumanía 1
50 831053 es EU Europa XK Kosovo 0
51 878675 es AF África ZW Zimbawe 0
52 895949 es AF África ZM Zambia 0
53 921929 es AF África KM Comoras 0
54 927384 es AF África MW Malaui 0
55 932692 es AF África LS Lesotho 0
56 933860 es AF África BW Botsuana 0
57 934292 es AF África MU Mauricio 0
58 934841 es AF África SZ Esuatini 0
59 935317 es AF África RE Reunión 1
60 953987 es AF África ZA Sudáfrica 0
61 1024031 es AF África YT Mayotte 1
62 1036973 es AF África MZ Mozambique 0
63 1062947 es AF África MG Madagascar 0
64 1149361 es AS Asia AF Afganistán 0
65 1168579 es AS Asia PK Pakistán 0
66 1210997 es AS Asia BD Bangladesh 0
67 1218197 es AS Asia TM Turkmenistán 0
68 1220409 es AS Asia TJ Tayikistán 0
69 1227603 es AS Asia LK Sri Lanka 0
70 1252634 es AS Asia BT Bután 0
71 1269750 es AS Asia IN India 0
72 1282028 es AS Asia MV Maldivas 0
73 1282588 es AS Asia IO Territorio Británico del Océano Índico 0
74 1282988 es AS Asia NP Nepal 0
75 1327865 es AS Asia MM Myanmar (Birmania) 0
76 1512440 es AS Asia UZ Uzbekistán 0
77 1522867 es AS Asia KZ Kazajstán 0
78 1527747 es AS Asia KG Kirguistán 0
79 1546748 es AN Antártida TF Territorios Australes Franceses 0
80 1547314 es AN Antártida HM Islas Heard y McDonald 0
81 1547376 es AS Asia CC Islas Cocos 0
82 1559582 es OC Oceanía PW Palaos 0
83 1562822 es AS Asia VN Vietnam 0
84 1605651 es AS Asia TH Tailandia 0
85 1643084 es AS Asia ID Indonesia 0
86 1655842 es AS Asia LA Laos 0
87 1668284 es AS Asia TW Taiwán 0
88 1694008 es AS Asia PH Filipinas 0
89 1733045 es AS Asia MY Malasia 0
90 1814991 es AS Asia CN China 0
91 1819730 es AS Asia HK Hong Kong 0
92 1820814 es AS Asia BN Brunéi 0
93 1821275 es AS Asia MO Macao 0
94 1831722 es AS Asia KH Camboya 0
95 1835841 es AS Asia KR Corea del Sur 0
96 1861060 es AS Asia JP Japón 0
97 1873107 es AS Asia KP Corea del Norte 0
98 1880251 es AS Asia SG Singapur 0
99 1899402 es OC Oceanía CK Islas Cook 0
100 1966436 es OC Oceanía TL Timor-Leste 0
101 2017370 es EU Europa RU Rusia 0
102 2029969 es AS Asia MN Mongolia 0
103 2077456 es OC Oceanía AU Australia 0
104 2078138 es OC Oceanía CX Isla de Navidad 0
105 2080185 es OC Oceanía MH Islas Marshall 0
106 2081918 es OC Oceanía FM Micronesia 0
107 2088628 es OC Oceanía PG Papúa-Nueva Guinea 0
108 2103350 es OC Oceanía SB Islas Salomón 0
109 2110297 es OC Oceanía TV Tuvalu 0
110 2110425 es OC Oceanía NR Nauru 0
111 2134431 es OC Oceanía VU Vanuatu 0
112 2139685 es OC Oceanía NC Nueva Caledonia 0
113 2155115 es OC Oceanía NF Isla Norfolk 0
114 2186224 es OC Oceanía NZ Nueva Zelanda 0
115 2205218 es OC Oceanía FJ Fiyi 0
116 2215636 es AF África LY Libia 0
117 2233387 es AF África CM Camerún 0
118 2245662 es AF África SN Senegal 0
119 2260494 es AF África CG Congo 0
120 2264397 es EU Europa PT Portugal 1
121 2275384 es AF África LR Liberia 0
122 2287781 es AF África CI Côte d’Ivoire 0
123 2300660 es AF África GH Ghana 0
124 2309096 es AF África GQ Guinea Ecuatorial 0
125 2328926 es AF África NG Nigeria 0
126 2361809 es AF África BF Burkina Faso 0
127 2363686 es AF África TG Togo 0
128 2372248 es AF África GW Guinea-Bissáu 0
129 2378080 es AF África MR Mauritania 0
130 2395170 es AF África BJ Benín 0
131 2400553 es AF África GA Gabón 0
132 2403846 es AF África SL Sierra Leona 0
133 2410758 es AF África ST Santo Tomé y Príncipe 0
134 2411586 es EU Europa GI Gibraltar 0
135 2413451 es AF África GM Gambia 0
136 2420477 es AF África GN Guinea 0
137 2434508 es AF África TD Chad 0
138 2440476 es AF África NE Níger 0
139 2453866 es AF África ML Mali 0
140 2461445 es AF África EH Sáhara Occidental 0
141 2464461 es AF África TN Túnez 0
142 2510769 es EU Europa ES España 1
143 2542007 es AF África MA Marruecos 0
144 2562770 es EU Europa MT Malta 1
145 2589581 es AF África DZ Argelia 0
146 2622320 es EU Europa FO Islas Feroe 0
147 2623032 es EU Europa DK Dinamarca 1
148 2629691 es EU Europa IS Islandia 0
149 2635167 es EU Europa GB Reino Unido 0
150 2658434 es EU Europa CH Suiza 0
151 2661886 es EU Europa SE Suecia 1
152 2750405 es EU Europa NL Holanda 1
153 2782113 es EU Europa AT Austria 1
154 2802361 es EU Europa BE Bélgica 1
155 2921044 es EU Europa DE Alemania 1
156 2960313 es EU Europa LU Luxemburgo 1
157 2963597 es EU Europa IE Irlanda 1
158 2993457 es EU Europa MC Mónaco 0
159 3017382 es EU Europa FR Francia 1
160 3041565 es EU Europa AD Andorra 0
161 3042058 es EU Europa LI Liechtenstein 0
162 3042142 es EU Europa JE Jersey 0
163 3042225 es EU Europa IM Isla de Man 0
164 3042362 es EU Europa GG Guernesey 0
165 3057568 es EU Europa SK Eslovaquia 1
166 3077311 es EU Europa CZ Chequia 1
167 3144096 es EU Europa NO Noruega 0
168 3164670 es EU Europa VA Ciudad del Vaticano 0
169 3168068 es EU Europa SM San Marino 0
170 3175395 es EU Europa IT Italia 1
171 3190538 es EU Europa SI Eslovenia 1
172 3194884 es EU Europa ME Montenegro 0
173 3202326 es EU Europa HR Croacia 1
174 3277605 es EU Europa BA Bosnia-Herzegovina 0
175 3351879 es AF África AO Angola 0
176 3355338 es AF África NA Namibia 0
177 3370751 es AF África SH Santa Elena 0
178 3371123 es AN Antártida BV Isla Bouvet 0
179 3374084 es NA Norteamérica BB Barbados 0
180 3374766 es AF África CV Cabo Verde 0
181 3378535 es SA Sudamérica GY Guyana 0
182 3381670 es SA Sudamérica GF Guayana Francesa 1
183 3382998 es SA Sudamérica SR Surinam 0
184 3424932 es NA Norteamérica PM San Pedro y Miquelón 0
185 3425505 es NA Norteamérica GL Groenlandia 0
186 3437598 es SA Sudamérica PY Paraguay 0
187 3439705 es SA Sudamérica UY Uruguay 0
188 3469034 es SA Sudamérica BR Brasil 0
189 3474414 es SA Sudamérica FK Islas Malvinas 0
190 3474415 es AN Antártida GS Islas Georgia del Sur y Sandwich del Sur 0
191 3489940 es NA Norteamérica JM Jamaica 0
192 3508796 es NA Norteamérica DO Santo Domingo 0
193 3562981 es NA Norteamérica CU Cuba 0
194 3570311 es NA Norteamérica MQ Martinica 1
195 3572887 es NA Norteamérica BS Bahamas 0
196 3573345 es NA Norteamérica BM Bermudas 0
197 3573511 es NA Norteamérica AI Anguila 0
198 3573591 es NA Norteamérica TT Trinidad y Tobago 0
199 3575174 es NA Norteamérica KN San Cristóbal y Nieves 0
200 3575830 es NA Norteamérica DM Dominica 0
201 3576396 es NA Norteamérica AG Antigua y Barbuda 0
202 3576468 es NA Norteamérica LC Santa Lucía 0
203 3576916 es NA Norteamérica TC Islas Turcas y Caicos 0
204 3577279 es NA Norteamérica AW Aruba 0
205 3577718 es NA Norteamérica VG Islas Vírgenes 0
206 3577815 es NA Norteamérica VC San Vicente y las Granadinas 0
207 3578097 es NA Norteamérica MS Montserrat 0
208 3578421 es NA Norteamérica MF San Martín 1
209 3578476 es NA Norteamérica BL San Bartolomé 0
210 3579143 es NA Norteamérica GP Guadalupe 1
211 3580239 es NA Norteamérica GD Granada 0
212 3580718 es NA Norteamérica KY Islas Caimán 0
213 3582678 es NA Norteamérica BZ Belice 0
214 3585968 es NA Norteamérica SV El Salvador 0
215 3595528 es NA Norteamérica GT Guatemala 0
216 3608932 es NA Norteamérica HN Honduras 0
217 3617476 es NA Norteamérica NI Nicaragua 0
218 3624060 es NA Norteamérica CR Costa Rica 0
219 3625428 es SA Sudamérica VE Venezuela 0
220 3658394 es SA Sudamérica EC Ecuador 0
221 3686110 es SA Sudamérica CO Colombia 0
222 3703430 es NA Norteamérica PA Panamá 0
223 3723988 es NA Norteamérica HT Haití 0
224 3865483 es SA Sudamérica AR Argentina 0
225 3895114 es SA Sudamérica CL Chile 0
226 3923057 es SA Sudamérica BO Bolivia 0
227 3932488 es SA Sudamérica PE Perú 0
228 3996063 es NA Norteamérica MX México 0
229 4030656 es OC Oceanía PF Polinesia Francesa 0
230 4030699 es OC Oceanía PN Islas Pitcairn 0
231 4030945 es OC Oceanía KI Kiribati 0
232 4031074 es OC Oceanía TK Tokelau 0
233 4032283 es OC Oceanía TO Tonga 0
234 4034749 es OC Oceanía WF Wallis y Futuna 0
235 4034894 es OC Oceanía WS Samoa 0
236 4036232 es OC Oceanía NU Niue 0
237 4041468 es OC Oceanía MP Islas Marianas del Norte 0
238 4043988 es OC Oceanía GU Guam 0
239 4566966 es NA Norteamérica PR Puerto Rico 0
240 4796775 es NA Norteamérica VI Islas Vírgenes de EE. UU. 0
241 5854968 es OC Oceanía UM Islas menores alejadas de EE. UU. 0
242 5880801 es OC Oceanía AS Samoa Americana 0
243 6251999 es NA Norteamérica CA Canadá 0
244 6252001 es NA Norteamérica US Estados Unidos 0
245 6254930 es AS Asia PS Palestina 0
246 6255147 es AS Asia 0
247 6255148 es EU Europa 0
248 6290252 es EU Europa RS Serbia 0
249 6697173 es AN Antártida AQ Antártida 0
250 7609695 es NA Norteamérica SX Isla de San Martín 0
251 7626836 es NA Norteamérica CW Curazao 0
252 7626844 es NA Norteamérica BQ Bonaire 0
253 7909807 es AF África SS Sudán del Sur 0

@ -0,0 +1,253 @@
geoname_id,locale_code,continent_code,continent_name,country_iso_code,country_name,is_in_european_union
49518,fr,AF,Afrique,RW,Rwanda,0
51537,fr,AF,Afrique,SO,Somalie,0
69543,fr,AS,Asie,YE,Yémen,0
99237,fr,AS,Asie,IQ,Irak,0
102358,fr,AS,Asie,SA,"Arabie saoudite",0
130758,fr,AS,Asie,IR,Iran,0
146669,fr,EU,Europe,CY,Chypre,1
149590,fr,AF,Afrique,TZ,Tanzanie,0
163843,fr,AS,Asie,SY,Syrie,0
174982,fr,AS,Asie,AM,Arménie,0
192950,fr,AF,Afrique,KE,Kenya,0
203312,fr,AF,Afrique,CD,Congo,0
223816,fr,AF,Afrique,DJ,Djibouti,0
226074,fr,AF,Afrique,UG,Ouganda,0
239880,fr,AF,Afrique,CF,Centrafrique,0
241170,fr,AF,Afrique,SC,Seychelles,0
248816,fr,AS,Asie,JO,Jordanie,0
272103,fr,AS,Asie,LB,Liban,0
285570,fr,AS,Asie,KW,Koweït,0
286963,fr,AS,Asie,OM,Oman,0
289688,fr,AS,Asie,QA,Qatar,0
290291,fr,AS,Asie,BH,Bahreïn,0
290557,fr,AS,Asie,AE,"Émirats Arabes Unis",0
294640,fr,AS,Asie,IL,Israël,0
298795,fr,AS,Asie,TR,Turquie,0
337996,fr,AF,Afrique,ET,Éthiopie,0
338010,fr,AF,Afrique,ER,Érythrée,0
357994,fr,AF,Afrique,EG,Égypte,0
366755,fr,AF,Afrique,SD,Soudan,0
390903,fr,EU,Europe,GR,Grèce,1
433561,fr,AF,Afrique,BI,Burundi,0
453733,fr,EU,Europe,EE,Estonie,1
458258,fr,EU,Europe,LV,Lettonie,1
587116,fr,AS,Asie,AZ,Azerbaïdjan,0
597427,fr,EU,Europe,LT,Lituanie,1
607072,fr,EU,Europe,SJ,"Svalbard et Jan Mayen",0
614540,fr,AS,Asie,GE,Géorgie,0
617790,fr,EU,Europe,MD,Moldavie,0
630336,fr,EU,Europe,BY,Biélorussie,0
660013,fr,EU,Europe,FI,Finlande,1
661882,fr,EU,Europe,AX,"Îles Åland",1
690791,fr,EU,Europe,UA,Ukraine,0
718075,fr,EU,Europe,MK,"Macédoine du Nord",0
719819,fr,EU,Europe,HU,Hongrie,1
732800,fr,EU,Europe,BG,Bulgarie,1
783754,fr,EU,Europe,AL,Albanie,0
798544,fr,EU,Europe,PL,Pologne,1
798549,fr,EU,Europe,RO,Roumanie,1
831053,fr,EU,Europe,XK,Kosovo,0
878675,fr,AF,Afrique,ZW,Zimbabwe,0
895949,fr,AF,Afrique,ZM,Zambie,0
921929,fr,AF,Afrique,KM,Comores,0
927384,fr,AF,Afrique,MW,Malawi,0
932692,fr,AF,Afrique,LS,Lesotho,0
933860,fr,AF,Afrique,BW,Botswana,0
934292,fr,AF,Afrique,MU,Maurice,0
934841,fr,AF,Afrique,SZ,Swaziland,0
935317,fr,AF,Afrique,RE,Réunion,1
953987,fr,AF,Afrique,ZA,"Afrique du Sud",0
1024031,fr,AF,Afrique,YT,Mayotte,1
1036973,fr,AF,Afrique,MZ,Mozambique,0
1062947,fr,AF,Afrique,MG,Madagascar,0
1149361,fr,AS,Asie,AF,Afghanistan,0
1168579,fr,AS,Asie,PK,Pakistan,0
1210997,fr,AS,Asie,BD,Bangladesh,0
1218197,fr,AS,Asie,TM,Turkménistan,0
1220409,fr,AS,Asie,TJ,Tadjikistan,0
1227603,fr,AS,Asie,LK,"Sri Lanka",0
1252634,fr,AS,Asie,BT,Bhoutan,0
1269750,fr,AS,Asie,IN,Inde,0
1282028,fr,AS,Asie,MV,Maldives,0
1282588,fr,AS,Asie,IO,"Territoire britannique de l'océan Indien",0
1282988,fr,AS,Asie,NP,Népal,0
1327865,fr,AS,Asie,MM,Myanmar,0
1512440,fr,AS,Asie,UZ,Ouzbékistan,0
1522867,fr,AS,Asie,KZ,Kazakhstan,0
1527747,fr,AS,Asie,KG,Kirghizstan,0
1546748,fr,AN,Antarctique,TF,"Terres australes françaises",0
1547314,fr,AN,Antarctique,HM,"Île Heard et îles McDonald",0
1547376,fr,AS,Asie,CC,"Îles Cocos",0
1559582,fr,OC,Océanie,PW,Palaos,0
1562822,fr,AS,Asie,VN,"Viêt Nam",0
1605651,fr,AS,Asie,TH,Thaïlande,0
1643084,fr,AS,Asie,ID,Indonésie,0
1655842,fr,AS,Asie,LA,Laos,0
1668284,fr,AS,Asie,TW,Taïwan,0
1694008,fr,AS,Asie,PH,Philippines,0
1733045,fr,AS,Asie,MY,Malaisie,0
1814991,fr,AS,Asie,CN,Chine,0
1819730,fr,AS,Asie,HK,"Hong Kong",0
1820814,fr,AS,Asie,BN,Brunei,0
1821275,fr,AS,Asie,MO,Macao,0
1831722,fr,AS,Asie,KH,Cambodge,0
1835841,fr,AS,Asie,KR,"Corée du Sud",0
1861060,fr,AS,Asie,JP,Japon,0
1873107,fr,AS,Asie,KP,"Corée du Nord",0
1880251,fr,AS,Asie,SG,Singapour,0
1899402,fr,OC,Océanie,CK,"Îles Cook",0
1966436,fr,OC,Océanie,TL,"Timor Oriental",0
2017370,fr,EU,Europe,RU,Russie,0
2029969,fr,AS,Asie,MN,Mongolie,0
2077456,fr,OC,Océanie,AU,Australie,0
2078138,fr,OC,Océanie,CX,"Île Christmas",0
2080185,fr,OC,Océanie,MH,"Îles Marshall",0
2081918,fr,OC,Océanie,FM,Micronésie,0
2088628,fr,OC,Océanie,PG,Papouasie-Nouvelle-Guinée,0
2103350,fr,OC,Océanie,SB,"Îles Salomon",0
2110297,fr,OC,Océanie,TV,Tuvalu,0
2110425,fr,OC,Océanie,NR,Nauru,0
2134431,fr,OC,Océanie,VU,Vanuatu,0
2139685,fr,OC,Océanie,NC,Nouvelle-Calédonie,0
2155115,fr,OC,Océanie,NF,"Île Norfolk",0
2186224,fr,OC,Océanie,NZ,Nouvelle-Zélande,0
2205218,fr,OC,Océanie,FJ,Fidji,0
2215636,fr,AF,Afrique,LY,Libye,0
2233387,fr,AF,Afrique,CM,Cameroun,0
2245662,fr,AF,Afrique,SN,Sénégal,0
2260494,fr,AF,Afrique,CG,"République du Congo",0
2264397,fr,EU,Europe,PT,Portugal,1
2275384,fr,AF,Afrique,LR,Liberia,0
2287781,fr,AF,Afrique,CI,"Côte d'Ivoire",0
2300660,fr,AF,Afrique,GH,Ghana,0
2309096,fr,AF,Afrique,GQ,"Guinée équatoriale",0
2328926,fr,AF,Afrique,NG,Nigeria,0
2361809,fr,AF,Afrique,BF,"Burkina Faso",0
2363686,fr,AF,Afrique,TG,Togo,0
2372248,fr,AF,Afrique,GW,Guinée-Bissau,0
2378080,fr,AF,Afrique,MR,Mauritanie,0
2395170,fr,AF,Afrique,BJ,Bénin,0
2400553,fr,AF,Afrique,GA,Gabon,0
2403846,fr,AF,Afrique,SL,"Sierra Leone",0
2410758,fr,AF,Afrique,ST,"Sao Tomé-et-Principe",0
2411586,fr,EU,Europe,GI,Gibraltar,0
2413451,fr,AF,Afrique,GM,Gambie,0
2420477,fr,AF,Afrique,GN,Guinée,0
2434508,fr,AF,Afrique,TD,Tchad,0
2440476,fr,AF,Afrique,NE,Niger,0
2453866,fr,AF,Afrique,ML,Mali,0
2461445,fr,AF,Afrique,EH,"Sahara Occidental",0
2464461,fr,AF,Afrique,TN,Tunisie,0
2510769,fr,EU,Europe,ES,Espagne,1
2542007,fr,AF,Afrique,MA,Maroc,0
2562770,fr,EU,Europe,MT,Malte,1
2589581,fr,AF,Afrique,DZ,Algérie,0
2622320,fr,EU,Europe,FO,"Îles Féroé",0
2623032,fr,EU,Europe,DK,Danemark,1
2629691,fr,EU,Europe,IS,Islande,0
2635167,fr,EU,Europe,GB,Royaume-Uni,0
2658434,fr,EU,Europe,CH,Suisse,0
2661886,fr,EU,Europe,SE,Suède,1
2750405,fr,EU,Europe,NL,Pays-Bas,1
2782113,fr,EU,Europe,AT,Autriche,1
2802361,fr,EU,Europe,BE,Belgique,1
2921044,fr,EU,Europe,DE,Allemagne,1
2960313,fr,EU,Europe,LU,Luxembourg,1
2963597,fr,EU,Europe,IE,Irlande,1
2993457,fr,EU,Europe,MC,Monaco,0
3017382,fr,EU,Europe,FR,France,1
3041565,fr,EU,Europe,AD,Andorre,0
3042058,fr,EU,Europe,LI,Liechtenstein,0
3042142,fr,EU,Europe,JE,Jersey,0
3042225,fr,EU,Europe,IM,"Île de Man",0
3042362,fr,EU,Europe,GG,Guernesey,0
3057568,fr,EU,Europe,SK,Slovaquie,1
3077311,fr,EU,Europe,CZ,Tchéquie,1
3144096,fr,EU,Europe,NO,Norvège,0
3164670,fr,EU,Europe,VA,Vatican,0
3168068,fr,EU,Europe,SM,Saint-Marin,0
3175395,fr,EU,Europe,IT,Italie,1
3190538,fr,EU,Europe,SI,Slovénie,1
3194884,fr,EU,Europe,ME,Monténégro,0
3202326,fr,EU,Europe,HR,Croatie,1
3277605,fr,EU,Europe,BA,Bosnie-Herzégovine,0
3351879,fr,AF,Afrique,AO,Angola,0
3355338,fr,AF,Afrique,NA,Namibie,0
3370751,fr,AF,Afrique,SH,Sainte-Hélène,0
3371123,fr,AN,Antarctique,BV,"Île Bouvet",0
3374084,fr,NA,"Amérique du Nord",BB,Barbade,0
3374766,fr,AF,Afrique,CV,Cap-Vert,0
3378535,fr,SA,"Amérique du Sud",GY,Guyana,0
3381670,fr,SA,"Amérique du Sud",GF,Guyane,1
3382998,fr,SA,"Amérique du Sud",SR,Suriname,0
3424932,fr,NA,"Amérique du Nord",PM,"Saint-Pierre et Miquelon",0
3425505,fr,NA,"Amérique du Nord",GL,Groenland,0
3437598,fr,SA,"Amérique du Sud",PY,Paraguay,0
3439705,fr,SA,"Amérique du Sud",UY,Uruguay,0
3469034,fr,SA,"Amérique du Sud",BR,Brésil,0
3474414,fr,SA,"Amérique du Sud",FK,"Îles Malouines",0
3474415,fr,AN,Antarctique,GS,"Géorgie du Sud-et-les îles Sandwich du Sud",0
3489940,fr,NA,"Amérique du Nord",JM,Jamaïque,0
3508796,fr,NA,"Amérique du Nord",DO,"République dominicaine",0
3562981,fr,NA,"Amérique du Nord",CU,Cuba,0
3570311,fr,NA,"Amérique du Nord",MQ,Martinique,1
3572887,fr,NA,"Amérique du Nord",BS,Bahamas,0
3573345,fr,NA,"Amérique du Nord",BM,Bermudes,0
3573511,fr,NA,"Amérique du Nord",AI,Anguilla,0
3573591,fr,NA,"Amérique du Nord",TT,Trinité-et-Tobago,0
3575174,fr,NA,"Amérique du Nord",KN,Saint-Christophe-et-Niévès,0
3575830,fr,NA,"Amérique du Nord",DM,Dominique,0
3576396,fr,NA,"Amérique du Nord",AG,Antigua-et-Barbuda,0
3576468,fr,NA,"Amérique du Nord",LC,Sainte-Lucie,0
3576916,fr,NA,"Amérique du Nord",TC,"Îles Turques-et-Caïques",0
3577279,fr,NA,"Amérique du Nord",AW,Aruba,0
3577718,fr,NA,"Amérique du Nord",VG,"Îles Vierges",0
3577815,fr,NA,"Amérique du Nord",VC,Saint-Vincent-et-les-Grenadines,0
3578097,fr,NA,"Amérique du Nord",MS,Montserrat,0
3578421,fr,NA,"Amérique du Nord",MF,Saint-Martin,1
3578476,fr,NA,"Amérique du Nord",BL,Saint-Barthélemy,0
3579143,fr,NA,"Amérique du Nord",GP,Guadeloupe,1
3580239,fr,NA,"Amérique du Nord",GD,Grenade,0
3580718,fr,NA,"Amérique du Nord",KY,"Îles Caïmans",0
3582678,fr,NA,"Amérique du Nord",BZ,Belize,0
3585968,fr,NA,"Amérique du Nord",SV,Salvador,0
3595528,fr,NA,"Amérique du Nord",GT,Guatemala,0
3608932,fr,NA,"Amérique du Nord",HN,Honduras,0
3617476,fr,NA,"Amérique du Nord",NI,Nicaragua,0
3624060,fr,NA,"Amérique du Nord",CR,"Costa Rica",0
3625428,fr,SA,"Amérique du Sud",VE,Vénézuéla,0
3658394,fr,SA,"Amérique du Sud",EC,Équateur,0
3686110,fr,SA,"Amérique du Sud",CO,Colombie,0
3703430,fr,NA,"Amérique du Nord",PA,Panama,0
3723988,fr,NA,"Amérique du Nord",HT,Haïti,0
3865483,fr,SA,"Amérique du Sud",AR,Argentine,0
3895114,fr,SA,"Amérique du Sud",CL,Chili,0
3923057,fr,SA,"Amérique du Sud",BO,Bolivie,0
3932488,fr,SA,"Amérique du Sud",PE,Pérou,0
3996063,fr,NA,"Amérique du Nord",MX,Mexique,0
4030656,fr,OC,Océanie,PF,"Polynésie française",0
4030699,fr,OC,Océanie,PN,Pitcairn,0
4030945,fr,OC,Océanie,KI,Kiribati,0
4031074,fr,OC,Océanie,TK,Tokelau,0
4032283,fr,OC,Océanie,TO,Tonga,0
4034749,fr,OC,Océanie,WF,Wallis-et-Futuna,0
4034894,fr,OC,Océanie,WS,Samoa,0
4036232,fr,OC,Océanie,NU,Niue,0
4041468,fr,OC,Océanie,MP,"Îles Mariannes du Nord",0
4043988,fr,OC,Océanie,GU,Guam,0
4566966,fr,NA,"Amérique du Nord",PR,"Porto Rico",0
4796775,fr,NA,"Amérique du Nord",VI,"Îles Vierges des États-Unis",0
5854968,fr,OC,Océanie,UM,"Îles mineures éloignées des États-Unis",0
5880801,fr,OC,Océanie,AS,"Samoa américaines",0
6251999,fr,NA,"Amérique du Nord",CA,Canada,0
6252001,fr,NA,"Amérique du Nord",US,"États Unis",0
6254930,fr,AS,Asie,PS,Palestine,0
6255147,fr,AS,Asie,,,0
6255148,fr,EU,Europe,,,0
6290252,fr,EU,Europe,RS,Serbie,0
6697173,fr,AN,Antarctique,AQ,Antarctique,0
7609695,fr,NA,"Amérique du Nord",SX,Saint-Martin,0
7626836,fr,NA,"Amérique du Nord",CW,Curaçao,0
7626844,fr,NA,"Amérique du Nord",BQ,"Pays-Bas caribéens",0
7909807,fr,AF,Afrique,SS,"Soudan du Sud",0
1 geoname_id locale_code continent_code continent_name country_iso_code country_name is_in_european_union
2 49518 fr AF Afrique RW Rwanda 0
3 51537 fr AF Afrique SO Somalie 0
4 69543 fr AS Asie YE Yémen 0
5 99237 fr AS Asie IQ Irak 0
6 102358 fr AS Asie SA Arabie saoudite 0
7 130758 fr AS Asie IR Iran 0
8 146669 fr EU Europe CY Chypre 1
9 149590 fr AF Afrique TZ Tanzanie 0
10 163843 fr AS Asie SY Syrie 0
11 174982 fr AS Asie AM Arménie 0
12 192950 fr AF Afrique KE Kenya 0
13 203312 fr AF Afrique CD Congo 0
14 223816 fr AF Afrique DJ Djibouti 0
15 226074 fr AF Afrique UG Ouganda 0
16 239880 fr AF Afrique CF Centrafrique 0
17 241170 fr AF Afrique SC Seychelles 0
18 248816 fr AS Asie JO Jordanie 0
19 272103 fr AS Asie LB Liban 0
20 285570 fr AS Asie KW Koweït 0
21 286963 fr AS Asie OM Oman 0
22 289688 fr AS Asie QA Qatar 0
23 290291 fr AS Asie BH Bahreïn 0
24 290557 fr AS Asie AE Émirats Arabes Unis 0
25 294640 fr AS Asie IL Israël 0
26 298795 fr AS Asie TR Turquie 0
27 337996 fr AF Afrique ET Éthiopie 0
28 338010 fr AF Afrique ER Érythrée 0
29 357994 fr AF Afrique EG Égypte 0
30 366755 fr AF Afrique SD Soudan 0
31 390903 fr EU Europe GR Grèce 1
32 433561 fr AF Afrique BI Burundi 0
33 453733 fr EU Europe EE Estonie 1
34 458258 fr EU Europe LV Lettonie 1
35 587116 fr AS Asie AZ Azerbaïdjan 0
36 597427 fr EU Europe LT Lituanie 1
37 607072 fr EU Europe SJ Svalbard et Jan Mayen 0
38 614540 fr AS Asie GE Géorgie 0
39 617790 fr EU Europe MD Moldavie 0
40 630336 fr EU Europe BY Biélorussie 0
41 660013 fr EU Europe FI Finlande 1
42 661882 fr EU Europe AX Îles Åland 1
43 690791 fr EU Europe UA Ukraine 0
44 718075 fr EU Europe MK Macédoine du Nord 0
45 719819 fr EU Europe HU Hongrie 1
46 732800 fr EU Europe BG Bulgarie 1
47 783754 fr EU Europe AL Albanie 0
48 798544 fr EU Europe PL Pologne 1
49 798549 fr EU Europe RO Roumanie 1
50 831053 fr EU Europe XK Kosovo 0
51 878675 fr AF Afrique ZW Zimbabwe 0
52 895949 fr AF Afrique ZM Zambie 0
53 921929 fr AF Afrique KM Comores 0
54 927384 fr AF Afrique MW Malawi 0
55 932692 fr AF Afrique LS Lesotho 0
56 933860 fr AF Afrique BW Botswana 0
57 934292 fr AF Afrique MU Maurice 0
58 934841 fr AF Afrique SZ Swaziland 0
59 935317 fr AF Afrique RE Réunion 1
60 953987 fr AF Afrique ZA Afrique du Sud 0
61 1024031 fr AF Afrique YT Mayotte 1
62 1036973 fr AF Afrique MZ Mozambique 0
63 1062947 fr AF Afrique MG Madagascar 0
64 1149361 fr AS Asie AF Afghanistan 0
65 1168579 fr AS Asie PK Pakistan 0
66 1210997 fr AS Asie BD Bangladesh 0
67 1218197 fr AS Asie TM Turkménistan 0
68 1220409 fr AS Asie TJ Tadjikistan 0
69 1227603 fr AS Asie LK Sri Lanka 0
70 1252634 fr AS Asie BT Bhoutan 0
71 1269750 fr AS Asie IN Inde 0
72 1282028 fr AS Asie MV Maldives 0
73 1282588 fr AS Asie IO Territoire britannique de l'océan Indien 0
74 1282988 fr AS Asie NP Népal 0
75 1327865 fr AS Asie MM Myanmar 0
76 1512440 fr AS Asie UZ Ouzbékistan 0
77 1522867 fr AS Asie KZ Kazakhstan 0
78 1527747 fr AS Asie KG Kirghizstan 0
79 1546748 fr AN Antarctique TF Terres australes françaises 0
80 1547314 fr AN Antarctique HM Île Heard et îles McDonald 0
81 1547376 fr AS Asie CC Îles Cocos 0
82 1559582 fr OC Océanie PW Palaos 0
83 1562822 fr AS Asie VN Viêt Nam 0
84 1605651 fr AS Asie TH Thaïlande 0
85 1643084 fr AS Asie ID Indonésie 0
86 1655842 fr AS Asie LA Laos 0
87 1668284 fr AS Asie TW Taïwan 0
88 1694008 fr AS Asie PH Philippines 0
89 1733045 fr AS Asie MY Malaisie 0
90 1814991 fr AS Asie CN Chine 0
91 1819730 fr AS Asie HK Hong Kong 0
92 1820814 fr AS Asie BN Brunei 0
93 1821275 fr AS Asie MO Macao 0
94 1831722 fr AS Asie KH Cambodge 0
95 1835841 fr AS Asie KR Corée du Sud 0
96 1861060 fr AS Asie JP Japon 0
97 1873107 fr AS Asie KP Corée du Nord 0
98 1880251 fr AS Asie SG Singapour 0
99 1899402 fr OC Océanie CK Îles Cook 0
100 1966436 fr OC Océanie TL Timor Oriental 0
101 2017370 fr EU Europe RU Russie 0
102 2029969 fr AS Asie MN Mongolie 0
103 2077456 fr OC Océanie AU Australie 0
104 2078138 fr OC Océanie CX Île Christmas 0
105 2080185 fr OC Océanie MH Îles Marshall 0
106 2081918 fr OC Océanie FM Micronésie 0
107 2088628 fr OC Océanie PG Papouasie-Nouvelle-Guinée 0
108 2103350 fr OC Océanie SB Îles Salomon 0
109 2110297 fr OC Océanie TV Tuvalu 0
110 2110425 fr OC Océanie NR Nauru 0
111 2134431 fr OC Océanie VU Vanuatu 0
112 2139685 fr OC Océanie NC Nouvelle-Calédonie 0
113 2155115 fr OC Océanie NF Île Norfolk 0
114 2186224 fr OC Océanie NZ Nouvelle-Zélande 0
115 2205218 fr OC Océanie FJ Fidji 0
116 2215636 fr AF Afrique LY Libye 0
117 2233387 fr AF Afrique CM Cameroun 0
118 2245662 fr AF Afrique SN Sénégal 0
119 2260494 fr AF Afrique CG République du Congo 0
120 2264397 fr EU Europe PT Portugal 1
121 2275384 fr AF Afrique LR Liberia 0
122 2287781 fr AF Afrique CI Côte d'Ivoire 0
123 2300660 fr AF Afrique GH Ghana 0
124 2309096 fr AF Afrique GQ Guinée équatoriale 0
125 2328926 fr AF Afrique NG Nigeria 0
126 2361809 fr AF Afrique BF Burkina Faso 0
127 2363686 fr AF Afrique TG Togo 0
128 2372248 fr AF Afrique GW Guinée-Bissau 0
129 2378080 fr AF Afrique MR Mauritanie 0
130 2395170 fr AF Afrique BJ Bénin 0
131 2400553 fr AF Afrique GA Gabon 0
132 2403846 fr AF Afrique SL Sierra Leone 0
133 2410758 fr AF Afrique ST Sao Tomé-et-Principe 0
134 2411586 fr EU Europe GI Gibraltar 0
135 2413451 fr AF Afrique GM Gambie 0
136 2420477 fr AF Afrique GN Guinée 0
137 2434508 fr AF Afrique TD Tchad 0
138 2440476 fr AF Afrique NE Niger 0
139 2453866 fr AF Afrique ML Mali 0
140 2461445 fr AF Afrique EH Sahara Occidental 0
141 2464461 fr AF Afrique TN Tunisie 0
142 2510769 fr EU Europe ES Espagne 1
143 2542007 fr AF Afrique MA Maroc 0
144 2562770 fr EU Europe MT Malte 1
145 2589581 fr AF Afrique DZ Algérie 0
146 2622320 fr EU Europe FO Îles Féroé 0
147 2623032 fr EU Europe DK Danemark 1
148 2629691 fr EU Europe IS Islande 0
149 2635167 fr EU Europe GB Royaume-Uni 0
150 2658434 fr EU Europe CH Suisse 0
151 2661886 fr EU Europe SE Suède 1
152 2750405 fr EU Europe NL Pays-Bas 1
153 2782113 fr EU Europe AT Autriche 1
154 2802361 fr EU Europe BE Belgique 1
155 2921044 fr EU Europe DE Allemagne 1
156 2960313 fr EU Europe LU Luxembourg 1
157 2963597 fr EU Europe IE Irlande 1
158 2993457 fr EU Europe MC Monaco 0
159 3017382 fr EU Europe FR France 1
160 3041565 fr EU Europe AD Andorre 0
161 3042058 fr EU Europe LI Liechtenstein 0
162 3042142 fr EU Europe JE Jersey 0
163 3042225 fr EU Europe IM Île de Man 0
164 3042362 fr EU Europe GG Guernesey 0
165 3057568 fr EU Europe SK Slovaquie 1
166 3077311 fr EU Europe CZ Tchéquie 1
167 3144096 fr EU Europe NO Norvège 0
168 3164670 fr EU Europe VA Vatican 0
169 3168068 fr EU Europe SM Saint-Marin 0
170 3175395 fr EU Europe IT Italie 1
171 3190538 fr EU Europe SI Slovénie 1
172 3194884 fr EU Europe ME Monténégro 0
173 3202326 fr EU Europe HR Croatie 1
174 3277605 fr EU Europe BA Bosnie-Herzégovine 0
175 3351879 fr AF Afrique AO Angola 0
176 3355338 fr AF Afrique NA Namibie 0
177 3370751 fr AF Afrique SH Sainte-Hélène 0
178 3371123 fr AN Antarctique BV Île Bouvet 0
179 3374084 fr NA Amérique du Nord BB Barbade 0
180 3374766 fr AF Afrique CV Cap-Vert 0
181 3378535 fr SA Amérique du Sud GY Guyana 0
182 3381670 fr SA Amérique du Sud GF Guyane 1
183 3382998 fr SA Amérique du Sud SR Suriname 0
184 3424932 fr NA Amérique du Nord PM Saint-Pierre et Miquelon 0
185 3425505 fr NA Amérique du Nord GL Groenland 0
186 3437598 fr SA Amérique du Sud PY Paraguay 0
187 3439705 fr SA Amérique du Sud UY Uruguay 0
188 3469034 fr SA Amérique du Sud BR Brésil 0
189 3474414 fr SA Amérique du Sud FK Îles Malouines 0
190 3474415 fr AN Antarctique GS Géorgie du Sud-et-les îles Sandwich du Sud 0
191 3489940 fr NA Amérique du Nord JM Jamaïque 0
192 3508796 fr NA Amérique du Nord DO République dominicaine 0
193 3562981 fr NA Amérique du Nord CU Cuba 0
194 3570311 fr NA Amérique du Nord MQ Martinique 1
195 3572887 fr NA Amérique du Nord BS Bahamas 0
196 3573345 fr NA Amérique du Nord BM Bermudes 0
197 3573511 fr NA Amérique du Nord AI Anguilla 0
198 3573591 fr NA Amérique du Nord TT Trinité-et-Tobago 0
199 3575174 fr NA Amérique du Nord KN Saint-Christophe-et-Niévès 0
200 3575830 fr NA Amérique du Nord DM Dominique 0
201 3576396 fr NA Amérique du Nord AG Antigua-et-Barbuda 0
202 3576468 fr NA Amérique du Nord LC Sainte-Lucie 0
203 3576916 fr NA Amérique du Nord TC Îles Turques-et-Caïques 0
204 3577279 fr NA Amérique du Nord AW Aruba 0
205 3577718 fr NA Amérique du Nord VG Îles Vierges 0
206 3577815 fr NA Amérique du Nord VC Saint-Vincent-et-les-Grenadines 0
207 3578097 fr NA Amérique du Nord MS Montserrat 0
208 3578421 fr NA Amérique du Nord MF Saint-Martin 1
209 3578476 fr NA Amérique du Nord BL Saint-Barthélemy 0
210 3579143 fr NA Amérique du Nord GP Guadeloupe 1
211 3580239 fr NA Amérique du Nord GD Grenade 0
212 3580718 fr NA Amérique du Nord KY Îles Caïmans 0
213 3582678 fr NA Amérique du Nord BZ Belize 0
214 3585968 fr NA Amérique du Nord SV Salvador 0
215 3595528 fr NA Amérique du Nord GT Guatemala 0
216 3608932 fr NA Amérique du Nord HN Honduras 0
217 3617476 fr NA Amérique du Nord NI Nicaragua 0
218 3624060 fr NA Amérique du Nord CR Costa Rica 0
219 3625428 fr SA Amérique du Sud VE Vénézuéla 0
220 3658394 fr SA Amérique du Sud EC Équateur 0
221 3686110 fr SA Amérique du Sud CO Colombie 0
222 3703430 fr NA Amérique du Nord PA Panama 0
223 3723988 fr NA Amérique du Nord HT Haïti 0
224 3865483 fr SA Amérique du Sud AR Argentine 0
225 3895114 fr SA Amérique du Sud CL Chili 0
226 3923057 fr SA Amérique du Sud BO Bolivie 0
227 3932488 fr SA Amérique du Sud PE Pérou 0
228 3996063 fr NA Amérique du Nord MX Mexique 0
229 4030656 fr OC Océanie PF Polynésie française 0
230 4030699 fr OC Océanie PN Pitcairn 0
231 4030945 fr OC Océanie KI Kiribati 0
232 4031074 fr OC Océanie TK Tokelau 0
233 4032283 fr OC Océanie TO Tonga 0
234 4034749 fr OC Océanie WF Wallis-et-Futuna 0
235 4034894 fr OC Océanie WS Samoa 0
236 4036232 fr OC Océanie NU Niue 0
237 4041468 fr OC Océanie MP Îles Mariannes du Nord 0
238 4043988 fr OC Océanie GU Guam 0
239 4566966 fr NA Amérique du Nord PR Porto Rico 0
240 4796775 fr NA Amérique du Nord VI Îles Vierges des États-Unis 0
241 5854968 fr OC Océanie UM Îles mineures éloignées des États-Unis 0
242 5880801 fr OC Océanie AS Samoa américaines 0
243 6251999 fr NA Amérique du Nord CA Canada 0
244 6252001 fr NA Amérique du Nord US États Unis 0
245 6254930 fr AS Asie PS Palestine 0
246 6255147 fr AS Asie 0
247 6255148 fr EU Europe 0
248 6290252 fr EU Europe RS Serbie 0
249 6697173 fr AN Antarctique AQ Antarctique 0
250 7609695 fr NA Amérique du Nord SX Saint-Martin 0
251 7626836 fr NA Amérique du Nord CW Curaçao 0
252 7626844 fr NA Amérique du Nord BQ Pays-Bas caribéens 0
253 7909807 fr AF Afrique SS Soudan du Sud 0

@ -0,0 +1,253 @@
geoname_id,locale_code,continent_code,continent_name,country_iso_code,country_name,is_in_european_union
49518,ja,AF,アフリカ,RW,ルワンダ共和国,0
51537,ja,AF,アフリカ,SO,ソマリア,0
69543,ja,AS,アジア,YE,イエメン共和国,0
99237,ja,AS,アジア,IQ,イラク共和国,0
102358,ja,AS,アジア,SA,サウジアラビア王国,0
130758,ja,AS,アジア,IR,イラン・イスラム共和国,0
146669,ja,EU,ヨーロッパ,CY,キプロス共和国,1
149590,ja,AF,アフリカ,TZ,タンザニア連合共和国,0
163843,ja,AS,アジア,SY,シリア・アラブ共和国,0
174982,ja,AS,アジア,AM,アルメニア共和国,0
192950,ja,AF,アフリカ,KE,ケニア共和国,0
203312,ja,AF,アフリカ,CD,コンゴ民主共和国,0
223816,ja,AF,アフリカ,DJ,ジブチ,0
226074,ja,AF,アフリカ,UG,ウガンダ共和国,0
239880,ja,AF,アフリカ,CF,中央アフリカ共和国,0
241170,ja,AF,アフリカ,SC,セーシェル,0
248816,ja,AS,アジア,JO,ヨルダン・ハシミテ王国,0
272103,ja,AS,アジア,LB,レバノン共和国,0
285570,ja,AS,アジア,KW,クウェート,0
286963,ja,AS,アジア,OM,オマーン国,0
289688,ja,AS,アジア,QA,カタール,0
290291,ja,AS,アジア,BH,バーレーン,0
290557,ja,AS,アジア,AE,アラブ首長国連邦,0
294640,ja,AS,アジア,IL,イスラエル国,0
298795,ja,AS,アジア,TR,トルコ共和国,0
337996,ja,AF,アフリカ,ET,エチオピア,0
338010,ja,AF,アフリカ,ER,エリトリア,0
357994,ja,AF,アフリカ,EG,エジプト・アラブ共和国,0
366755,ja,AF,アフリカ,SD,スーダン共和国,0
390903,ja,EU,ヨーロッパ,GR,ギリシャ共和国,1
433561,ja,AF,アフリカ,BI,ブルンジ共和国,0
453733,ja,EU,ヨーロッパ,EE,エストニア共和国,1
458258,ja,EU,ヨーロッパ,LV,ラトビア共和国,1
587116,ja,AS,アジア,AZ,アゼルバイジャン共和国,0
597427,ja,EU,ヨーロッパ,LT,リトアニア共和国,1
607072,ja,EU,ヨーロッパ,SJ,スバールバル諸島・ヤンマイエン島,0
614540,ja,AS,アジア,GE,グルジア共和国,0
617790,ja,EU,ヨーロッパ,MD,モルドバ共和国,0
630336,ja,EU,ヨーロッパ,BY,ベラルーシ共和国,0
660013,ja,EU,ヨーロッパ,FI,フィンランド共和国,1
661882,ja,EU,ヨーロッパ,AX,オーランド諸島,1
690791,ja,EU,ヨーロッパ,UA,ウクライナ共和国,0
718075,ja,EU,ヨーロッパ,MK,北マケドニア,0
719819,ja,EU,ヨーロッパ,HU,ハンガリー共和国,1
732800,ja,EU,ヨーロッパ,BG,ブルガリア共和国,1
783754,ja,EU,ヨーロッパ,AL,アルバニア共和国,0
798544,ja,EU,ヨーロッパ,PL,ポーランド共和国,1
798549,ja,EU,ヨーロッパ,RO,ルーマニア,1
831053,ja,EU,ヨーロッパ,XK,コソボ,0
878675,ja,AF,アフリカ,ZW,ジンバブエ共和国,0
895949,ja,AF,アフリカ,ZM,ザンビア共和国,0
921929,ja,AF,アフリカ,KM,コモロ・イスラム連邦共和国,0
927384,ja,AF,アフリカ,MW,マラウイ共和国,0
932692,ja,AF,アフリカ,LS,レソト王国,0
933860,ja,AF,アフリカ,BW,ボツワナ共和国,0
934292,ja,AF,アフリカ,MU,モーリシャス,0
934841,ja,AF,アフリカ,SZ,スワジランド王国,0
935317,ja,AF,アフリカ,RE,レユニオン,1
953987,ja,AF,アフリカ,ZA,南アフリカ,0
1024031,ja,AF,アフリカ,YT,マヨット島,1
1036973,ja,AF,アフリカ,MZ,モザンビーク共和国,0
1062947,ja,AF,アフリカ,MG,マダガスカル共和国,0
1149361,ja,AS,アジア,AF,アフガニスタン・イスラム国,0
1168579,ja,AS,アジア,PK,パキスタン・イスラム共和国,0
1210997,ja,AS,アジア,BD,バングラディッシュ人民共和国,0
1218197,ja,AS,アジア,TM,トルクメニスタン,0
1220409,ja,AS,アジア,TJ,タジキスタン共和国,0
1227603,ja,AS,アジア,LK,スリランカ民主社会主義共和国,0
1252634,ja,AS,アジア,BT,ブータン王国,0
1269750,ja,AS,アジア,IN,インド,0
1282028,ja,AS,アジア,MV,モルディブ,0
1282588,ja,AS,アジア,IO,英領インド洋地域,0
1282988,ja,AS,アジア,NP,ネパール王国,0
1327865,ja,AS,アジア,MM,ミャンマー連邦,0
1512440,ja,AS,アジア,UZ,ウズベキスタン共和国,0
1522867,ja,AS,アジア,KZ,カザフスタン共和国,0
1527747,ja,AS,アジア,KG,キルギス共和国,0
1546748,ja,AN,南極大陸,TF,仏領極南諸島,0
1547314,ja,AN,南極大陸,HM,ハード島・マクドナルド諸島,0
1547376,ja,AS,アジア,CC,ココス(キーリング)諸島,0
1559582,ja,OC,オセアニア,PW,パラオ,0
1562822,ja,AS,アジア,VN,ベトナム,0
1605651,ja,AS,アジア,TH,タイ王国,0
1643084,ja,AS,アジア,ID,インドネシア共和国,0
1655842,ja,AS,アジア,LA,ラオス,0
1668284,ja,AS,アジア,TW,台湾,0
1694008,ja,AS,アジア,PH,フィリピン共和国,0
1733045,ja,AS,アジア,MY,マレーシア,0
1814991,ja,AS,アジア,CN,中国,0
1819730,ja,AS,アジア,HK,香港,0
1820814,ja,AS,アジア,BN,ブルネイ,0
1821275,ja,AS,アジア,MO,マカオ,0
1831722,ja,AS,アジア,KH,カンボジア国,0
1835841,ja,AS,アジア,KR,大韓民国,0
1861060,ja,AS,アジア,JP,日本,0
1873107,ja,AS,アジア,KP,韓国、朝鮮民主主義人民共和国,0
1880251,ja,AS,アジア,SG,シンガポール,0
1899402,ja,OC,オセアニア,CK,クック諸島,0
1966436,ja,OC,オセアニア,TL,東ティモール共和国,0
2017370,ja,EU,ヨーロッパ,RU,ロシア,0
2029969,ja,AS,アジア,MN,モンゴル国,0
2077456,ja,OC,オセアニア,AU,オーストラリア,0
2078138,ja,OC,オセアニア,CX,クリスマス島,0
2080185,ja,OC,オセアニア,MH,マーシャル諸島,0
2081918,ja,OC,オセアニア,FM,ミクロネシア連邦,0
2088628,ja,OC,オセアニア,PG,パプア・ニューギニア,0
2103350,ja,OC,オセアニア,SB,ソロモン諸島,0
2110297,ja,OC,オセアニア,TV,ツバル,0
2110425,ja,OC,オセアニア,NR,ナウル,0
2134431,ja,OC,オセアニア,VU,バヌアツ共和国,0
2139685,ja,OC,オセアニア,NC,ニューカレドニア,0
2155115,ja,OC,オセアニア,NF,ノーフォーク島,0
2186224,ja,OC,オセアニア,NZ,ニュージーランド,0
2205218,ja,OC,オセアニア,FJ,フィジー,0
2215636,ja,AF,アフリカ,LY,社会主義人民リビア・アラブ国,0
2233387,ja,AF,アフリカ,CM,カメルーン共和国,0
2245662,ja,AF,アフリカ,SN,セネガル共和国,0
2260494,ja,AF,アフリカ,CG,コンゴ共和国,0
2264397,ja,EU,ヨーロッパ,PT,ポルトガル共和国,1
2275384,ja,AF,アフリカ,LR,リベリア共和国,0
2287781,ja,AF,アフリカ,CI,象牙海岸,0
2300660,ja,AF,アフリカ,GH,ガーナ共和国,0
2309096,ja,AF,アフリカ,GQ,赤道ギニア,0
2328926,ja,AF,アフリカ,NG,ナイジェリア連邦共和国,0
2361809,ja,AF,アフリカ,BF,ブルキナファソ,0
2363686,ja,AF,アフリカ,TG,トーゴ共和国,0
2372248,ja,AF,アフリカ,GW,ギニアビサウ共和国,0
2378080,ja,AF,アフリカ,MR,モーリタニア・イスラム共和国,0
2395170,ja,AF,アフリカ,BJ,ベニン共和国,0
2400553,ja,AF,アフリカ,GA,ガボン共和国,0
2403846,ja,AF,アフリカ,SL,シエラレオネ,0
2410758,ja,AF,アフリカ,ST,サントメ・プリンシペ,0
2411586,ja,EU,ヨーロッパ,GI,ジブラルタル,0
2413451,ja,AF,アフリカ,GM,ガンビア共和国,0
2420477,ja,AF,アフリカ,GN,ギニア共和国,0
2434508,ja,AF,アフリカ,TD,チャド共和国,0
2440476,ja,AF,アフリカ,NE,ニジェール共和国,0
2453866,ja,AF,アフリカ,ML,マリ共和国,0
2461445,ja,AF,アフリカ,EH,西サハラ,0
2464461,ja,AF,アフリカ,TN,チュニジア共和国,0
2510769,ja,EU,ヨーロッパ,ES,スペイン,1
2542007,ja,AF,アフリカ,MA,モロッコ王国,0
2562770,ja,EU,ヨーロッパ,MT,マルタ島,1
2589581,ja,AF,アフリカ,DZ,アルジェリア民主人民共和国,0
2622320,ja,EU,ヨーロッパ,FO,フェロー諸島,0
2623032,ja,EU,ヨーロッパ,DK,デンマーク王国,1
2629691,ja,EU,ヨーロッパ,IS,アイスランド共和国,0
2635167,ja,EU,ヨーロッパ,GB,英国,0
2658434,ja,EU,ヨーロッパ,CH,スイス連邦,0
2661886,ja,EU,ヨーロッパ,SE,スウェーデン王国,1
2750405,ja,EU,ヨーロッパ,NL,オランダ王国,1
2782113,ja,EU,ヨーロッパ,AT,オーストリア共和国,1
2802361,ja,EU,ヨーロッパ,BE,ベルギー王国,1
2921044,ja,EU,ヨーロッパ,DE,ドイツ連邦共和国,1
2960313,ja,EU,ヨーロッパ,LU,ルクセンブルク,1
2963597,ja,EU,ヨーロッパ,IE,アイルランド,1
2993457,ja,EU,ヨーロッパ,MC,モナコ,0
3017382,ja,EU,ヨーロッパ,FR,フランス共和国,1
3041565,ja,EU,ヨーロッパ,AD,アンドラ,0
3042058,ja,EU,ヨーロッパ,LI,リヒテンシュタイン公国,0
3042142,ja,EU,ヨーロッパ,JE,ジャージー,0
3042225,ja,EU,ヨーロッパ,IM,マン島,0
3042362,ja,EU,ヨーロッパ,GG,ガーンジー,0
3057568,ja,EU,ヨーロッパ,SK,"スロバキア (スロバキア共和国)",1
3077311,ja,EU,ヨーロッパ,CZ,チェコ共和国,1
3144096,ja,EU,ヨーロッパ,NO,ノルウェー王国,0
3164670,ja,EU,ヨーロッパ,VA,"ローマ法王庁 (バチカン市国)",0
3168068,ja,EU,ヨーロッパ,SM,サンマリノ共和国,0
3175395,ja,EU,ヨーロッパ,IT,イタリア共和国,1
3190538,ja,EU,ヨーロッパ,SI,スロベニア,1
3194884,ja,EU,ヨーロッパ,ME,モンテネグロ,0
3202326,ja,EU,ヨーロッパ,HR,クロアチア共和国,1
3277605,ja,EU,ヨーロッパ,BA,ボスニア・ヘルツェゴビナ,0
3351879,ja,AF,アフリカ,AO,アンゴラ共和国,0
3355338,ja,AF,アフリカ,NA,ナミビア共和国,0
3370751,ja,AF,アフリカ,SH,セントヘレナ,0
3371123,ja,AN,南極大陸,BV,ブーベ島,0
3374084,ja,NA,北アメリカ,BB,バルバドス,0
3374766,ja,AF,アフリカ,CV,カーボベルデ,0
3378535,ja,SA,南アメリカ,GY,ガイアナ,0
3381670,ja,SA,南アメリカ,GF,仏領ギアナ,1
3382998,ja,SA,南アメリカ,SR,スリナム共和国,0
3424932,ja,NA,北アメリカ,PM,サンピエール島・ミクロン島,0
3425505,ja,NA,北アメリカ,GL,グリーンランド,0
3437598,ja,SA,南アメリカ,PY,パラグアイ共和国,0
3439705,ja,SA,南アメリカ,UY,ウルグアイ共和国,0
3469034,ja,SA,南アメリカ,BR,ブラジル連邦共和国,0
3474414,ja,SA,南アメリカ,FK,フォークランド諸島,0
3474415,ja,AN,南極大陸,GS,サウスジョージア・サウスサンドウィッチ諸島,0
3489940,ja,NA,北アメリカ,JM,ジャマイカ,0
3508796,ja,NA,北アメリカ,DO,ドミニカ共和国,0
3562981,ja,NA,北アメリカ,CU,キューバ共和国,0
3570311,ja,NA,北アメリカ,MQ,マルティニーク,1
3572887,ja,NA,北アメリカ,BS,バハマ国,0
3573345,ja,NA,北アメリカ,BM,バミューダ諸島,0
3573511,ja,NA,北アメリカ,AI,アンギラ,0
3573591,ja,NA,北アメリカ,TT,トリニダード・トバゴ,0
3575174,ja,NA,北アメリカ,KN,セントクリストファー・ネビス,0
3575830,ja,NA,北アメリカ,DM,ドミニカ国,0
3576396,ja,NA,北アメリカ,AG,アンティグア・バーブーダ,0
3576468,ja,NA,北アメリカ,LC,セントルシア,0
3576916,ja,NA,北アメリカ,TC,タークス・カイコス諸島,0
3577279,ja,NA,北アメリカ,AW,アルバ島,0
3577718,ja,NA,北アメリカ,VG,英領ヴァージン諸島,0
3577815,ja,NA,北アメリカ,VC,セントビンセント及びグレナディーン諸島,0
3578097,ja,NA,北アメリカ,MS,モントセラト島,0
3578421,ja,NA,北アメリカ,MF,サン・マルタン,1
3578476,ja,NA,北アメリカ,BL,サン・バルテルミー,0
3579143,ja,NA,北アメリカ,GP,グアドループ,1
3580239,ja,NA,北アメリカ,GD,グレナダ,0
3580718,ja,NA,北アメリカ,KY,ケイマン諸島,0
3582678,ja,NA,北アメリカ,BZ,ベリーズ,0
3585968,ja,NA,北アメリカ,SV,エルサルバドル,0
3595528,ja,NA,北アメリカ,GT,グアテマラ,0
3608932,ja,NA,北アメリカ,HN,ホンジュラス共和国,0
3617476,ja,NA,北アメリカ,NI,ニカラグア共和国,0
3624060,ja,NA,北アメリカ,CR,コスタリカ,0
3625428,ja,SA,南アメリカ,VE,ベネズエラ共和国,0
3658394,ja,SA,南アメリカ,EC,エクアドル共和国,0
3686110,ja,SA,南アメリカ,CO,コロンビア共和国,0
3703430,ja,NA,北アメリカ,PA,パナマ,0
3723988,ja,NA,北アメリカ,HT,ハイチ共和国,0
3865483,ja,SA,南アメリカ,AR,アルゼンチン共和国,0
3895114,ja,SA,南アメリカ,CL,チリ共和国,0
3923057,ja,SA,南アメリカ,BO,ボリビア共和国,0
3932488,ja,SA,南アメリカ,PE,ペルー共和国,0
3996063,ja,NA,北アメリカ,MX,メキシコ合衆国,0
4030656,ja,OC,オセアニア,PF,仏領ポリネシア,0
4030699,ja,OC,オセアニア,PN,ピトケアン諸島,0
4030945,ja,OC,オセアニア,KI,キリバス共和国,0
4031074,ja,OC,オセアニア,TK,トケラウ,0
4032283,ja,OC,オセアニア,TO,トンガ王国,0
4034749,ja,OC,オセアニア,WF,ウォリス・フツナ,0
4034894,ja,OC,オセアニア,WS,西サモア,0
4036232,ja,OC,オセアニア,NU,ニウエ島,0
4041468,ja,OC,オセアニア,MP,北マリアナ諸島,0
4043988,ja,OC,オセアニア,GU,グアム,0
4566966,ja,NA,北アメリカ,PR,プエルトリコ,0
4796775,ja,NA,北アメリカ,VI,米領ヴァージン諸島,0
5854968,ja,OC,オセアニア,UM,合衆国領有小離島,0
5880801,ja,OC,オセアニア,AS,米領サモア,0
6251999,ja,NA,北アメリカ,CA,カナダ,0
6252001,ja,NA,北アメリカ,US,アメリカ,0
6254930,ja,AS,アジア,PS,パレスチナ,0
6255147,ja,AS,アジア,,,0
6255148,ja,EU,ヨーロッパ,,,0
6290252,ja,EU,ヨーロッパ,RS,セルビア,0
6697173,ja,AN,南極大陸,AQ,南極,0
7609695,ja,NA,北アメリカ,SX,シント・マールテン,0
7626836,ja,NA,北アメリカ,CW,キュラソー,0
7626844,ja,NA,北アメリカ,BQ,ボネール、シント・ユースタティウスおよびサバ,0
7909807,ja,AF,アフリカ,SS,南スーダン共和国,0
1 geoname_id locale_code continent_code continent_name country_iso_code country_name is_in_european_union
2 49518 ja AF アフリカ RW ルワンダ共和国 0
3 51537 ja AF アフリカ SO ソマリア 0
4 69543 ja AS アジア YE イエメン共和国 0
5 99237 ja AS アジア IQ イラク共和国 0
6 102358 ja AS アジア SA サウジアラビア王国 0
7 130758 ja AS アジア IR イラン・イスラム共和国 0
8 146669 ja EU ヨーロッパ CY キプロス共和国 1
9 149590 ja AF アフリカ TZ タンザニア連合共和国 0
10 163843 ja AS アジア SY シリア・アラブ共和国 0
11 174982 ja AS アジア AM アルメニア共和国 0
12 192950 ja AF アフリカ KE ケニア共和国 0
13 203312 ja AF アフリカ CD コンゴ民主共和国 0
14 223816 ja AF アフリカ DJ ジブチ 0
15 226074 ja AF アフリカ UG ウガンダ共和国 0
16 239880 ja AF アフリカ CF 中央アフリカ共和国 0
17 241170 ja AF アフリカ SC セーシェル 0
18 248816 ja AS アジア JO ヨルダン・ハシミテ王国 0
19 272103 ja AS アジア LB レバノン共和国 0
20 285570 ja AS アジア KW クウェート 0
21 286963 ja AS アジア OM オマーン国 0
22 289688 ja AS アジア QA カタール 0
23 290291 ja AS アジア BH バーレーン 0
24 290557 ja AS アジア AE アラブ首長国連邦 0
25 294640 ja AS アジア IL イスラエル国 0
26 298795 ja AS アジア TR トルコ共和国 0
27 337996 ja AF アフリカ ET エチオピア 0
28 338010 ja AF アフリカ ER エリトリア 0
29 357994 ja AF アフリカ EG エジプト・アラブ共和国 0
30 366755 ja AF アフリカ SD スーダン共和国 0
31 390903 ja EU ヨーロッパ GR ギリシャ共和国 1
32 433561 ja AF アフリカ BI ブルンジ共和国 0
33 453733 ja EU ヨーロッパ EE エストニア共和国 1
34 458258 ja EU ヨーロッパ LV ラトビア共和国 1
35 587116 ja AS アジア AZ アゼルバイジャン共和国 0
36 597427 ja EU ヨーロッパ LT リトアニア共和国 1
37 607072 ja EU ヨーロッパ SJ スバールバル諸島・ヤンマイエン島 0
38 614540 ja AS アジア GE グルジア共和国 0
39 617790 ja EU ヨーロッパ MD モルドバ共和国 0
40 630336 ja EU ヨーロッパ BY ベラルーシ共和国 0
41 660013 ja EU ヨーロッパ FI フィンランド共和国 1
42 661882 ja EU ヨーロッパ AX オーランド諸島 1
43 690791 ja EU ヨーロッパ UA ウクライナ共和国 0
44 718075 ja EU ヨーロッパ MK 北マケドニア 0
45 719819 ja EU ヨーロッパ HU ハンガリー共和国 1
46 732800 ja EU ヨーロッパ BG ブルガリア共和国 1
47 783754 ja EU ヨーロッパ AL アルバニア共和国 0
48 798544 ja EU ヨーロッパ PL ポーランド共和国 1
49 798549 ja EU ヨーロッパ RO ルーマニア 1
50 831053 ja EU ヨーロッパ XK コソボ 0
51 878675 ja AF アフリカ ZW ジンバブエ共和国 0
52 895949 ja AF アフリカ ZM ザンビア共和国 0
53 921929 ja AF アフリカ KM コモロ・イスラム連邦共和国 0
54 927384 ja AF アフリカ MW マラウイ共和国 0
55 932692 ja AF アフリカ LS レソト王国 0
56 933860 ja AF アフリカ BW ボツワナ共和国 0
57 934292 ja AF アフリカ MU モーリシャス 0
58 934841 ja AF アフリカ SZ スワジランド王国 0
59 935317 ja AF アフリカ RE レユニオン 1
60 953987 ja AF アフリカ ZA 南アフリカ 0
61 1024031 ja AF アフリカ YT マヨット島 1
62 1036973 ja AF アフリカ MZ モザンビーク共和国 0
63 1062947 ja AF アフリカ MG マダガスカル共和国 0
64 1149361 ja AS アジア AF アフガニスタン・イスラム国 0
65 1168579 ja AS アジア PK パキスタン・イスラム共和国 0
66 1210997 ja AS アジア BD バングラディッシュ人民共和国 0
67 1218197 ja AS アジア TM トルクメニスタン 0
68 1220409 ja AS アジア TJ タジキスタン共和国 0
69 1227603 ja AS アジア LK スリランカ民主社会主義共和国 0
70 1252634 ja AS アジア BT ブータン王国 0
71 1269750 ja AS アジア IN インド 0
72 1282028 ja AS アジア MV モルディブ 0
73 1282588 ja AS アジア IO 英領インド洋地域 0
74 1282988 ja AS アジア NP ネパール王国 0
75 1327865 ja AS アジア MM ミャンマー連邦 0
76 1512440 ja AS アジア UZ ウズベキスタン共和国 0
77 1522867 ja AS アジア KZ カザフスタン共和国 0
78 1527747 ja AS アジア KG キルギス共和国 0
79 1546748 ja AN 南極大陸 TF 仏領極南諸島 0
80 1547314 ja AN 南極大陸 HM ハード島・マクドナルド諸島 0
81 1547376 ja AS アジア CC ココス(キーリング)諸島 0
82 1559582 ja OC オセアニア PW パラオ 0
83 1562822 ja AS アジア VN ベトナム 0
84 1605651 ja AS アジア TH タイ王国 0
85 1643084 ja AS アジア ID インドネシア共和国 0
86 1655842 ja AS アジア LA ラオス 0
87 1668284 ja AS アジア TW 台湾 0
88 1694008 ja AS アジア PH フィリピン共和国 0
89 1733045 ja AS アジア MY マレーシア 0
90 1814991 ja AS アジア CN 中国 0
91 1819730 ja AS アジア HK 香港 0
92 1820814 ja AS アジア BN ブルネイ 0
93 1821275 ja AS アジア MO マカオ 0
94 1831722 ja AS アジア KH カンボジア国 0
95 1835841 ja AS アジア KR 大韓民国 0
96 1861060 ja AS アジア JP 日本 0
97 1873107 ja AS アジア KP 韓国、朝鮮民主主義人民共和国 0
98 1880251 ja AS アジア SG シンガポール 0
99 1899402 ja OC オセアニア CK クック諸島 0
100 1966436 ja OC オセアニア TL 東ティモール共和国 0
101 2017370 ja EU ヨーロッパ RU ロシア 0
102 2029969 ja AS アジア MN モンゴル国 0
103 2077456 ja OC オセアニア AU オーストラリア 0
104 2078138 ja OC オセアニア CX クリスマス島 0
105 2080185 ja OC オセアニア MH マーシャル諸島 0
106 2081918 ja OC オセアニア FM ミクロネシア連邦 0
107 2088628 ja OC オセアニア PG パプア・ニューギニア 0
108 2103350 ja OC オセアニア SB ソロモン諸島 0
109 2110297 ja OC オセアニア TV ツバル 0
110 2110425 ja OC オセアニア NR ナウル 0
111 2134431 ja OC オセアニア VU バヌアツ共和国 0
112 2139685 ja OC オセアニア NC ニューカレドニア 0
113 2155115 ja OC オセアニア NF ノーフォーク島 0
114 2186224 ja OC オセアニア NZ ニュージーランド 0
115 2205218 ja OC オセアニア FJ フィジー 0
116 2215636 ja AF アフリカ LY 社会主義人民リビア・アラブ国 0
117 2233387 ja AF アフリカ CM カメルーン共和国 0
118 2245662 ja AF アフリカ SN セネガル共和国 0
119 2260494 ja AF アフリカ CG コンゴ共和国 0
120 2264397 ja EU ヨーロッパ PT ポルトガル共和国 1
121 2275384 ja AF アフリカ LR リベリア共和国 0
122 2287781 ja AF アフリカ CI 象牙海岸 0
123 2300660 ja AF アフリカ GH ガーナ共和国 0
124 2309096 ja AF アフリカ GQ 赤道ギニア 0
125 2328926 ja AF アフリカ NG ナイジェリア連邦共和国 0
126 2361809 ja AF アフリカ BF ブルキナファソ 0
127 2363686 ja AF アフリカ TG トーゴ共和国 0
128 2372248 ja AF アフリカ GW ギニアビサウ共和国 0
129 2378080 ja AF アフリカ MR モーリタニア・イスラム共和国 0
130 2395170 ja AF アフリカ BJ ベニン共和国 0
131 2400553 ja AF アフリカ GA ガボン共和国 0
132 2403846 ja AF アフリカ SL シエラレオネ 0
133 2410758 ja AF アフリカ ST サントメ・プリンシペ 0
134 2411586 ja EU ヨーロッパ GI ジブラルタル 0
135 2413451 ja AF アフリカ GM ガンビア共和国 0
136 2420477 ja AF アフリカ GN ギニア共和国 0
137 2434508 ja AF アフリカ TD チャド共和国 0
138 2440476 ja AF アフリカ NE ニジェール共和国 0
139 2453866 ja AF アフリカ ML マリ共和国 0
140 2461445 ja AF アフリカ EH 西サハラ 0
141 2464461 ja AF アフリカ TN チュニジア共和国 0
142 2510769 ja EU ヨーロッパ ES スペイン 1
143 2542007 ja AF アフリカ MA モロッコ王国 0
144 2562770 ja EU ヨーロッパ MT マルタ島 1
145 2589581 ja AF アフリカ DZ アルジェリア民主人民共和国 0
146 2622320 ja EU ヨーロッパ FO フェロー諸島 0
147 2623032 ja EU ヨーロッパ DK デンマーク王国 1
148 2629691 ja EU ヨーロッパ IS アイスランド共和国 0
149 2635167 ja EU ヨーロッパ GB 英国 0
150 2658434 ja EU ヨーロッパ CH スイス連邦 0
151 2661886 ja EU ヨーロッパ SE スウェーデン王国 1
152 2750405 ja EU ヨーロッパ NL オランダ王国 1
153 2782113 ja EU ヨーロッパ AT オーストリア共和国 1
154 2802361 ja EU ヨーロッパ BE ベルギー王国 1
155 2921044 ja EU ヨーロッパ DE ドイツ連邦共和国 1
156 2960313 ja EU ヨーロッパ LU ルクセンブルク 1
157 2963597 ja EU ヨーロッパ IE アイルランド 1
158 2993457 ja EU ヨーロッパ MC モナコ 0
159 3017382 ja EU ヨーロッパ FR フランス共和国 1
160 3041565 ja EU ヨーロッパ AD アンドラ 0
161 3042058 ja EU ヨーロッパ LI リヒテンシュタイン公国 0
162 3042142 ja EU ヨーロッパ JE ジャージー 0
163 3042225 ja EU ヨーロッパ IM マン島 0
164 3042362 ja EU ヨーロッパ GG ガーンジー 0
165 3057568 ja EU ヨーロッパ SK スロバキア (スロバキア共和国) 1
166 3077311 ja EU ヨーロッパ CZ チェコ共和国 1
167 3144096 ja EU ヨーロッパ NO ノルウェー王国 0
168 3164670 ja EU ヨーロッパ VA ローマ法王庁 (バチカン市国) 0
169 3168068 ja EU ヨーロッパ SM サンマリノ共和国 0
170 3175395 ja EU ヨーロッパ IT イタリア共和国 1
171 3190538 ja EU ヨーロッパ SI スロベニア 1
172 3194884 ja EU ヨーロッパ ME モンテネグロ 0
173 3202326 ja EU ヨーロッパ HR クロアチア共和国 1
174 3277605 ja EU ヨーロッパ BA ボスニア・ヘルツェゴビナ 0
175 3351879 ja AF アフリカ AO アンゴラ共和国 0
176 3355338 ja AF アフリカ NA ナミビア共和国 0
177 3370751 ja AF アフリカ SH セントヘレナ 0
178 3371123 ja AN 南極大陸 BV ブーベ島 0
179 3374084 ja NA 北アメリカ BB バルバドス 0
180 3374766 ja AF アフリカ CV カーボベルデ 0
181 3378535 ja SA 南アメリカ GY ガイアナ 0
182 3381670 ja SA 南アメリカ GF 仏領ギアナ 1
183 3382998 ja SA 南アメリカ SR スリナム共和国 0
184 3424932 ja NA 北アメリカ PM サンピエール島・ミクロン島 0
185 3425505 ja NA 北アメリカ GL グリーンランド 0
186 3437598 ja SA 南アメリカ PY パラグアイ共和国 0
187 3439705 ja SA 南アメリカ UY ウルグアイ共和国 0
188 3469034 ja SA 南アメリカ BR ブラジル連邦共和国 0
189 3474414 ja SA 南アメリカ FK フォークランド諸島 0
190 3474415 ja AN 南極大陸 GS サウスジョージア・サウスサンドウィッチ諸島 0
191 3489940 ja NA 北アメリカ JM ジャマイカ 0
192 3508796 ja NA 北アメリカ DO ドミニカ共和国 0
193 3562981 ja NA 北アメリカ CU キューバ共和国 0
194 3570311 ja NA 北アメリカ MQ マルティニーク 1
195 3572887 ja NA 北アメリカ BS バハマ国 0
196 3573345 ja NA 北アメリカ BM バミューダ諸島 0
197 3573511 ja NA 北アメリカ AI アンギラ 0
198 3573591 ja NA 北アメリカ TT トリニダード・トバゴ 0
199 3575174 ja NA 北アメリカ KN セントクリストファー・ネビス 0
200 3575830 ja NA 北アメリカ DM ドミニカ国 0
201 3576396 ja NA 北アメリカ AG アンティグア・バーブーダ 0
202 3576468 ja NA 北アメリカ LC セントルシア 0
203 3576916 ja NA 北アメリカ TC タークス・カイコス諸島 0
204 3577279 ja NA 北アメリカ AW アルバ島 0
205 3577718 ja NA 北アメリカ VG 英領ヴァージン諸島 0
206 3577815 ja NA 北アメリカ VC セントビンセント及びグレナディーン諸島 0
207 3578097 ja NA 北アメリカ MS モントセラト島 0
208 3578421 ja NA 北アメリカ MF サン・マルタン 1
209 3578476 ja NA 北アメリカ BL サン・バルテルミー 0
210 3579143 ja NA 北アメリカ GP グアドループ 1
211 3580239 ja NA 北アメリカ GD グレナダ 0
212 3580718 ja NA 北アメリカ KY ケイマン諸島 0
213 3582678 ja NA 北アメリカ BZ ベリーズ 0
214 3585968 ja NA 北アメリカ SV エルサルバドル 0
215 3595528 ja NA 北アメリカ GT グアテマラ 0
216 3608932 ja NA 北アメリカ HN ホンジュラス共和国 0
217 3617476 ja NA 北アメリカ NI ニカラグア共和国 0
218 3624060 ja NA 北アメリカ CR コスタリカ 0
219 3625428 ja SA 南アメリカ VE ベネズエラ共和国 0
220 3658394 ja SA 南アメリカ EC エクアドル共和国 0
221 3686110 ja SA 南アメリカ CO コロンビア共和国 0
222 3703430 ja NA 北アメリカ PA パナマ 0
223 3723988 ja NA 北アメリカ HT ハイチ共和国 0
224 3865483 ja SA 南アメリカ AR アルゼンチン共和国 0
225 3895114 ja SA 南アメリカ CL チリ共和国 0
226 3923057 ja SA 南アメリカ BO ボリビア共和国 0
227 3932488 ja SA 南アメリカ PE ペルー共和国 0
228 3996063 ja NA 北アメリカ MX メキシコ合衆国 0
229 4030656 ja OC オセアニア PF 仏領ポリネシア 0
230 4030699 ja OC オセアニア PN ピトケアン諸島 0
231 4030945 ja OC オセアニア KI キリバス共和国 0
232 4031074 ja OC オセアニア TK トケラウ 0
233 4032283 ja OC オセアニア TO トンガ王国 0
234 4034749 ja OC オセアニア WF ウォリス・フツナ 0
235 4034894 ja OC オセアニア WS 西サモア 0
236 4036232 ja OC オセアニア NU ニウエ島 0
237 4041468 ja OC オセアニア MP 北マリアナ諸島 0
238 4043988 ja OC オセアニア GU グアム 0
239 4566966 ja NA 北アメリカ PR プエルトリコ 0
240 4796775 ja NA 北アメリカ VI 米領ヴァージン諸島 0
241 5854968 ja OC オセアニア UM 合衆国領有小離島 0
242 5880801 ja OC オセアニア AS 米領サモア 0
243 6251999 ja NA 北アメリカ CA カナダ 0
244 6252001 ja NA 北アメリカ US アメリカ 0
245 6254930 ja AS アジア PS パレスチナ 0
246 6255147 ja AS アジア 0
247 6255148 ja EU ヨーロッパ 0
248 6290252 ja EU ヨーロッパ RS セルビア 0
249 6697173 ja AN 南極大陸 AQ 南極 0
250 7609695 ja NA 北アメリカ SX シント・マールテン 0
251 7626836 ja NA 北アメリカ CW キュラソー 0
252 7626844 ja NA 北アメリカ BQ ボネール、シント・ユースタティウスおよびサバ 0
253 7909807 ja AF アフリカ SS 南スーダン共和国 0

@ -0,0 +1,253 @@
geoname_id,locale_code,continent_code,continent_name,country_iso_code,country_name,is_in_european_union
49518,pt-BR,AF,África,RW,Ruanda,0
51537,pt-BR,AF,África,SO,Somália,0
69543,pt-BR,AS,Ásia,YE,Iêmen,0
99237,pt-BR,AS,Ásia,IQ,Iraque,0
102358,pt-BR,AS,Ásia,SA,"Arábia Saudita",0
130758,pt-BR,AS,Ásia,IR,Irã,0
146669,pt-BR,EU,Europa,CY,Chipre,1
149590,pt-BR,AF,África,TZ,Tanzânia,0
163843,pt-BR,AS,Ásia,SY,Síria,0
174982,pt-BR,AS,Ásia,AM,Armênia,0
192950,pt-BR,AF,África,KE,Quênia,0
203312,pt-BR,AF,África,CD,"Congo - Kinshasa",0
223816,pt-BR,AF,África,DJ,Djibuti,0
226074,pt-BR,AF,África,UG,Uganda,0
239880,pt-BR,AF,África,CF,"República Centro-Africana",0
241170,pt-BR,AF,África,SC,"Ilhas Seychelles",0
248816,pt-BR,AS,Ásia,JO,Jordânia,0
272103,pt-BR,AS,Ásia,LB,Líbano,0
285570,pt-BR,AS,Ásia,KW,Kuwait,0
286963,pt-BR,AS,Ásia,OM,Omã,0
289688,pt-BR,AS,Ásia,QA,Catar,0
290291,pt-BR,AS,Ásia,BH,Bahrain,0
290557,pt-BR,AS,Ásia,AE,"Emirados Árabes Unidos",0
294640,pt-BR,AS,Ásia,IL,Israel,0
298795,pt-BR,AS,Ásia,TR,Turquia,0
337996,pt-BR,AF,África,ET,Etiópia,0
338010,pt-BR,AF,África,ER,Eritreia,0
357994,pt-BR,AF,África,EG,Egito,0
366755,pt-BR,AF,África,SD,Sudão,0
390903,pt-BR,EU,Europa,GR,Grécia,1
433561,pt-BR,AF,África,BI,Burundi,0
453733,pt-BR,EU,Europa,EE,Estônia,1
458258,pt-BR,EU,Europa,LV,Letônia,1
587116,pt-BR,AS,Ásia,AZ,Azerbaijão,0
597427,pt-BR,EU,Europa,LT,Lituânia,1
607072,pt-BR,EU,Europa,SJ,"Svalbard e Jan Mayen",0
614540,pt-BR,AS,Ásia,GE,Geórgia,0
617790,pt-BR,EU,Europa,MD,Moldávia,0
630336,pt-BR,EU,Europa,BY,Bielorrússia,0
660013,pt-BR,EU,Europa,FI,Finlândia,1
661882,pt-BR,EU,Europa,AX,Alanda,1
690791,pt-BR,EU,Europa,UA,Ucrânia,0
718075,pt-BR,EU,Europa,MK,Macedônia,0
719819,pt-BR,EU,Europa,HU,Hungria,1
732800,pt-BR,EU,Europa,BG,Bulgária,1
783754,pt-BR,EU,Europa,AL,Albânia,0
798544,pt-BR,EU,Europa,PL,Polônia,1
798549,pt-BR,EU,Europa,RO,Romênia,1
831053,pt-BR,EU,Europa,XK,Kosovo,0
878675,pt-BR,AF,África,ZW,Zimbábue,0
895949,pt-BR,AF,África,ZM,Zâmbia,0
921929,pt-BR,AF,África,KM,Comores,0
927384,pt-BR,AF,África,MW,Malauí,0
932692,pt-BR,AF,África,LS,Lesoto,0
933860,pt-BR,AF,África,BW,Botsuana,0
934292,pt-BR,AF,África,MU,Maurício,0
934841,pt-BR,AF,África,SZ,Essuatíni,0
935317,pt-BR,AF,África,RE,Reunião,1
953987,pt-BR,AF,África,ZA,"África do Sul",0
1024031,pt-BR,AF,África,YT,Mayotte,1
1036973,pt-BR,AF,África,MZ,Moçambique,0
1062947,pt-BR,AF,África,MG,Madagascar,0
1149361,pt-BR,AS,Ásia,AF,Afeganistão,0
1168579,pt-BR,AS,Ásia,PK,Paquistão,0
1210997,pt-BR,AS,Ásia,BD,Bangladesh,0
1218197,pt-BR,AS,Ásia,TM,Turcomenistão,0
1220409,pt-BR,AS,Ásia,TJ,Tadjiquistão,0
1227603,pt-BR,AS,Ásia,LK,"Sri Lanka",0
1252634,pt-BR,AS,Ásia,BT,Butão,0
1269750,pt-BR,AS,Ásia,IN,Índia,0
1282028,pt-BR,AS,Ásia,MV,Maldivas,0
1282588,pt-BR,AS,Ásia,IO,"Território Britânico do Oceano Índico",0
1282988,pt-BR,AS,Ásia,NP,Nepal,0
1327865,pt-BR,AS,Ásia,MM,"Mianmar (Birmânia)",0
1512440,pt-BR,AS,Ásia,UZ,Uzbequistão,0
1522867,pt-BR,AS,Ásia,KZ,Cazaquistão,0
1527747,pt-BR,AS,Ásia,KG,Quirguistão,0
1546748,pt-BR,AN,Antártica,TF,"Territórios Franceses do Sul",0
1547314,pt-BR,AN,Antártica,HM,"Ilhas Heard e McDonald",0
1547376,pt-BR,AS,Ásia,CC,"Ilhas Cocos (Keeling)",0
1559582,pt-BR,OC,Oceania,PW,Palau,0
1562822,pt-BR,AS,Ásia,VN,Vietnã,0
1605651,pt-BR,AS,Ásia,TH,Tailândia,0
1643084,pt-BR,AS,Ásia,ID,Indonésia,0
1655842,pt-BR,AS,Ásia,LA,"República Popular Democrática do Laos",0
1668284,pt-BR,AS,Ásia,TW,Taiwan,0
1694008,pt-BR,AS,Ásia,PH,Filipinas,0
1733045,pt-BR,AS,Ásia,MY,Malásia,0
1814991,pt-BR,AS,Ásia,CN,China,0
1819730,pt-BR,AS,Ásia,HK,"Hong Kong",0
1820814,pt-BR,AS,Ásia,BN,Brunei,0
1821275,pt-BR,AS,Ásia,MO,Macau,0
1831722,pt-BR,AS,Ásia,KH,Camboja,0
1835841,pt-BR,AS,Ásia,KR,"Coreia do Sul",0
1861060,pt-BR,AS,Ásia,JP,Japão,0
1873107,pt-BR,AS,Ásia,KP,"Coreia do Norte",0
1880251,pt-BR,AS,Ásia,SG,Singapura,0
1899402,pt-BR,OC,Oceania,CK,"Ilhas Cook",0
1966436,pt-BR,OC,Oceania,TL,Timor-Leste,0
2017370,pt-BR,EU,Europa,RU,Rússia,0
2029969,pt-BR,AS,Ásia,MN,Mongólia,0
2077456,pt-BR,OC,Oceania,AU,Austrália,0
2078138,pt-BR,OC,Oceania,CX,"Ilha Christmas",0
2080185,pt-BR,OC,Oceania,MH,"Ilhas Marshall",0
2081918,pt-BR,OC,Oceania,FM,Micronésia,0
2088628,pt-BR,OC,Oceania,PG,"Papua-Nova Guiné",0
2103350,pt-BR,OC,Oceania,SB,"Ilhas Salomão",0
2110297,pt-BR,OC,Oceania,TV,Tuvalu,0
2110425,pt-BR,OC,Oceania,NR,Nauru,0
2134431,pt-BR,OC,Oceania,VU,Vanuatu,0
2139685,pt-BR,OC,Oceania,NC,"Nova Caledônia",0
2155115,pt-BR,OC,Oceania,NF,"Ilha Norfolk",0
2186224,pt-BR,OC,Oceania,NZ,"Nova Zelândia",0
2205218,pt-BR,OC,Oceania,FJ,Fiji,0
2215636,pt-BR,AF,África,LY,Líbia,0
2233387,pt-BR,AF,África,CM,Camarões,0
2245662,pt-BR,AF,África,SN,Senegal,0
2260494,pt-BR,AF,África,CG,Congo,0
2264397,pt-BR,EU,Europa,PT,Portugal,1
2275384,pt-BR,AF,África,LR,Libéria,0
2287781,pt-BR,AF,África,CI,"Côte dIvoire",0
2300660,pt-BR,AF,África,GH,Gana,0
2309096,pt-BR,AF,África,GQ,"Guiné Equatorial",0
2328926,pt-BR,AF,África,NG,Nigéria,0
2361809,pt-BR,AF,África,BF,"Burquina Faso",0
2363686,pt-BR,AF,África,TG,Togo,0
2372248,pt-BR,AF,África,GW,Guiné-Bissau,0
2378080,pt-BR,AF,África,MR,Mauritânia,0
2395170,pt-BR,AF,África,BJ,Benin,0
2400553,pt-BR,AF,África,GA,Gabão,0
2403846,pt-BR,AF,África,SL,"Serra Leoa",0
2410758,pt-BR,AF,África,ST,"São Tomé e Príncipe",0
2411586,pt-BR,EU,Europa,GI,Gibraltar,0
2413451,pt-BR,AF,África,GM,Gâmbia,0
2420477,pt-BR,AF,África,GN,Guiné,0
2434508,pt-BR,AF,África,TD,Chade,0
2440476,pt-BR,AF,África,NE,Níger,0
2453866,pt-BR,AF,África,ML,Mali,0
2461445,pt-BR,AF,África,EH,"Saara Ocidental",0
2464461,pt-BR,AF,África,TN,Tunísia,0
2510769,pt-BR,EU,Europa,ES,Espanha,1
2542007,pt-BR,AF,África,MA,Marrocos,0
2562770,pt-BR,EU,Europa,MT,Malta,1
2589581,pt-BR,AF,África,DZ,Argélia,0
2622320,pt-BR,EU,Europa,FO,"Ilhas Faroé",0
2623032,pt-BR,EU,Europa,DK,Dinamarca,1
2629691,pt-BR,EU,Europa,IS,Islândia,0
2635167,pt-BR,EU,Europa,GB,"Reino Unido",0
2658434,pt-BR,EU,Europa,CH,Suíça,0
2661886,pt-BR,EU,Europa,SE,Suécia,1
2750405,pt-BR,EU,Europa,NL,Holanda,1
2782113,pt-BR,EU,Europa,AT,Áustria,1
2802361,pt-BR,EU,Europa,BE,Bélgica,1
2921044,pt-BR,EU,Europa,DE,Alemanha,1
2960313,pt-BR,EU,Europa,LU,Luxemburgo,1
2963597,pt-BR,EU,Europa,IE,Irlanda,1
2993457,pt-BR,EU,Europa,MC,Mónaco,0
3017382,pt-BR,EU,Europa,FR,França,1
3041565,pt-BR,EU,Europa,AD,Andorra,0
3042058,pt-BR,EU,Europa,LI,Liechtenstein,0
3042142,pt-BR,EU,Europa,JE,Jersey,0
3042225,pt-BR,EU,Europa,IM,"Ilha de Man",0
3042362,pt-BR,EU,Europa,GG,Guernsey,0
3057568,pt-BR,EU,Europa,SK,Eslováquia,1
3077311,pt-BR,EU,Europa,CZ,Chéquia,1
3144096,pt-BR,EU,Europa,NO,Noruega,0
3164670,pt-BR,EU,Europa,VA,Vaticano,0
3168068,pt-BR,EU,Europa,SM,"San Marino",0
3175395,pt-BR,EU,Europa,IT,Itália,1
3190538,pt-BR,EU,Europa,SI,Eslovênia,1
3194884,pt-BR,EU,Europa,ME,Montenegro,0
3202326,pt-BR,EU,Europa,HR,Croácia,1
3277605,pt-BR,EU,Europa,BA,"Bósnia e Herzegovina",0
3351879,pt-BR,AF,África,AO,Angola,0
3355338,pt-BR,AF,África,NA,Namíbia,0
3370751,pt-BR,AF,África,SH,"Santa Helena",0
3371123,pt-BR,AN,Antártica,BV,"Ilha Bouvet",0
3374084,pt-BR,NA,"América do Norte",BB,Barbados,0
3374766,pt-BR,AF,África,CV,"Cabo Verde",0
3378535,pt-BR,SA,"América do Sul",GY,Guiana,0
3381670,pt-BR,SA,"América do Sul",GF,"Guiana Francesa",1
3382998,pt-BR,SA,"América do Sul",SR,Suriname,0
3424932,pt-BR,NA,"América do Norte",PM,"São Pedro e Miquelão",0
3425505,pt-BR,NA,"América do Norte",GL,Groenlândia,0
3437598,pt-BR,SA,"América do Sul",PY,Paraguai,0
3439705,pt-BR,SA,"América do Sul",UY,Uruguai,0
3469034,pt-BR,SA,"América do Sul",BR,Brasil,0
3474414,pt-BR,SA,"América do Sul",FK,"Ilhas Malvinas",0
3474415,pt-BR,AN,Antártica,GS,"Ilhas Geórgia do Sul e Sandwich do Sul",0
3489940,pt-BR,NA,"América do Norte",JM,Jamaica,0
3508796,pt-BR,NA,"América do Norte",DO,"República Dominicana",0
3562981,pt-BR,NA,"América do Norte",CU,Cuba,0
3570311,pt-BR,NA,"América do Norte",MQ,Martinica,1
3572887,pt-BR,NA,"América do Norte",BS,Bahamas,0
3573345,pt-BR,NA,"América do Norte",BM,Bermudas,0
3573511,pt-BR,NA,"América do Norte",AI,Anguilla,0
3573591,pt-BR,NA,"América do Norte",TT,"Trinidad e Tobago",0
3575174,pt-BR,NA,"América do Norte",KN,"São Cristóvão e Névis",0
3575830,pt-BR,NA,"América do Norte",DM,Dominica,0
3576396,pt-BR,NA,"América do Norte",AG,"Antígua e Barbuda",0
3576468,pt-BR,NA,"América do Norte",LC,"Santa Lúcia",0
3576916,pt-BR,NA,"América do Norte",TC,"Ilhas Turcas e Caicos",0
3577279,pt-BR,NA,"América do Norte",AW,Aruba,0
3577718,pt-BR,NA,"América do Norte",VG,"Ilhas Virgens Britânicas",0
3577815,pt-BR,NA,"América do Norte",VC,"São Vicente e Granadinas",0
3578097,pt-BR,NA,"América do Norte",MS,Montserrat,0
3578421,pt-BR,NA,"América do Norte",MF,"São Martinho",1
3578476,pt-BR,NA,"América do Norte",BL,"São Bartolomeu",0
3579143,pt-BR,NA,"América do Norte",GP,Guadalupe,1
3580239,pt-BR,NA,"América do Norte",GD,Granada,0
3580718,pt-BR,NA,"América do Norte",KY,"Ilhas Caiman",0
3582678,pt-BR,NA,"América do Norte",BZ,Belize,0
3585968,pt-BR,NA,"América do Norte",SV,"El Salvador",0
3595528,pt-BR,NA,"América do Norte",GT,Guatemala,0
3608932,pt-BR,NA,"América do Norte",HN,Honduras,0
3617476,pt-BR,NA,"América do Norte",NI,Nicarágua,0
3624060,pt-BR,NA,"América do Norte",CR,"Costa Rica",0
3625428,pt-BR,SA,"América do Sul",VE,Venezuela,0
3658394,pt-BR,SA,"América do Sul",EC,Equador,0
3686110,pt-BR,SA,"América do Sul",CO,Colômbia,0
3703430,pt-BR,NA,"América do Norte",PA,Panamá,0
3723988,pt-BR,NA,"América do Norte",HT,Haiti,0
3865483,pt-BR,SA,"América do Sul",AR,Argentina,0
3895114,pt-BR,SA,"América do Sul",CL,Chile,0
3923057,pt-BR,SA,"América do Sul",BO,Bolívia,0
3932488,pt-BR,SA,"América do Sul",PE,Peru,0
3996063,pt-BR,NA,"América do Norte",MX,México,0
4030656,pt-BR,OC,Oceania,PF,"Polinésia Francesa",0
4030699,pt-BR,OC,Oceania,PN,"Ilhas Pitcairn",0
4030945,pt-BR,OC,Oceania,KI,Quiribati,0
4031074,pt-BR,OC,Oceania,TK,Tokelau,0
4032283,pt-BR,OC,Oceania,TO,Tonga,0
4034749,pt-BR,OC,Oceania,WF,"Wallis e Futuna",0
4034894,pt-BR,OC,Oceania,WS,Samoa,0
4036232,pt-BR,OC,Oceania,NU,Niue,0
4041468,pt-BR,OC,Oceania,MP,"Ilhas Marianas do Norte",0
4043988,pt-BR,OC,Oceania,GU,Guam,0
4566966,pt-BR,NA,"América do Norte",PR,"Porto Rico",0
4796775,pt-BR,NA,"América do Norte",VI,"Ilhas Virgens Americanas",0
5854968,pt-BR,OC,Oceania,UM,"Ilhas Menores Distantes dos EUA",0
5880801,pt-BR,OC,Oceania,AS,"Samoa Americana",0
6251999,pt-BR,NA,"América do Norte",CA,Canadá,0
6252001,pt-BR,NA,"América do Norte",US,EUA,0
6254930,pt-BR,AS,Ásia,PS,Palestina,0
6255147,pt-BR,AS,Ásia,,,0
6255148,pt-BR,EU,Europa,,,0
6290252,pt-BR,EU,Europa,RS,Sérvia,0
6697173,pt-BR,AN,Antártica,AQ,Antártida,0
7609695,pt-BR,NA,"América do Norte",SX,"São Martinho",0
7626836,pt-BR,NA,"América do Norte",CW,Curaçao,0
7626844,pt-BR,NA,"América do Norte",BQ,Bonaire,0
7909807,pt-BR,AF,África,SS,"República do Sudão do Sul",0
1 geoname_id locale_code continent_code continent_name country_iso_code country_name is_in_european_union
2 49518 pt-BR AF África RW Ruanda 0
3 51537 pt-BR AF África SO Somália 0
4 69543 pt-BR AS Ásia YE Iêmen 0
5 99237 pt-BR AS Ásia IQ Iraque 0
6 102358 pt-BR AS Ásia SA Arábia Saudita 0
7 130758 pt-BR AS Ásia IR Irã 0
8 146669 pt-BR EU Europa CY Chipre 1
9 149590 pt-BR AF África TZ Tanzânia 0
10 163843 pt-BR AS Ásia SY Síria 0
11 174982 pt-BR AS Ásia AM Armênia 0
12 192950 pt-BR AF África KE Quênia 0
13 203312 pt-BR AF África CD Congo - Kinshasa 0
14 223816 pt-BR AF África DJ Djibuti 0
15 226074 pt-BR AF África UG Uganda 0
16 239880 pt-BR AF África CF República Centro-Africana 0
17 241170 pt-BR AF África SC Ilhas Seychelles 0
18 248816 pt-BR AS Ásia JO Jordânia 0
19 272103 pt-BR AS Ásia LB Líbano 0
20 285570 pt-BR AS Ásia KW Kuwait 0
21 286963 pt-BR AS Ásia OM Omã 0
22 289688 pt-BR AS Ásia QA Catar 0
23 290291 pt-BR AS Ásia BH Bahrain 0
24 290557 pt-BR AS Ásia AE Emirados Árabes Unidos 0
25 294640 pt-BR AS Ásia IL Israel 0
26 298795 pt-BR AS Ásia TR Turquia 0
27 337996 pt-BR AF África ET Etiópia 0
28 338010 pt-BR AF África ER Eritreia 0
29 357994 pt-BR AF África EG Egito 0
30 366755 pt-BR AF África SD Sudão 0
31 390903 pt-BR EU Europa GR Grécia 1
32 433561 pt-BR AF África BI Burundi 0
33 453733 pt-BR EU Europa EE Estônia 1
34 458258 pt-BR EU Europa LV Letônia 1
35 587116 pt-BR AS Ásia AZ Azerbaijão 0
36 597427 pt-BR EU Europa LT Lituânia 1
37 607072 pt-BR EU Europa SJ Svalbard e Jan Mayen 0
38 614540 pt-BR AS Ásia GE Geórgia 0
39 617790 pt-BR EU Europa MD Moldávia 0
40 630336 pt-BR EU Europa BY Bielorrússia 0
41 660013 pt-BR EU Europa FI Finlândia 1
42 661882 pt-BR EU Europa AX Alanda 1
43 690791 pt-BR EU Europa UA Ucrânia 0
44 718075 pt-BR EU Europa MK Macedônia 0
45 719819 pt-BR EU Europa HU Hungria 1
46 732800 pt-BR EU Europa BG Bulgária 1
47 783754 pt-BR EU Europa AL Albânia 0
48 798544 pt-BR EU Europa PL Polônia 1
49 798549 pt-BR EU Europa RO Romênia 1
50 831053 pt-BR EU Europa XK Kosovo 0
51 878675 pt-BR AF África ZW Zimbábue 0
52 895949 pt-BR AF África ZM Zâmbia 0
53 921929 pt-BR AF África KM Comores 0
54 927384 pt-BR AF África MW Malauí 0
55 932692 pt-BR AF África LS Lesoto 0
56 933860 pt-BR AF África BW Botsuana 0
57 934292 pt-BR AF África MU Maurício 0
58 934841 pt-BR AF África SZ Essuatíni 0
59 935317 pt-BR AF África RE Reunião 1
60 953987 pt-BR AF África ZA África do Sul 0
61 1024031 pt-BR AF África YT Mayotte 1
62 1036973 pt-BR AF África MZ Moçambique 0
63 1062947 pt-BR AF África MG Madagascar 0
64 1149361 pt-BR AS Ásia AF Afeganistão 0
65 1168579 pt-BR AS Ásia PK Paquistão 0
66 1210997 pt-BR AS Ásia BD Bangladesh 0
67 1218197 pt-BR AS Ásia TM Turcomenistão 0
68 1220409 pt-BR AS Ásia TJ Tadjiquistão 0
69 1227603 pt-BR AS Ásia LK Sri Lanka 0
70 1252634 pt-BR AS Ásia BT Butão 0
71 1269750 pt-BR AS Ásia IN Índia 0
72 1282028 pt-BR AS Ásia MV Maldivas 0
73 1282588 pt-BR AS Ásia IO Território Britânico do Oceano Índico 0
74 1282988 pt-BR AS Ásia NP Nepal 0
75 1327865 pt-BR AS Ásia MM Mianmar (Birmânia) 0
76 1512440 pt-BR AS Ásia UZ Uzbequistão 0
77 1522867 pt-BR AS Ásia KZ Cazaquistão 0
78 1527747 pt-BR AS Ásia KG Quirguistão 0
79 1546748 pt-BR AN Antártica TF Territórios Franceses do Sul 0
80 1547314 pt-BR AN Antártica HM Ilhas Heard e McDonald 0
81 1547376 pt-BR AS Ásia CC Ilhas Cocos (Keeling) 0
82 1559582 pt-BR OC Oceania PW Palau 0
83 1562822 pt-BR AS Ásia VN Vietnã 0
84 1605651 pt-BR AS Ásia TH Tailândia 0
85 1643084 pt-BR AS Ásia ID Indonésia 0
86 1655842 pt-BR AS Ásia LA República Popular Democrática do Laos 0
87 1668284 pt-BR AS Ásia TW Taiwan 0
88 1694008 pt-BR AS Ásia PH Filipinas 0
89 1733045 pt-BR AS Ásia MY Malásia 0
90 1814991 pt-BR AS Ásia CN China 0
91 1819730 pt-BR AS Ásia HK Hong Kong 0
92 1820814 pt-BR AS Ásia BN Brunei 0
93 1821275 pt-BR AS Ásia MO Macau 0
94 1831722 pt-BR AS Ásia KH Camboja 0
95 1835841 pt-BR AS Ásia KR Coreia do Sul 0
96 1861060 pt-BR AS Ásia JP Japão 0
97 1873107 pt-BR AS Ásia KP Coreia do Norte 0
98 1880251 pt-BR AS Ásia SG Singapura 0
99 1899402 pt-BR OC Oceania CK Ilhas Cook 0
100 1966436 pt-BR OC Oceania TL Timor-Leste 0
101 2017370 pt-BR EU Europa RU Rússia 0
102 2029969 pt-BR AS Ásia MN Mongólia 0
103 2077456 pt-BR OC Oceania AU Austrália 0
104 2078138 pt-BR OC Oceania CX Ilha Christmas 0
105 2080185 pt-BR OC Oceania MH Ilhas Marshall 0
106 2081918 pt-BR OC Oceania FM Micronésia 0
107 2088628 pt-BR OC Oceania PG Papua-Nova Guiné 0
108 2103350 pt-BR OC Oceania SB Ilhas Salomão 0
109 2110297 pt-BR OC Oceania TV Tuvalu 0
110 2110425 pt-BR OC Oceania NR Nauru 0
111 2134431 pt-BR OC Oceania VU Vanuatu 0
112 2139685 pt-BR OC Oceania NC Nova Caledônia 0
113 2155115 pt-BR OC Oceania NF Ilha Norfolk 0
114 2186224 pt-BR OC Oceania NZ Nova Zelândia 0
115 2205218 pt-BR OC Oceania FJ Fiji 0
116 2215636 pt-BR AF África LY Líbia 0
117 2233387 pt-BR AF África CM Camarões 0
118 2245662 pt-BR AF África SN Senegal 0
119 2260494 pt-BR AF África CG Congo 0
120 2264397 pt-BR EU Europa PT Portugal 1
121 2275384 pt-BR AF África LR Libéria 0
122 2287781 pt-BR AF África CI Côte d’Ivoire 0
123 2300660 pt-BR AF África GH Gana 0
124 2309096 pt-BR AF África GQ Guiné Equatorial 0
125 2328926 pt-BR AF África NG Nigéria 0
126 2361809 pt-BR AF África BF Burquina Faso 0
127 2363686 pt-BR AF África TG Togo 0
128 2372248 pt-BR AF África GW Guiné-Bissau 0
129 2378080 pt-BR AF África MR Mauritânia 0
130 2395170 pt-BR AF África BJ Benin 0
131 2400553 pt-BR AF África GA Gabão 0
132 2403846 pt-BR AF África SL Serra Leoa 0
133 2410758 pt-BR AF África ST São Tomé e Príncipe 0
134 2411586 pt-BR EU Europa GI Gibraltar 0
135 2413451 pt-BR AF África GM Gâmbia 0
136 2420477 pt-BR AF África GN Guiné 0
137 2434508 pt-BR AF África TD Chade 0
138 2440476 pt-BR AF África NE Níger 0
139 2453866 pt-BR AF África ML Mali 0
140 2461445 pt-BR AF África EH Saara Ocidental 0
141 2464461 pt-BR AF África TN Tunísia 0
142 2510769 pt-BR EU Europa ES Espanha 1
143 2542007 pt-BR AF África MA Marrocos 0
144 2562770 pt-BR EU Europa MT Malta 1
145 2589581 pt-BR AF África DZ Argélia 0
146 2622320 pt-BR EU Europa FO Ilhas Faroé 0
147 2623032 pt-BR EU Europa DK Dinamarca 1
148 2629691 pt-BR EU Europa IS Islândia 0
149 2635167 pt-BR EU Europa GB Reino Unido 0
150 2658434 pt-BR EU Europa CH Suíça 0
151 2661886 pt-BR EU Europa SE Suécia 1
152 2750405 pt-BR EU Europa NL Holanda 1
153 2782113 pt-BR EU Europa AT Áustria 1
154 2802361 pt-BR EU Europa BE Bélgica 1
155 2921044 pt-BR EU Europa DE Alemanha 1
156 2960313 pt-BR EU Europa LU Luxemburgo 1
157 2963597 pt-BR EU Europa IE Irlanda 1
158 2993457 pt-BR EU Europa MC Mónaco 0
159 3017382 pt-BR EU Europa FR França 1
160 3041565 pt-BR EU Europa AD Andorra 0
161 3042058 pt-BR EU Europa LI Liechtenstein 0
162 3042142 pt-BR EU Europa JE Jersey 0
163 3042225 pt-BR EU Europa IM Ilha de Man 0
164 3042362 pt-BR EU Europa GG Guernsey 0
165 3057568 pt-BR EU Europa SK Eslováquia 1
166 3077311 pt-BR EU Europa CZ Chéquia 1
167 3144096 pt-BR EU Europa NO Noruega 0
168 3164670 pt-BR EU Europa VA Vaticano 0
169 3168068 pt-BR EU Europa SM San Marino 0
170 3175395 pt-BR EU Europa IT Itália 1
171 3190538 pt-BR EU Europa SI Eslovênia 1
172 3194884 pt-BR EU Europa ME Montenegro 0
173 3202326 pt-BR EU Europa HR Croácia 1
174 3277605 pt-BR EU Europa BA Bósnia e Herzegovina 0
175 3351879 pt-BR AF África AO Angola 0
176 3355338 pt-BR AF África NA Namíbia 0
177 3370751 pt-BR AF África SH Santa Helena 0
178 3371123 pt-BR AN Antártica BV Ilha Bouvet 0
179 3374084 pt-BR NA América do Norte BB Barbados 0
180 3374766 pt-BR AF África CV Cabo Verde 0
181 3378535 pt-BR SA América do Sul GY Guiana 0
182 3381670 pt-BR SA América do Sul GF Guiana Francesa 1
183 3382998 pt-BR SA América do Sul SR Suriname 0
184 3424932 pt-BR NA América do Norte PM São Pedro e Miquelão 0
185 3425505 pt-BR NA América do Norte GL Groenlândia 0
186 3437598 pt-BR SA América do Sul PY Paraguai 0
187 3439705 pt-BR SA América do Sul UY Uruguai 0
188 3469034 pt-BR SA América do Sul BR Brasil 0
189 3474414 pt-BR SA América do Sul FK Ilhas Malvinas 0
190 3474415 pt-BR AN Antártica GS Ilhas Geórgia do Sul e Sandwich do Sul 0
191 3489940 pt-BR NA América do Norte JM Jamaica 0
192 3508796 pt-BR NA América do Norte DO República Dominicana 0
193 3562981 pt-BR NA América do Norte CU Cuba 0
194 3570311 pt-BR NA América do Norte MQ Martinica 1
195 3572887 pt-BR NA América do Norte BS Bahamas 0
196 3573345 pt-BR NA América do Norte BM Bermudas 0
197 3573511 pt-BR NA América do Norte AI Anguilla 0
198 3573591 pt-BR NA América do Norte TT Trinidad e Tobago 0
199 3575174 pt-BR NA América do Norte KN São Cristóvão e Névis 0
200 3575830 pt-BR NA América do Norte DM Dominica 0
201 3576396 pt-BR NA América do Norte AG Antígua e Barbuda 0
202 3576468 pt-BR NA América do Norte LC Santa Lúcia 0
203 3576916 pt-BR NA América do Norte TC Ilhas Turcas e Caicos 0
204 3577279 pt-BR NA América do Norte AW Aruba 0
205 3577718 pt-BR NA América do Norte VG Ilhas Virgens Britânicas 0
206 3577815 pt-BR NA América do Norte VC São Vicente e Granadinas 0
207 3578097 pt-BR NA América do Norte MS Montserrat 0
208 3578421 pt-BR NA América do Norte MF São Martinho 1
209 3578476 pt-BR NA América do Norte BL São Bartolomeu 0
210 3579143 pt-BR NA América do Norte GP Guadalupe 1
211 3580239 pt-BR NA América do Norte GD Granada 0
212 3580718 pt-BR NA América do Norte KY Ilhas Caiman 0
213 3582678 pt-BR NA América do Norte BZ Belize 0
214 3585968 pt-BR NA América do Norte SV El Salvador 0
215 3595528 pt-BR NA América do Norte GT Guatemala 0
216 3608932 pt-BR NA América do Norte HN Honduras 0
217 3617476 pt-BR NA América do Norte NI Nicarágua 0
218 3624060 pt-BR NA América do Norte CR Costa Rica 0
219 3625428 pt-BR SA América do Sul VE Venezuela 0
220 3658394 pt-BR SA América do Sul EC Equador 0
221 3686110 pt-BR SA América do Sul CO Colômbia 0
222 3703430 pt-BR NA América do Norte PA Panamá 0
223 3723988 pt-BR NA América do Norte HT Haiti 0
224 3865483 pt-BR SA América do Sul AR Argentina 0
225 3895114 pt-BR SA América do Sul CL Chile 0
226 3923057 pt-BR SA América do Sul BO Bolívia 0
227 3932488 pt-BR SA América do Sul PE Peru 0
228 3996063 pt-BR NA América do Norte MX México 0
229 4030656 pt-BR OC Oceania PF Polinésia Francesa 0
230 4030699 pt-BR OC Oceania PN Ilhas Pitcairn 0
231 4030945 pt-BR OC Oceania KI Quiribati 0
232 4031074 pt-BR OC Oceania TK Tokelau 0
233 4032283 pt-BR OC Oceania TO Tonga 0
234 4034749 pt-BR OC Oceania WF Wallis e Futuna 0
235 4034894 pt-BR OC Oceania WS Samoa 0
236 4036232 pt-BR OC Oceania NU Niue 0
237 4041468 pt-BR OC Oceania MP Ilhas Marianas do Norte 0
238 4043988 pt-BR OC Oceania GU Guam 0
239 4566966 pt-BR NA América do Norte PR Porto Rico 0
240 4796775 pt-BR NA América do Norte VI Ilhas Virgens Americanas 0
241 5854968 pt-BR OC Oceania UM Ilhas Menores Distantes dos EUA 0
242 5880801 pt-BR OC Oceania AS Samoa Americana 0
243 6251999 pt-BR NA América do Norte CA Canadá 0
244 6252001 pt-BR NA América do Norte US EUA 0
245 6254930 pt-BR AS Ásia PS Palestina 0
246 6255147 pt-BR AS Ásia 0
247 6255148 pt-BR EU Europa 0
248 6290252 pt-BR EU Europa RS Sérvia 0
249 6697173 pt-BR AN Antártica AQ Antártida 0
250 7609695 pt-BR NA América do Norte SX São Martinho 0
251 7626836 pt-BR NA América do Norte CW Curaçao 0
252 7626844 pt-BR NA América do Norte BQ Bonaire 0
253 7909807 pt-BR AF África SS República do Sudão do Sul 0

@ -0,0 +1,253 @@
geoname_id,locale_code,continent_code,continent_name,country_iso_code,country_name,is_in_european_union
49518,ru,AF,Африка,RW,Руанда,0
51537,ru,AF,Африка,SO,Сомали,0
69543,ru,AS,Азия,YE,Йемен,0
99237,ru,AS,Азия,IQ,Ирак,0
102358,ru,AS,Азия,SA,"Саудовская Аравия",0
130758,ru,AS,Азия,IR,Иран,0
146669,ru,EU,Европа,CY,Кипр,1
149590,ru,AF,Африка,TZ,Танзания,0
163843,ru,AS,Азия,SY,Сирия,0
174982,ru,AS,Азия,AM,Армения,0
192950,ru,AF,Африка,KE,Кения,0
203312,ru,AF,Африка,CD,Заир,0
223816,ru,AF,Африка,DJ,Джибути,0
226074,ru,AF,Африка,UG,Уганда,0
239880,ru,AF,Африка,CF,"Центрально-Африканская Республика",0
241170,ru,AF,Африка,SC,"Сейшельские о-ва",0
248816,ru,AS,Азия,JO,Иордания,0
272103,ru,AS,Азия,LB,Ливан,0
285570,ru,AS,Азия,KW,Кувейт,0
286963,ru,AS,Азия,OM,Оман,0
289688,ru,AS,Азия,QA,Катар,0
290291,ru,AS,Азия,BH,Бахрейн,0
290557,ru,AS,Азия,AE,ОАЭ,0
294640,ru,AS,Азия,IL,Израиль,0
298795,ru,AS,Азия,TR,Турция,0
337996,ru,AF,Африка,ET,Эфиопия,0
338010,ru,AF,Африка,ER,Эритрея,0
357994,ru,AF,Африка,EG,Египет,0
366755,ru,AF,Африка,SD,Судан,0
390903,ru,EU,Европа,GR,Греция,1
433561,ru,AF,Африка,BI,Бурунди,0
453733,ru,EU,Европа,EE,Эстония,1
458258,ru,EU,Европа,LV,Латвия,1
587116,ru,AS,Азия,AZ,Азербайджан,0
597427,ru,EU,Европа,LT,Литва,1
607072,ru,EU,Европа,SJ,"Шпицберген и Ян-Майен",0
614540,ru,AS,Азия,GE,Грузия,0
617790,ru,EU,Европа,MD,Молдова,0
630336,ru,EU,Европа,BY,Беларусь,0
660013,ru,EU,Европа,FI,Финляндия,1
661882,ru,EU,Европа,AX,Аланды,1
690791,ru,EU,Европа,UA,Украина,0
718075,ru,EU,Европа,MK,"Северная Македония",0
719819,ru,EU,Европа,HU,Венгрия,1
732800,ru,EU,Европа,BG,Болгария,1
783754,ru,EU,Европа,AL,Албания,0
798544,ru,EU,Европа,PL,Польша,1
798549,ru,EU,Европа,RO,Румыния,1
831053,ru,EU,Европа,XK,Косово,0
878675,ru,AF,Африка,ZW,Зимбабве,0
895949,ru,AF,Африка,ZM,Замбия,0
921929,ru,AF,Африка,KM,"Коморские о-ва",0
927384,ru,AF,Африка,MW,Малави,0
932692,ru,AF,Африка,LS,Лесото,0
933860,ru,AF,Африка,BW,Ботсвана,0
934292,ru,AF,Африка,MU,Маврикий,0
934841,ru,AF,Африка,SZ,Эсватини,0
935317,ru,AF,Африка,RE,Реюньон,1
953987,ru,AF,Африка,ZA,ЮАР,0
1024031,ru,AF,Африка,YT,Майотта,1
1036973,ru,AF,Африка,MZ,Мозамбик,0
1062947,ru,AF,Африка,MG,Мадагаскар,0
1149361,ru,AS,Азия,AF,Афганистан,0
1168579,ru,AS,Азия,PK,Пакистан,0
1210997,ru,AS,Азия,BD,Бангладеш,0
1218197,ru,AS,Азия,TM,Туркменистан,0
1220409,ru,AS,Азия,TJ,Таджикистан,0
1227603,ru,AS,Азия,LK,Шри-Ланка,0
1252634,ru,AS,Азия,BT,Бутан,0
1269750,ru,AS,Азия,IN,Индия,0
1282028,ru,AS,Азия,MV,Мальдивы,0
1282588,ru,AS,Азия,IO,"Британская территория в Индийском океане",0
1282988,ru,AS,Азия,NP,Непал,0
1327865,ru,AS,Азия,MM,"Мьянма (Бирма)",0
1512440,ru,AS,Азия,UZ,Узбекистан,0
1522867,ru,AS,Азия,KZ,Казахстан,0
1527747,ru,AS,Азия,KG,Кыргызстан,0
1546748,ru,AN,Антарктика,TF,"Французские Южные территории",0
1547314,ru,AN,Антарктика,HM,"о-ва Херд и Макдональд",0
1547376,ru,AS,Азия,CC,"Кокосовые о-ва",0
1559582,ru,OC,Океания,PW,Палау,0
1562822,ru,AS,Азия,VN,Вьетнам,0
1605651,ru,AS,Азия,TH,Таиланд,0
1643084,ru,AS,Азия,ID,Индонезия,0
1655842,ru,AS,Азия,LA,Лаос,0
1668284,ru,AS,Азия,TW,Тайвань,0
1694008,ru,AS,Азия,PH,Филиппины,0
1733045,ru,AS,Азия,MY,Малайзия,0
1814991,ru,AS,Азия,CN,Китай,0
1819730,ru,AS,Азия,HK,Гонконг,0
1820814,ru,AS,Азия,BN,Бруней-Даруссалам,0
1821275,ru,AS,Азия,MO,Макао,0
1831722,ru,AS,Азия,KH,Камбоджа,0
1835841,ru,AS,Азия,KR,"Республика Корея",0
1861060,ru,AS,Азия,JP,Япония,0
1873107,ru,AS,Азия,KP,КНДР,0
1880251,ru,AS,Азия,SG,Сингапур,0
1899402,ru,OC,Океания,CK,"Острова Кука",0
1966436,ru,OC,Океания,TL,Тимор-Лесте,0
2017370,ru,EU,Европа,RU,Россия,0
2029969,ru,AS,Азия,MN,Монголия,0
2077456,ru,OC,Океания,AU,Австралия,0
2078138,ru,OC,Океания,CX,"о-в Рождества",0
2080185,ru,OC,Океания,MH,"Маршалловы Острова",0
2081918,ru,OC,Океания,FM,"Федеративные Штаты Микронезии",0
2088628,ru,OC,Океания,PG,"Папуа Новая Гвинея",0
2103350,ru,OC,Океания,SB,"Соломоновы Острова",0
2110297,ru,OC,Океания,TV,Тувалу,0
2110425,ru,OC,Океания,NR,Науру,0
2134431,ru,OC,Океания,VU,Вануату,0
2139685,ru,OC,Океания,NC,"Новая Каледония",0
2155115,ru,OC,Океания,NF,"о-в Норфолк",0
2186224,ru,OC,Океания,NZ,"Новая Зеландия",0
2205218,ru,OC,Океания,FJ,Фиджи,0
2215636,ru,AF,Африка,LY,Ливия,0
2233387,ru,AF,Африка,CM,Камерун,0
2245662,ru,AF,Африка,SN,Сенегал,0
2260494,ru,AF,Африка,CG,"Республика Конго",0
2264397,ru,EU,Европа,PT,Португалия,1
2275384,ru,AF,Африка,LR,Либерия,0
2287781,ru,AF,Африка,CI,Кот-д’Ивуар,0
2300660,ru,AF,Африка,GH,Гана,0
2309096,ru,AF,Африка,GQ,"Экваториальная Гвинея",0
2328926,ru,AF,Африка,NG,Нигерия,0
2361809,ru,AF,Африка,BF,Буркина-Фасо,0
2363686,ru,AF,Африка,TG,Того,0
2372248,ru,AF,Африка,GW,Гвинея-Бисау,0
2378080,ru,AF,Африка,MR,Мавритания,0
2395170,ru,AF,Африка,BJ,Бенин,0
2400553,ru,AF,Африка,GA,Габон,0
2403846,ru,AF,Африка,SL,Сьерра-Леоне,0
2410758,ru,AF,Африка,ST,"Сан-Томе и Принсипи",0
2411586,ru,EU,Европа,GI,Гибралтар,0
2413451,ru,AF,Африка,GM,Гамбия,0
2420477,ru,AF,Африка,GN,Гвинея,0
2434508,ru,AF,Африка,TD,Чад,0
2440476,ru,AF,Африка,NE,Нигер,0
2453866,ru,AF,Африка,ML,Мали,0
2461445,ru,AF,Африка,EH,"Западная Сахара",0
2464461,ru,AF,Африка,TN,Тунис,0
2510769,ru,EU,Европа,ES,Испания,1
2542007,ru,AF,Африка,MA,Марокко,0
2562770,ru,EU,Европа,MT,Мальта,1
2589581,ru,AF,Африка,DZ,Алжир,0
2622320,ru,EU,Европа,FO,"Фарерские о-ва",0
2623032,ru,EU,Европа,DK,Дания,1
2629691,ru,EU,Европа,IS,Исландия,0
2635167,ru,EU,Европа,GB,Британия,0
2658434,ru,EU,Европа,CH,Швейцария,0
2661886,ru,EU,Европа,SE,Швеция,1
2750405,ru,EU,Европа,NL,Нидерланды,1
2782113,ru,EU,Европа,AT,Австрия,1
2802361,ru,EU,Европа,BE,Бельгия,1
2921044,ru,EU,Европа,DE,ФРГ,1
2960313,ru,EU,Европа,LU,Люксембург,1
2963597,ru,EU,Европа,IE,Ирландия,1
2993457,ru,EU,Европа,MC,Монако,0
3017382,ru,EU,Европа,FR,Франция,1
3041565,ru,EU,Европа,AD,Андорра,0
3042058,ru,EU,Европа,LI,Лихтенштейн,0
3042142,ru,EU,Европа,JE,Джерси,0
3042225,ru,EU,Европа,IM,"о-в Мэн",0
3042362,ru,EU,Европа,GG,Гернси,0
3057568,ru,EU,Европа,SK,Словакия,1
3077311,ru,EU,Европа,CZ,Чехия,1
3144096,ru,EU,Европа,NO,Норвегия,0
3164670,ru,EU,Европа,VA,Ватикан,0
3168068,ru,EU,Европа,SM,Сан-Марино,0
3175395,ru,EU,Европа,IT,Италия,1
3190538,ru,EU,Европа,SI,Словения,1
3194884,ru,EU,Европа,ME,Черногория,0
3202326,ru,EU,Европа,HR,Хорватия,1
3277605,ru,EU,Европа,BA,"Босния и Герцеговина",0
3351879,ru,AF,Африка,AO,Ангола,0
3355338,ru,AF,Африка,NA,Намибия,0
3370751,ru,AF,Африка,SH,"о-в Св. Елены",0
3371123,ru,AN,Антарктика,BV,"о-в Буве",0
3374084,ru,NA,"Северная Америка",BB,Барбадос,0
3374766,ru,AF,Африка,CV,Кабо-Верде,0
3378535,ru,SA,"Южная Америка",GY,Гайана,0
3381670,ru,SA,"Южная Америка",GF,"Французская Гвиана",1
3382998,ru,SA,"Южная Америка",SR,Суринам,0
3424932,ru,NA,"Северная Америка",PM,"Сен-Пьер и Микелон",0
3425505,ru,NA,"Северная Америка",GL,Гренландия,0
3437598,ru,SA,"Южная Америка",PY,Парагвай,0
3439705,ru,SA,"Южная Америка",UY,Уругвай,0
3469034,ru,SA,"Южная Америка",BR,Бразилия,0
3474414,ru,SA,"Южная Америка",FK,"Фолклендские о-ва",0
3474415,ru,AN,Антарктика,GS,"Южная Георгия и Южные Сандвичевы о-ва",0
3489940,ru,NA,"Северная Америка",JM,Ямайка,0
3508796,ru,NA,"Северная Америка",DO,"Доминиканская Республика",0
3562981,ru,NA,"Северная Америка",CU,Куба,0
3570311,ru,NA,"Северная Америка",MQ,Мартиника,1
3572887,ru,NA,"Северная Америка",BS,Багамы,0
3573345,ru,NA,"Северная Америка",BM,"Бермудские о-ва",0
3573511,ru,NA,"Северная Америка",AI,Ангилья,0
3573591,ru,NA,"Северная Америка",TT,"Тринидад и Тобаго",0
3575174,ru,NA,"Северная Америка",KN,"Сент-Китс и Невис",0
3575830,ru,NA,"Северная Америка",DM,Доминика,0
3576396,ru,NA,"Северная Америка",AG,"Антигуа и Барбуда",0
3576468,ru,NA,"Северная Америка",LC,Сент-Люсия,0
3576916,ru,NA,"Северная Америка",TC,"о-ва Тёркс и Кайкос",0
3577279,ru,NA,"Северная Америка",AW,Аруба,0
3577718,ru,NA,"Северная Америка",VG,"Виргинские о-ва (Великобритания)",0
3577815,ru,NA,"Северная Америка",VC,"Сент-Винсент и Гренадины",0
3578097,ru,NA,"Северная Америка",MS,Монтсеррат,0
3578421,ru,NA,"Северная Америка",MF,Сен-Мартен,1
3578476,ru,NA,"Северная Америка",BL,"Остров Святого Бартоломея",0
3579143,ru,NA,"Северная Америка",GP,Гваделупа,1
3580239,ru,NA,"Северная Америка",GD,Гренада,0
3580718,ru,NA,"Северная Америка",KY,"Каймановы Острова",0
3582678,ru,NA,"Северная Америка",BZ,Белиз,0
3585968,ru,NA,"Северная Америка",SV,Сальвадор,0
3595528,ru,NA,"Северная Америка",GT,Гватемала,0
3608932,ru,NA,"Северная Америка",HN,Гондурас,0
3617476,ru,NA,"Северная Америка",NI,Никарагуа,0
3624060,ru,NA,"Северная Америка",CR,Коста-Рика,0
3625428,ru,SA,"Южная Америка",VE,Венесуэла,0
3658394,ru,SA,"Южная Америка",EC,Эквадор,0
3686110,ru,SA,"Южная Америка",CO,Колумбия,0
3703430,ru,NA,"Северная Америка",PA,Панама,0
3723988,ru,NA,"Северная Америка",HT,Гаити,0
3865483,ru,SA,"Южная Америка",AR,Аргентина,0
3895114,ru,SA,"Южная Америка",CL,Чили,0
3923057,ru,SA,"Южная Америка",BO,Боливия,0
3932488,ru,SA,"Южная Америка",PE,Перу,0
3996063,ru,NA,"Северная Америка",MX,Мексика,0
4030656,ru,OC,Океания,PF,"Французская Полинезия",0
4030699,ru,OC,Океания,PN,"о-ва Питкэрн",0
4030945,ru,OC,Океания,KI,Кирибати,0
4031074,ru,OC,Океания,TK,Токелау,0
4032283,ru,OC,Океания,TO,Тонга,0
4034749,ru,OC,Океания,WF,"Уоллис и Футуна",0
4034894,ru,OC,Океания,WS,Самоа,0
4036232,ru,OC,Океания,NU,Ниуэ,0
4041468,ru,OC,Океания,MP,"Северные Марианские о-ва",0
4043988,ru,OC,Океания,GU,Гуам,0
4566966,ru,NA,"Северная Америка",PR,Пуэрто-Рико,0
4796775,ru,NA,"Северная Америка",VI,"Виргинские о-ва (США)",0
5854968,ru,OC,Океания,UM,"Внешние малые о-ва (США)",0
5880801,ru,OC,Океания,AS,"Американское Самоа",0
6251999,ru,NA,"Северная Америка",CA,Канада,0
6252001,ru,NA,"Северная Америка",US,США,0
6254930,ru,AS,Азия,PS,Палестина,0
6255147,ru,AS,Азия,,,0
6255148,ru,EU,Европа,,,0
6290252,ru,EU,Европа,RS,Сербия,0
6697173,ru,AN,Антарктика,AQ,Антарктида,0
7609695,ru,NA,"Северная Америка",SX,Синт-Мартен,0
7626836,ru,NA,"Северная Америка",CW,Кюрасао,0
7626844,ru,NA,"Северная Америка",BQ,"Бонайре, Синт-Эстатиус и Саба",0
7909807,ru,AF,Африка,SS,"Южный Судан",0
1 geoname_id locale_code continent_code continent_name country_iso_code country_name is_in_european_union
2 49518 ru AF Африка RW Руанда 0
3 51537 ru AF Африка SO Сомали 0
4 69543 ru AS Азия YE Йемен 0
5 99237 ru AS Азия IQ Ирак 0
6 102358 ru AS Азия SA Саудовская Аравия 0
7 130758 ru AS Азия IR Иран 0
8 146669 ru EU Европа CY Кипр 1
9 149590 ru AF Африка TZ Танзания 0
10 163843 ru AS Азия SY Сирия 0
11 174982 ru AS Азия AM Армения 0
12 192950 ru AF Африка KE Кения 0
13 203312 ru AF Африка CD Заир 0
14 223816 ru AF Африка DJ Джибути 0
15 226074 ru AF Африка UG Уганда 0
16 239880 ru AF Африка CF Центрально-Африканская Республика 0
17 241170 ru AF Африка SC Сейшельские о-ва 0
18 248816 ru AS Азия JO Иордания 0
19 272103 ru AS Азия LB Ливан 0
20 285570 ru AS Азия KW Кувейт 0
21 286963 ru AS Азия OM Оман 0
22 289688 ru AS Азия QA Катар 0
23 290291 ru AS Азия BH Бахрейн 0
24 290557 ru AS Азия AE ОАЭ 0
25 294640 ru AS Азия IL Израиль 0
26 298795 ru AS Азия TR Турция 0
27 337996 ru AF Африка ET Эфиопия 0
28 338010 ru AF Африка ER Эритрея 0
29 357994 ru AF Африка EG Египет 0
30 366755 ru AF Африка SD Судан 0
31 390903 ru EU Европа GR Греция 1
32 433561 ru AF Африка BI Бурунди 0
33 453733 ru EU Европа EE Эстония 1
34 458258 ru EU Европа LV Латвия 1
35 587116 ru AS Азия AZ Азербайджан 0
36 597427 ru EU Европа LT Литва 1
37 607072 ru EU Европа SJ Шпицберген и Ян-Майен 0
38 614540 ru AS Азия GE Грузия 0
39 617790 ru EU Европа MD Молдова 0
40 630336 ru EU Европа BY Беларусь 0
41 660013 ru EU Европа FI Финляндия 1
42 661882 ru EU Европа AX Аланды 1
43 690791 ru EU Европа UA Украина 0
44 718075 ru EU Европа MK Северная Македония 0
45 719819 ru EU Европа HU Венгрия 1
46 732800 ru EU Европа BG Болгария 1
47 783754 ru EU Европа AL Албания 0
48 798544 ru EU Европа PL Польша 1
49 798549 ru EU Европа RO Румыния 1
50 831053 ru EU Европа XK Косово 0
51 878675 ru AF Африка ZW Зимбабве 0
52 895949 ru AF Африка ZM Замбия 0
53 921929 ru AF Африка KM Коморские о-ва 0
54 927384 ru AF Африка MW Малави 0
55 932692 ru AF Африка LS Лесото 0
56 933860 ru AF Африка BW Ботсвана 0
57 934292 ru AF Африка MU Маврикий 0
58 934841 ru AF Африка SZ Эсватини 0
59 935317 ru AF Африка RE Реюньон 1
60 953987 ru AF Африка ZA ЮАР 0
61 1024031 ru AF Африка YT Майотта 1
62 1036973 ru AF Африка MZ Мозамбик 0
63 1062947 ru AF Африка MG Мадагаскар 0
64 1149361 ru AS Азия AF Афганистан 0
65 1168579 ru AS Азия PK Пакистан 0
66 1210997 ru AS Азия BD Бангладеш 0
67 1218197 ru AS Азия TM Туркменистан 0
68 1220409 ru AS Азия TJ Таджикистан 0
69 1227603 ru AS Азия LK Шри-Ланка 0
70 1252634 ru AS Азия BT Бутан 0
71 1269750 ru AS Азия IN Индия 0
72 1282028 ru AS Азия MV Мальдивы 0
73 1282588 ru AS Азия IO Британская территория в Индийском океане 0
74 1282988 ru AS Азия NP Непал 0
75 1327865 ru AS Азия MM Мьянма (Бирма) 0
76 1512440 ru AS Азия UZ Узбекистан 0
77 1522867 ru AS Азия KZ Казахстан 0
78 1527747 ru AS Азия KG Кыргызстан 0
79 1546748 ru AN Антарктика TF Французские Южные территории 0
80 1547314 ru AN Антарктика HM о-ва Херд и Макдональд 0
81 1547376 ru AS Азия CC Кокосовые о-ва 0
82 1559582 ru OC Океания PW Палау 0
83 1562822 ru AS Азия VN Вьетнам 0
84 1605651 ru AS Азия TH Таиланд 0
85 1643084 ru AS Азия ID Индонезия 0
86 1655842 ru AS Азия LA Лаос 0
87 1668284 ru AS Азия TW Тайвань 0
88 1694008 ru AS Азия PH Филиппины 0
89 1733045 ru AS Азия MY Малайзия 0
90 1814991 ru AS Азия CN Китай 0
91 1819730 ru AS Азия HK Гонконг 0
92 1820814 ru AS Азия BN Бруней-Даруссалам 0
93 1821275 ru AS Азия MO Макао 0
94 1831722 ru AS Азия KH Камбоджа 0
95 1835841 ru AS Азия KR Республика Корея 0
96 1861060 ru AS Азия JP Япония 0
97 1873107 ru AS Азия KP КНДР 0
98 1880251 ru AS Азия SG Сингапур 0
99 1899402 ru OC Океания CK Острова Кука 0
100 1966436 ru OC Океания TL Тимор-Лесте 0
101 2017370 ru EU Европа RU Россия 0
102 2029969 ru AS Азия MN Монголия 0
103 2077456 ru OC Океания AU Австралия 0
104 2078138 ru OC Океания CX о-в Рождества 0
105 2080185 ru OC Океания MH Маршалловы Острова 0
106 2081918 ru OC Океания FM Федеративные Штаты Микронезии 0
107 2088628 ru OC Океания PG Папуа – Новая Гвинея 0
108 2103350 ru OC Океания SB Соломоновы Острова 0
109 2110297 ru OC Океания TV Тувалу 0
110 2110425 ru OC Океания NR Науру 0
111 2134431 ru OC Океания VU Вануату 0
112 2139685 ru OC Океания NC Новая Каледония 0
113 2155115 ru OC Океания NF о-в Норфолк 0
114 2186224 ru OC Океания NZ Новая Зеландия 0
115 2205218 ru OC Океания FJ Фиджи 0
116 2215636 ru AF Африка LY Ливия 0
117 2233387 ru AF Африка CM Камерун 0
118 2245662 ru AF Африка SN Сенегал 0
119 2260494 ru AF Африка CG Республика Конго 0
120 2264397 ru EU Европа PT Португалия 1
121 2275384 ru AF Африка LR Либерия 0
122 2287781 ru AF Африка CI Кот-д’Ивуар 0
123 2300660 ru AF Африка GH Гана 0
124 2309096 ru AF Африка GQ Экваториальная Гвинея 0
125 2328926 ru AF Африка NG Нигерия 0
126 2361809 ru AF Африка BF Буркина-Фасо 0
127 2363686 ru AF Африка TG Того 0
128 2372248 ru AF Африка GW Гвинея-Бисау 0
129 2378080 ru AF Африка MR Мавритания 0
130 2395170 ru AF Африка BJ Бенин 0
131 2400553 ru AF Африка GA Габон 0
132 2403846 ru AF Африка SL Сьерра-Леоне 0
133 2410758 ru AF Африка ST Сан-Томе и Принсипи 0
134 2411586 ru EU Европа GI Гибралтар 0
135 2413451 ru AF Африка GM Гамбия 0
136 2420477 ru AF Африка GN Гвинея 0
137 2434508 ru AF Африка TD Чад 0
138 2440476 ru AF Африка NE Нигер 0
139 2453866 ru AF Африка ML Мали 0
140 2461445 ru AF Африка EH Западная Сахара 0
141 2464461 ru AF Африка TN Тунис 0
142 2510769 ru EU Европа ES Испания 1
143 2542007 ru AF Африка MA Марокко 0
144 2562770 ru EU Европа MT Мальта 1
145 2589581 ru AF Африка DZ Алжир 0
146 2622320 ru EU Европа FO Фарерские о-ва 0
147 2623032 ru EU Европа DK Дания 1
148 2629691 ru EU Европа IS Исландия 0
149 2635167 ru EU Европа GB Британия 0
150 2658434 ru EU Европа CH Швейцария 0
151 2661886 ru EU Европа SE Швеция 1
152 2750405 ru EU Европа NL Нидерланды 1
153 2782113 ru EU Европа AT Австрия 1
154 2802361 ru EU Европа BE Бельгия 1
155 2921044 ru EU Европа DE ФРГ 1
156 2960313 ru EU Европа LU Люксембург 1
157 2963597 ru EU Европа IE Ирландия 1
158 2993457 ru EU Европа MC Монако 0
159 3017382 ru EU Европа FR Франция 1
160 3041565 ru EU Европа AD Андорра 0
161 3042058 ru EU Европа LI Лихтенштейн 0
162 3042142 ru EU Европа JE Джерси 0
163 3042225 ru EU Европа IM о-в Мэн 0
164 3042362 ru EU Европа GG Гернси 0
165 3057568 ru EU Европа SK Словакия 1
166 3077311 ru EU Европа CZ Чехия 1
167 3144096 ru EU Европа NO Норвегия 0
168 3164670 ru EU Европа VA Ватикан 0
169 3168068 ru EU Европа SM Сан-Марино 0
170 3175395 ru EU Европа IT Италия 1
171 3190538 ru EU Европа SI Словения 1
172 3194884 ru EU Европа ME Черногория 0
173 3202326 ru EU Европа HR Хорватия 1
174 3277605 ru EU Европа BA Босния и Герцеговина 0
175 3351879 ru AF Африка AO Ангола 0
176 3355338 ru AF Африка NA Намибия 0
177 3370751 ru AF Африка SH о-в Св. Елены 0
178 3371123 ru AN Антарктика BV о-в Буве 0
179 3374084 ru NA Северная Америка BB Барбадос 0
180 3374766 ru AF Африка CV Кабо-Верде 0
181 3378535 ru SA Южная Америка GY Гайана 0
182 3381670 ru SA Южная Америка GF Французская Гвиана 1
183 3382998 ru SA Южная Америка SR Суринам 0
184 3424932 ru NA Северная Америка PM Сен-Пьер и Микелон 0
185 3425505 ru NA Северная Америка GL Гренландия 0
186 3437598 ru SA Южная Америка PY Парагвай 0
187 3439705 ru SA Южная Америка UY Уругвай 0
188 3469034 ru SA Южная Америка BR Бразилия 0
189 3474414 ru SA Южная Америка FK Фолклендские о-ва 0
190 3474415 ru AN Антарктика GS Южная Георгия и Южные Сандвичевы о-ва 0
191 3489940 ru NA Северная Америка JM Ямайка 0
192 3508796 ru NA Северная Америка DO Доминиканская Республика 0
193 3562981 ru NA Северная Америка CU Куба 0
194 3570311 ru NA Северная Америка MQ Мартиника 1
195 3572887 ru NA Северная Америка BS Багамы 0
196 3573345 ru NA Северная Америка BM Бермудские о-ва 0
197 3573511 ru NA Северная Америка AI Ангилья 0
198 3573591 ru NA Северная Америка TT Тринидад и Тобаго 0
199 3575174 ru NA Северная Америка KN Сент-Китс и Невис 0
200 3575830 ru NA Северная Америка DM Доминика 0
201 3576396 ru NA Северная Америка AG Антигуа и Барбуда 0
202 3576468 ru NA Северная Америка LC Сент-Люсия 0
203 3576916 ru NA Северная Америка TC о-ва Тёркс и Кайкос 0
204 3577279 ru NA Северная Америка AW Аруба 0
205 3577718 ru NA Северная Америка VG Виргинские о-ва (Великобритания) 0
206 3577815 ru NA Северная Америка VC Сент-Винсент и Гренадины 0
207 3578097 ru NA Северная Америка MS Монтсеррат 0
208 3578421 ru NA Северная Америка MF Сен-Мартен 1
209 3578476 ru NA Северная Америка BL Остров Святого Бартоломея 0
210 3579143 ru NA Северная Америка GP Гваделупа 1
211 3580239 ru NA Северная Америка GD Гренада 0
212 3580718 ru NA Северная Америка KY Каймановы Острова 0
213 3582678 ru NA Северная Америка BZ Белиз 0
214 3585968 ru NA Северная Америка SV Сальвадор 0
215 3595528 ru NA Северная Америка GT Гватемала 0
216 3608932 ru NA Северная Америка HN Гондурас 0
217 3617476 ru NA Северная Америка NI Никарагуа 0
218 3624060 ru NA Северная Америка CR Коста-Рика 0
219 3625428 ru SA Южная Америка VE Венесуэла 0
220 3658394 ru SA Южная Америка EC Эквадор 0
221 3686110 ru SA Южная Америка CO Колумбия 0
222 3703430 ru NA Северная Америка PA Панама 0
223 3723988 ru NA Северная Америка HT Гаити 0
224 3865483 ru SA Южная Америка AR Аргентина 0
225 3895114 ru SA Южная Америка CL Чили 0
226 3923057 ru SA Южная Америка BO Боливия 0
227 3932488 ru SA Южная Америка PE Перу 0
228 3996063 ru NA Северная Америка MX Мексика 0
229 4030656 ru OC Океания PF Французская Полинезия 0
230 4030699 ru OC Океания PN о-ва Питкэрн 0
231 4030945 ru OC Океания KI Кирибати 0
232 4031074 ru OC Океания TK Токелау 0
233 4032283 ru OC Океания TO Тонга 0
234 4034749 ru OC Океания WF Уоллис и Футуна 0
235 4034894 ru OC Океания WS Самоа 0
236 4036232 ru OC Океания NU Ниуэ 0
237 4041468 ru OC Океания MP Северные Марианские о-ва 0
238 4043988 ru OC Океания GU Гуам 0
239 4566966 ru NA Северная Америка PR Пуэрто-Рико 0
240 4796775 ru NA Северная Америка VI Виргинские о-ва (США) 0
241 5854968 ru OC Океания UM Внешние малые о-ва (США) 0
242 5880801 ru OC Океания AS Американское Самоа 0
243 6251999 ru NA Северная Америка CA Канада 0
244 6252001 ru NA Северная Америка US США 0
245 6254930 ru AS Азия PS Палестина 0
246 6255147 ru AS Азия 0
247 6255148 ru EU Европа 0
248 6290252 ru EU Европа RS Сербия 0
249 6697173 ru AN Антарктика AQ Антарктида 0
250 7609695 ru NA Северная Америка SX Синт-Мартен 0
251 7626836 ru NA Северная Америка CW Кюрасао 0
252 7626844 ru NA Северная Америка BQ Бонайре, Синт-Эстатиус и Саба 0
253 7909807 ru AF Африка SS Южный Судан 0

@ -0,0 +1,253 @@
geoname_id,locale_code,continent_code,continent_name,country_iso_code,country_name,is_in_european_union
49518,zh-CN,AF,非洲,RW,卢旺达,0
51537,zh-CN,AF,非洲,SO,索马里,0
69543,zh-CN,AS,亚洲,YE,也门,0
99237,zh-CN,AS,亚洲,IQ,伊拉克,0
102358,zh-CN,AS,亚洲,SA,沙特阿拉伯,0
130758,zh-CN,AS,亚洲,IR,伊朗,0
146669,zh-CN,EU,欧洲,CY,塞浦路斯,1
149590,zh-CN,AF,非洲,TZ,坦桑尼亚,0
163843,zh-CN,AS,亚洲,SY,叙利亚,0
174982,zh-CN,AS,亚洲,AM,亚美尼亚,0
192950,zh-CN,AF,非洲,KE,肯尼亚,0
203312,zh-CN,AF,非洲,CD,扎伊尔,0
223816,zh-CN,AF,非洲,DJ,吉布提,0
226074,zh-CN,AF,非洲,UG,乌干达,0
239880,zh-CN,AF,非洲,CF,中非,0
241170,zh-CN,AF,非洲,SC,塞舌尔,0
248816,zh-CN,AS,亚洲,JO,约旦,0
272103,zh-CN,AS,亚洲,LB,黎巴嫩,0
285570,zh-CN,AS,亚洲,KW,科威特,0
286963,zh-CN,AS,亚洲,OM,阿曼,0
289688,zh-CN,AS,亚洲,QA,卡塔尔,0
290291,zh-CN,AS,亚洲,BH,巴林,0
290557,zh-CN,AS,亚洲,AE,阿联酋,0
294640,zh-CN,AS,亚洲,IL,以色列,0
298795,zh-CN,AS,亚洲,TR,土耳其,0
337996,zh-CN,AF,非洲,ET,埃塞俄比亚,0
338010,zh-CN,AF,非洲,ER,厄立特里亚,0
357994,zh-CN,AF,非洲,EG,埃及,0
366755,zh-CN,AF,非洲,SD,苏丹,0
390903,zh-CN,EU,欧洲,GR,希腊,1
433561,zh-CN,AF,非洲,BI,布隆迪,0
453733,zh-CN,EU,欧洲,EE,爱沙尼亚,1
458258,zh-CN,EU,欧洲,LV,拉脱维亚,1
587116,zh-CN,AS,亚洲,AZ,阿塞拜疆,0
597427,zh-CN,EU,欧洲,LT,立陶宛,1
607072,zh-CN,EU,欧洲,SJ,斯瓦尔巴岛和扬马延岛,0
614540,zh-CN,AS,亚洲,GE,格鲁吉亚,0
617790,zh-CN,EU,欧洲,MD,摩尔多瓦,0
630336,zh-CN,EU,欧洲,BY,白俄罗斯,0
660013,zh-CN,EU,欧洲,FI,芬兰,1
661882,zh-CN,EU,欧洲,AX,奥兰群岛,1
690791,zh-CN,EU,欧洲,UA,乌克兰,0
718075,zh-CN,EU,欧洲,MK,前南马其顿,0
719819,zh-CN,EU,欧洲,HU,匈牙利,1
732800,zh-CN,EU,欧洲,BG,保加利亚,1
783754,zh-CN,EU,欧洲,AL,阿尔巴尼亚,0
798544,zh-CN,EU,欧洲,PL,波兰,1
798549,zh-CN,EU,欧洲,RO,罗马尼亚,1
831053,zh-CN,EU,欧洲,XK,科索沃,0
878675,zh-CN,AF,非洲,ZW,津巴布韦,0
895949,zh-CN,AF,非洲,ZM,赞比亚,0
921929,zh-CN,AF,非洲,KM,科摩罗,0
927384,zh-CN,AF,非洲,MW,马拉维,0
932692,zh-CN,AF,非洲,LS,莱索托,0
933860,zh-CN,AF,非洲,BW,博茨瓦纳,0
934292,zh-CN,AF,非洲,MU,毛里求斯,0
934841,zh-CN,AF,非洲,SZ,斯威士兰,0
935317,zh-CN,AF,非洲,RE,留尼汪,1
953987,zh-CN,AF,非洲,ZA,南非,0
1024031,zh-CN,AF,非洲,YT,马约特,1
1036973,zh-CN,AF,非洲,MZ,莫桑比克,0
1062947,zh-CN,AF,非洲,MG,马达加斯加,0
1149361,zh-CN,AS,亚洲,AF,阿富汗,0
1168579,zh-CN,AS,亚洲,PK,巴基斯坦,0
1210997,zh-CN,AS,亚洲,BD,孟加拉国,0
1218197,zh-CN,AS,亚洲,TM,土库曼斯坦,0
1220409,zh-CN,AS,亚洲,TJ,塔吉克斯坦,0
1227603,zh-CN,AS,亚洲,LK,斯里兰卡,0
1252634,zh-CN,AS,亚洲,BT,不丹,0
1269750,zh-CN,AS,亚洲,IN,印度,0
1282028,zh-CN,AS,亚洲,MV,马尔代夫,0
1282588,zh-CN,AS,亚洲,IO,英属印度洋领地,0
1282988,zh-CN,AS,亚洲,NP,尼泊尔,0
1327865,zh-CN,AS,亚洲,MM,缅甸,0
1512440,zh-CN,AS,亚洲,UZ,乌兹别克斯坦,0
1522867,zh-CN,AS,亚洲,KZ,哈萨克斯坦,0
1527747,zh-CN,AS,亚洲,KG,吉尔吉斯斯坦,0
1546748,zh-CN,AN,南极洲,TF,法属南部领地,0
1547314,zh-CN,AN,南极洲,HM,赫德岛和麦克唐纳岛,0
1547376,zh-CN,AS,亚洲,CC,科科斯(基林)群岛,0
1559582,zh-CN,OC,大洋洲,PW,帕劳,0
1562822,zh-CN,AS,亚洲,VN,越南,0
1605651,zh-CN,AS,亚洲,TH,泰国,0
1643084,zh-CN,AS,亚洲,ID,印度尼西亚,0
1655842,zh-CN,AS,亚洲,LA,老挝,0
1668284,zh-CN,AS,亚洲,TW,台湾,0
1694008,zh-CN,AS,亚洲,PH,菲律宾,0
1733045,zh-CN,AS,亚洲,MY,马来西亚,0
1814991,zh-CN,AS,亚洲,CN,中国,0
1819730,zh-CN,AS,亚洲,HK,香港,0
1820814,zh-CN,AS,亚洲,BN,文莱,0
1821275,zh-CN,AS,亚洲,MO,澳门,0
1831722,zh-CN,AS,亚洲,KH,柬埔寨,0
1835841,zh-CN,AS,亚洲,KR,韩国,0
1861060,zh-CN,AS,亚洲,JP,日本,0
1873107,zh-CN,AS,亚洲,KP,朝鲜,0
1880251,zh-CN,AS,亚洲,SG,新加坡,0
1899402,zh-CN,OC,大洋洲,CK,库克群岛,0
1966436,zh-CN,OC,大洋洲,TL,东帝汶,0
2017370,zh-CN,EU,欧洲,RU,俄罗斯联邦,0
2029969,zh-CN,AS,亚洲,MN,蒙古,0
2077456,zh-CN,OC,大洋洲,AU,澳大利亚,0
2078138,zh-CN,OC,大洋洲,CX,圣诞岛,0
2080185,zh-CN,OC,大洋洲,MH,马绍尔群岛,0
2081918,zh-CN,OC,大洋洲,FM,密克罗尼西亚联邦,0
2088628,zh-CN,OC,大洋洲,PG,巴布亚新几内亚,0
2103350,zh-CN,OC,大洋洲,SB,所罗门群岛,0
2110297,zh-CN,OC,大洋洲,TV,图瓦卢,0
2110425,zh-CN,OC,大洋洲,NR,瑙鲁,0
2134431,zh-CN,OC,大洋洲,VU,瓦努阿图,0
2139685,zh-CN,OC,大洋洲,NC,新喀里多尼亚,0
2155115,zh-CN,OC,大洋洲,NF,诺福克岛,0
2186224,zh-CN,OC,大洋洲,NZ,新西兰,0
2205218,zh-CN,OC,大洋洲,FJ,斐济,0
2215636,zh-CN,AF,非洲,LY,利比亚,0
2233387,zh-CN,AF,非洲,CM,喀麦隆,0
2245662,zh-CN,AF,非洲,SN,塞内加尔,0
2260494,zh-CN,AF,非洲,CG,刚果共和国,0
2264397,zh-CN,EU,欧洲,PT,葡萄牙,1
2275384,zh-CN,AF,非洲,LR,利比里亚,0
2287781,zh-CN,AF,非洲,CI,象牙海岸,0
2300660,zh-CN,AF,非洲,GH,加纳,0
2309096,zh-CN,AF,非洲,GQ,赤道几内亚,0
2328926,zh-CN,AF,非洲,NG,尼日利亚,0
2361809,zh-CN,AF,非洲,BF,布基纳法索,0
2363686,zh-CN,AF,非洲,TG,多哥,0
2372248,zh-CN,AF,非洲,GW,几内亚比绍,0
2378080,zh-CN,AF,非洲,MR,毛利塔尼亚,0
2395170,zh-CN,AF,非洲,BJ,贝宁,0
2400553,zh-CN,AF,非洲,GA,加蓬,0
2403846,zh-CN,AF,非洲,SL,塞拉利昂,0
2410758,zh-CN,AF,非洲,ST,圣多美和普林西比,0
2411586,zh-CN,EU,欧洲,GI,直布罗陀,0
2413451,zh-CN,AF,非洲,GM,冈比亚,0
2420477,zh-CN,AF,非洲,GN,几内亚,0
2434508,zh-CN,AF,非洲,TD,乍得,0
2440476,zh-CN,AF,非洲,NE,尼日尔,0
2453866,zh-CN,AF,非洲,ML,马里,0
2461445,zh-CN,AF,非洲,EH,西撒哈拉,0
2464461,zh-CN,AF,非洲,TN,突尼斯,0
2510769,zh-CN,EU,欧洲,ES,西班牙,1
2542007,zh-CN,AF,非洲,MA,摩洛哥,0
2562770,zh-CN,EU,欧洲,MT,马耳他,1
2589581,zh-CN,AF,非洲,DZ,阿尔及利亚,0
2622320,zh-CN,EU,欧洲,FO,法罗群岛,0
2623032,zh-CN,EU,欧洲,DK,丹麦,1
2629691,zh-CN,EU,欧洲,IS,冰岛,0
2635167,zh-CN,EU,欧洲,GB,英国,0
2658434,zh-CN,EU,欧洲,CH,瑞士,0
2661886,zh-CN,EU,欧洲,SE,瑞典,1
2750405,zh-CN,EU,欧洲,NL,荷兰,1
2782113,zh-CN,EU,欧洲,AT,奥地利,1
2802361,zh-CN,EU,欧洲,BE,比利时,1
2921044,zh-CN,EU,欧洲,DE,德国,1
2960313,zh-CN,EU,欧洲,LU,卢森堡,1
2963597,zh-CN,EU,欧洲,IE,爱尔兰,1
2993457,zh-CN,EU,欧洲,MC,摩纳哥,0
3017382,zh-CN,EU,欧洲,FR,法国,1
3041565,zh-CN,EU,欧洲,AD,安道尔,0
3042058,zh-CN,EU,欧洲,LI,列支敦士登,0
3042142,zh-CN,EU,欧洲,JE,泽西岛,0
3042225,zh-CN,EU,欧洲,IM,英国属地曼岛,0
3042362,zh-CN,EU,欧洲,GG,根西岛,0
3057568,zh-CN,EU,欧洲,SK,斯洛伐克,1
3077311,zh-CN,EU,欧洲,CZ,捷克,1
3144096,zh-CN,EU,欧洲,NO,挪威,0
3164670,zh-CN,EU,欧洲,VA,梵蒂冈,0
3168068,zh-CN,EU,欧洲,SM,圣马力诺,0
3175395,zh-CN,EU,欧洲,IT,意大利,1
3190538,zh-CN,EU,欧洲,SI,斯洛文尼亚,1
3194884,zh-CN,EU,欧洲,ME,黑山,0
3202326,zh-CN,EU,欧洲,HR,克罗地亚,1
3277605,zh-CN,EU,欧洲,BA,波黑,0
3351879,zh-CN,AF,非洲,AO,安哥拉,0
3355338,zh-CN,AF,非洲,NA,纳米比亚,0
3370751,zh-CN,AF,非洲,SH,圣赫勒拿,0
3371123,zh-CN,AN,南极洲,BV,布维岛,0
3374084,zh-CN,NA,北美洲,BB,巴巴多斯,0
3374766,zh-CN,AF,非洲,CV,佛得角,0
3378535,zh-CN,SA,南美洲,GY,圭亚那,0
3381670,zh-CN,SA,南美洲,GF,法属圭亚那,1
3382998,zh-CN,SA,南美洲,SR,苏里南,0
3424932,zh-CN,NA,北美洲,PM,圣皮埃尔和密克隆群岛,0
3425505,zh-CN,NA,北美洲,GL,格陵兰,0
3437598,zh-CN,SA,南美洲,PY,巴拉圭,0
3439705,zh-CN,SA,南美洲,UY,乌拉圭,0
3469034,zh-CN,SA,南美洲,BR,巴西,0
3474414,zh-CN,SA,南美洲,FK,福克兰群岛(马尔维纳斯),0
3474415,zh-CN,AN,南极洲,GS,南乔治亚岛和南桑德韦奇岛,0
3489940,zh-CN,NA,北美洲,JM,牙买加,0
3508796,zh-CN,NA,北美洲,DO,多米尼加,0
3562981,zh-CN,NA,北美洲,CU,古巴,0
3570311,zh-CN,NA,北美洲,MQ,马提尼克,1
3572887,zh-CN,NA,北美洲,BS,巴哈马,0
3573345,zh-CN,NA,北美洲,BM,百慕大,0
3573511,zh-CN,NA,北美洲,AI,安圭拉,0
3573591,zh-CN,NA,北美洲,TT,特立尼达和多巴哥,0
3575174,zh-CN,NA,北美洲,KN,圣基茨和尼维斯,0
3575830,zh-CN,NA,北美洲,DM,多米尼克,0
3576396,zh-CN,NA,北美洲,AG,安提瓜和巴布达,0
3576468,zh-CN,NA,北美洲,LC,圣卢西亚,0
3576916,zh-CN,NA,北美洲,TC,特克斯和凯科斯群岛,0
3577279,zh-CN,NA,北美洲,AW,阿鲁巴,0
3577718,zh-CN,NA,北美洲,VG,英属维尔京群岛,0
3577815,zh-CN,NA,北美洲,VC,圣文森特和格林纳丁斯,0
3578097,zh-CN,NA,北美洲,MS,蒙特塞拉特,0
3578421,zh-CN,NA,北美洲,MF,法属圣马丁,1
3578476,zh-CN,NA,北美洲,BL,圣巴泰勒米,0
3579143,zh-CN,NA,北美洲,GP,瓜德罗普,1
3580239,zh-CN,NA,北美洲,GD,格林纳达,0
3580718,zh-CN,NA,北美洲,KY,开曼群岛,0
3582678,zh-CN,NA,北美洲,BZ,伯利兹,0
3585968,zh-CN,NA,北美洲,SV,萨尔瓦多,0
3595528,zh-CN,NA,北美洲,GT,危地马拉,0
3608932,zh-CN,NA,北美洲,HN,洪都拉斯,0
3617476,zh-CN,NA,北美洲,NI,尼加拉瓜,0
3624060,zh-CN,NA,北美洲,CR,哥斯达黎加,0
3625428,zh-CN,SA,南美洲,VE,委内瑞拉,0
3658394,zh-CN,SA,南美洲,EC,厄瓜多尔,0
3686110,zh-CN,SA,南美洲,CO,哥伦比亚,0
3703430,zh-CN,NA,北美洲,PA,巴拿马,0
3723988,zh-CN,NA,北美洲,HT,海地,0
3865483,zh-CN,SA,南美洲,AR,阿根廷,0
3895114,zh-CN,SA,南美洲,CL,智利,0
3923057,zh-CN,SA,南美洲,BO,玻利维亚,0
3932488,zh-CN,SA,南美洲,PE,秘鲁,0
3996063,zh-CN,NA,北美洲,MX,墨西哥,0
4030656,zh-CN,OC,大洋洲,PF,法属波利尼西亚,0
4030699,zh-CN,OC,大洋洲,PN,皮特凯恩,0
4030945,zh-CN,OC,大洋洲,KI,基里巴斯,0
4031074,zh-CN,OC,大洋洲,TK,托克劳,0
4032283,zh-CN,OC,大洋洲,TO,汤加,0
4034749,zh-CN,OC,大洋洲,WF,瓦利斯和富图纳,0
4034894,zh-CN,OC,大洋洲,WS,萨摩亚,0
4036232,zh-CN,OC,大洋洲,NU,纽埃,0
4041468,zh-CN,OC,大洋洲,MP,北马里亚纳,0
4043988,zh-CN,OC,大洋洲,GU,关岛,0
4566966,zh-CN,NA,北美洲,PR,波多黎各,0
4796775,zh-CN,NA,北美洲,VI,美属维尔京群岛,0
5854968,zh-CN,OC,大洋洲,UM,美国本土外小岛屿,0
5880801,zh-CN,OC,大洋洲,AS,美属萨摩亚,0
6251999,zh-CN,NA,北美洲,CA,加拿大,0
6252001,zh-CN,NA,北美洲,US,美国,0
6254930,zh-CN,AS,亚洲,PS,巴勒斯坦,0
6255147,zh-CN,AS,亚洲,,,0
6255148,zh-CN,EU,欧洲,,,0
6290252,zh-CN,EU,欧洲,RS,塞尔维亚,0
6697173,zh-CN,AN,南极洲,AQ,南极洲,0
7609695,zh-CN,NA,北美洲,SX,圣马丁岛,0
7626836,zh-CN,NA,北美洲,CW,库拉索,0
7626844,zh-CN,NA,北美洲,BQ,博奈尔岛、圣尤斯达蒂斯和萨巴,0
7909807,zh-CN,AF,非洲,SS,南苏丹,0
1 geoname_id locale_code continent_code continent_name country_iso_code country_name is_in_european_union
2 49518 zh-CN AF 非洲 RW 卢旺达 0
3 51537 zh-CN AF 非洲 SO 索马里 0
4 69543 zh-CN AS 亚洲 YE 也门 0
5 99237 zh-CN AS 亚洲 IQ 伊拉克 0
6 102358 zh-CN AS 亚洲 SA 沙特阿拉伯 0
7 130758 zh-CN AS 亚洲 IR 伊朗 0
8 146669 zh-CN EU 欧洲 CY 塞浦路斯 1
9 149590 zh-CN AF 非洲 TZ 坦桑尼亚 0
10 163843 zh-CN AS 亚洲 SY 叙利亚 0
11 174982 zh-CN AS 亚洲 AM 亚美尼亚 0
12 192950 zh-CN AF 非洲 KE 肯尼亚 0
13 203312 zh-CN AF 非洲 CD 扎伊尔 0
14 223816 zh-CN AF 非洲 DJ 吉布提 0
15 226074 zh-CN AF 非洲 UG 乌干达 0
16 239880 zh-CN AF 非洲 CF 中非 0
17 241170 zh-CN AF 非洲 SC 塞舌尔 0
18 248816 zh-CN AS 亚洲 JO 约旦 0
19 272103 zh-CN AS 亚洲 LB 黎巴嫩 0
20 285570 zh-CN AS 亚洲 KW 科威特 0
21 286963 zh-CN AS 亚洲 OM 阿曼 0
22 289688 zh-CN AS 亚洲 QA 卡塔尔 0
23 290291 zh-CN AS 亚洲 BH 巴林 0
24 290557 zh-CN AS 亚洲 AE 阿联酋 0
25 294640 zh-CN AS 亚洲 IL 以色列 0
26 298795 zh-CN AS 亚洲 TR 土耳其 0
27 337996 zh-CN AF 非洲 ET 埃塞俄比亚 0
28 338010 zh-CN AF 非洲 ER 厄立特里亚 0
29 357994 zh-CN AF 非洲 EG 埃及 0
30 366755 zh-CN AF 非洲 SD 苏丹 0
31 390903 zh-CN EU 欧洲 GR 希腊 1
32 433561 zh-CN AF 非洲 BI 布隆迪 0
33 453733 zh-CN EU 欧洲 EE 爱沙尼亚 1
34 458258 zh-CN EU 欧洲 LV 拉脱维亚 1
35 587116 zh-CN AS 亚洲 AZ 阿塞拜疆 0
36 597427 zh-CN EU 欧洲 LT 立陶宛 1
37 607072 zh-CN EU 欧洲 SJ 斯瓦尔巴岛和扬马延岛 0
38 614540 zh-CN AS 亚洲 GE 格鲁吉亚 0
39 617790 zh-CN EU 欧洲 MD 摩尔多瓦 0
40 630336 zh-CN EU 欧洲 BY 白俄罗斯 0
41 660013 zh-CN EU 欧洲 FI 芬兰 1
42 661882 zh-CN EU 欧洲 AX 奥兰群岛 1
43 690791 zh-CN EU 欧洲 UA 乌克兰 0
44 718075 zh-CN EU 欧洲 MK 前南马其顿 0
45 719819 zh-CN EU 欧洲 HU 匈牙利 1
46 732800 zh-CN EU 欧洲 BG 保加利亚 1
47 783754 zh-CN EU 欧洲 AL 阿尔巴尼亚 0
48 798544 zh-CN EU 欧洲 PL 波兰 1
49 798549 zh-CN EU 欧洲 RO 罗马尼亚 1
50 831053 zh-CN EU 欧洲 XK 科索沃 0
51 878675 zh-CN AF 非洲 ZW 津巴布韦 0
52 895949 zh-CN AF 非洲 ZM 赞比亚 0
53 921929 zh-CN AF 非洲 KM 科摩罗 0
54 927384 zh-CN AF 非洲 MW 马拉维 0
55 932692 zh-CN AF 非洲 LS 莱索托 0
56 933860 zh-CN AF 非洲 BW 博茨瓦纳 0
57 934292 zh-CN AF 非洲 MU 毛里求斯 0
58 934841 zh-CN AF 非洲 SZ 斯威士兰 0
59 935317 zh-CN AF 非洲 RE 留尼汪 1
60 953987 zh-CN AF 非洲 ZA 南非 0
61 1024031 zh-CN AF 非洲 YT 马约特 1
62 1036973 zh-CN AF 非洲 MZ 莫桑比克 0
63 1062947 zh-CN AF 非洲 MG 马达加斯加 0
64 1149361 zh-CN AS 亚洲 AF 阿富汗 0
65 1168579 zh-CN AS 亚洲 PK 巴基斯坦 0
66 1210997 zh-CN AS 亚洲 BD 孟加拉国 0
67 1218197 zh-CN AS 亚洲 TM 土库曼斯坦 0
68 1220409 zh-CN AS 亚洲 TJ 塔吉克斯坦 0
69 1227603 zh-CN AS 亚洲 LK 斯里兰卡 0
70 1252634 zh-CN AS 亚洲 BT 不丹 0
71 1269750 zh-CN AS 亚洲 IN 印度 0
72 1282028 zh-CN AS 亚洲 MV 马尔代夫 0
73 1282588 zh-CN AS 亚洲 IO 英属印度洋领地 0
74 1282988 zh-CN AS 亚洲 NP 尼泊尔 0
75 1327865 zh-CN AS 亚洲 MM 缅甸 0
76 1512440 zh-CN AS 亚洲 UZ 乌兹别克斯坦 0
77 1522867 zh-CN AS 亚洲 KZ 哈萨克斯坦 0
78 1527747 zh-CN AS 亚洲 KG 吉尔吉斯斯坦 0
79 1546748 zh-CN AN 南极洲 TF 法属南部领地 0
80 1547314 zh-CN AN 南极洲 HM 赫德岛和麦克唐纳岛 0
81 1547376 zh-CN AS 亚洲 CC 科科斯(基林)群岛 0
82 1559582 zh-CN OC 大洋洲 PW 帕劳 0
83 1562822 zh-CN AS 亚洲 VN 越南 0
84 1605651 zh-CN AS 亚洲 TH 泰国 0
85 1643084 zh-CN AS 亚洲 ID 印度尼西亚 0
86 1655842 zh-CN AS 亚洲 LA 老挝 0
87 1668284 zh-CN AS 亚洲 TW 台湾 0
88 1694008 zh-CN AS 亚洲 PH 菲律宾 0
89 1733045 zh-CN AS 亚洲 MY 马来西亚 0
90 1814991 zh-CN AS 亚洲 CN 中国 0
91 1819730 zh-CN AS 亚洲 HK 香港 0
92 1820814 zh-CN AS 亚洲 BN 文莱 0
93 1821275 zh-CN AS 亚洲 MO 澳门 0
94 1831722 zh-CN AS 亚洲 KH 柬埔寨 0
95 1835841 zh-CN AS 亚洲 KR 韩国 0
96 1861060 zh-CN AS 亚洲 JP 日本 0
97 1873107 zh-CN AS 亚洲 KP 朝鲜 0
98 1880251 zh-CN AS 亚洲 SG 新加坡 0
99 1899402 zh-CN OC 大洋洲 CK 库克群岛 0
100 1966436 zh-CN OC 大洋洲 TL 东帝汶 0
101 2017370 zh-CN EU 欧洲 RU 俄罗斯联邦 0
102 2029969 zh-CN AS 亚洲 MN 蒙古 0
103 2077456 zh-CN OC 大洋洲 AU 澳大利亚 0
104 2078138 zh-CN OC 大洋洲 CX 圣诞岛 0
105 2080185 zh-CN OC 大洋洲 MH 马绍尔群岛 0
106 2081918 zh-CN OC 大洋洲 FM 密克罗尼西亚联邦 0
107 2088628 zh-CN OC 大洋洲 PG 巴布亚新几内亚 0
108 2103350 zh-CN OC 大洋洲 SB 所罗门群岛 0
109 2110297 zh-CN OC 大洋洲 TV 图瓦卢 0
110 2110425 zh-CN OC 大洋洲 NR 瑙鲁 0
111 2134431 zh-CN OC 大洋洲 VU 瓦努阿图 0
112 2139685 zh-CN OC 大洋洲 NC 新喀里多尼亚 0
113 2155115 zh-CN OC 大洋洲 NF 诺福克岛 0
114 2186224 zh-CN OC 大洋洲 NZ 新西兰 0
115 2205218 zh-CN OC 大洋洲 FJ 斐济 0
116 2215636 zh-CN AF 非洲 LY 利比亚 0
117 2233387 zh-CN AF 非洲 CM 喀麦隆 0
118 2245662 zh-CN AF 非洲 SN 塞内加尔 0
119 2260494 zh-CN AF 非洲 CG 刚果共和国 0
120 2264397 zh-CN EU 欧洲 PT 葡萄牙 1
121 2275384 zh-CN AF 非洲 LR 利比里亚 0
122 2287781 zh-CN AF 非洲 CI 象牙海岸 0
123 2300660 zh-CN AF 非洲 GH 加纳 0
124 2309096 zh-CN AF 非洲 GQ 赤道几内亚 0
125 2328926 zh-CN AF 非洲 NG 尼日利亚 0
126 2361809 zh-CN AF 非洲 BF 布基纳法索 0
127 2363686 zh-CN AF 非洲 TG 多哥 0
128 2372248 zh-CN AF 非洲 GW 几内亚比绍 0
129 2378080 zh-CN AF 非洲 MR 毛利塔尼亚 0
130 2395170 zh-CN AF 非洲 BJ 贝宁 0
131 2400553 zh-CN AF 非洲 GA 加蓬 0
132 2403846 zh-CN AF 非洲 SL 塞拉利昂 0
133 2410758 zh-CN AF 非洲 ST 圣多美和普林西比 0
134 2411586 zh-CN EU 欧洲 GI 直布罗陀 0
135 2413451 zh-CN AF 非洲 GM 冈比亚 0
136 2420477 zh-CN AF 非洲 GN 几内亚 0
137 2434508 zh-CN AF 非洲 TD 乍得 0
138 2440476 zh-CN AF 非洲 NE 尼日尔 0
139 2453866 zh-CN AF 非洲 ML 马里 0
140 2461445 zh-CN AF 非洲 EH 西撒哈拉 0
141 2464461 zh-CN AF 非洲 TN 突尼斯 0
142 2510769 zh-CN EU 欧洲 ES 西班牙 1
143 2542007 zh-CN AF 非洲 MA 摩洛哥 0
144 2562770 zh-CN EU 欧洲 MT 马耳他 1
145 2589581 zh-CN AF 非洲 DZ 阿尔及利亚 0
146 2622320 zh-CN EU 欧洲 FO 法罗群岛 0
147 2623032 zh-CN EU 欧洲 DK 丹麦 1
148 2629691 zh-CN EU 欧洲 IS 冰岛 0
149 2635167 zh-CN EU 欧洲 GB 英国 0
150 2658434 zh-CN EU 欧洲 CH 瑞士 0
151 2661886 zh-CN EU 欧洲 SE 瑞典 1
152 2750405 zh-CN EU 欧洲 NL 荷兰 1
153 2782113 zh-CN EU 欧洲 AT 奥地利 1
154 2802361 zh-CN EU 欧洲 BE 比利时 1
155 2921044 zh-CN EU 欧洲 DE 德国 1
156 2960313 zh-CN EU 欧洲 LU 卢森堡 1
157 2963597 zh-CN EU 欧洲 IE 爱尔兰 1
158 2993457 zh-CN EU 欧洲 MC 摩纳哥 0
159 3017382 zh-CN EU 欧洲 FR 法国 1
160 3041565 zh-CN EU 欧洲 AD 安道尔 0
161 3042058 zh-CN EU 欧洲 LI 列支敦士登 0
162 3042142 zh-CN EU 欧洲 JE 泽西岛 0
163 3042225 zh-CN EU 欧洲 IM 英国属地曼岛 0
164 3042362 zh-CN EU 欧洲 GG 根西岛 0
165 3057568 zh-CN EU 欧洲 SK 斯洛伐克 1
166 3077311 zh-CN EU 欧洲 CZ 捷克 1
167 3144096 zh-CN EU 欧洲 NO 挪威 0
168 3164670 zh-CN EU 欧洲 VA 梵蒂冈 0
169 3168068 zh-CN EU 欧洲 SM 圣马力诺 0
170 3175395 zh-CN EU 欧洲 IT 意大利 1
171 3190538 zh-CN EU 欧洲 SI 斯洛文尼亚 1
172 3194884 zh-CN EU 欧洲 ME 黑山 0
173 3202326 zh-CN EU 欧洲 HR 克罗地亚 1
174 3277605 zh-CN EU 欧洲 BA 波黑 0
175 3351879 zh-CN AF 非洲 AO 安哥拉 0
176 3355338 zh-CN AF 非洲 NA 纳米比亚 0
177 3370751 zh-CN AF 非洲 SH 圣赫勒拿 0
178 3371123 zh-CN AN 南极洲 BV 布维岛 0
179 3374084 zh-CN NA 北美洲 BB 巴巴多斯 0
180 3374766 zh-CN AF 非洲 CV 佛得角 0
181 3378535 zh-CN SA 南美洲 GY 圭亚那 0
182 3381670 zh-CN SA 南美洲 GF 法属圭亚那 1
183 3382998 zh-CN SA 南美洲 SR 苏里南 0
184 3424932 zh-CN NA 北美洲 PM 圣皮埃尔和密克隆群岛 0
185 3425505 zh-CN NA 北美洲 GL 格陵兰 0
186 3437598 zh-CN SA 南美洲 PY 巴拉圭 0
187 3439705 zh-CN SA 南美洲 UY 乌拉圭 0
188 3469034 zh-CN SA 南美洲 BR 巴西 0
189 3474414 zh-CN SA 南美洲 FK 福克兰群岛(马尔维纳斯) 0
190 3474415 zh-CN AN 南极洲 GS 南乔治亚岛和南桑德韦奇岛 0
191 3489940 zh-CN NA 北美洲 JM 牙买加 0
192 3508796 zh-CN NA 北美洲 DO 多米尼加 0
193 3562981 zh-CN NA 北美洲 CU 古巴 0
194 3570311 zh-CN NA 北美洲 MQ 马提尼克 1
195 3572887 zh-CN NA 北美洲 BS 巴哈马 0
196 3573345 zh-CN NA 北美洲 BM 百慕大 0
197 3573511 zh-CN NA 北美洲 AI 安圭拉 0
198 3573591 zh-CN NA 北美洲 TT 特立尼达和多巴哥 0
199 3575174 zh-CN NA 北美洲 KN 圣基茨和尼维斯 0
200 3575830 zh-CN NA 北美洲 DM 多米尼克 0
201 3576396 zh-CN NA 北美洲 AG 安提瓜和巴布达 0
202 3576468 zh-CN NA 北美洲 LC 圣卢西亚 0
203 3576916 zh-CN NA 北美洲 TC 特克斯和凯科斯群岛 0
204 3577279 zh-CN NA 北美洲 AW 阿鲁巴 0
205 3577718 zh-CN NA 北美洲 VG 英属维尔京群岛 0
206 3577815 zh-CN NA 北美洲 VC 圣文森特和格林纳丁斯 0
207 3578097 zh-CN NA 北美洲 MS 蒙特塞拉特 0
208 3578421 zh-CN NA 北美洲 MF 法属圣马丁 1
209 3578476 zh-CN NA 北美洲 BL 圣巴泰勒米 0
210 3579143 zh-CN NA 北美洲 GP 瓜德罗普 1
211 3580239 zh-CN NA 北美洲 GD 格林纳达 0
212 3580718 zh-CN NA 北美洲 KY 开曼群岛 0
213 3582678 zh-CN NA 北美洲 BZ 伯利兹 0
214 3585968 zh-CN NA 北美洲 SV 萨尔瓦多 0
215 3595528 zh-CN NA 北美洲 GT 危地马拉 0
216 3608932 zh-CN NA 北美洲 HN 洪都拉斯 0
217 3617476 zh-CN NA 北美洲 NI 尼加拉瓜 0
218 3624060 zh-CN NA 北美洲 CR 哥斯达黎加 0
219 3625428 zh-CN SA 南美洲 VE 委内瑞拉 0
220 3658394 zh-CN SA 南美洲 EC 厄瓜多尔 0
221 3686110 zh-CN SA 南美洲 CO 哥伦比亚 0
222 3703430 zh-CN NA 北美洲 PA 巴拿马 0
223 3723988 zh-CN NA 北美洲 HT 海地 0
224 3865483 zh-CN SA 南美洲 AR 阿根廷 0
225 3895114 zh-CN SA 南美洲 CL 智利 0
226 3923057 zh-CN SA 南美洲 BO 玻利维亚 0
227 3932488 zh-CN SA 南美洲 PE 秘鲁 0
228 3996063 zh-CN NA 北美洲 MX 墨西哥 0
229 4030656 zh-CN OC 大洋洲 PF 法属波利尼西亚 0
230 4030699 zh-CN OC 大洋洲 PN 皮特凯恩 0
231 4030945 zh-CN OC 大洋洲 KI 基里巴斯 0
232 4031074 zh-CN OC 大洋洲 TK 托克劳 0
233 4032283 zh-CN OC 大洋洲 TO 汤加 0
234 4034749 zh-CN OC 大洋洲 WF 瓦利斯和富图纳 0
235 4034894 zh-CN OC 大洋洲 WS 萨摩亚 0
236 4036232 zh-CN OC 大洋洲 NU 纽埃 0
237 4041468 zh-CN OC 大洋洲 MP 北马里亚纳 0
238 4043988 zh-CN OC 大洋洲 GU 关岛 0
239 4566966 zh-CN NA 北美洲 PR 波多黎各 0
240 4796775 zh-CN NA 北美洲 VI 美属维尔京群岛 0
241 5854968 zh-CN OC 大洋洲 UM 美国本土外小岛屿 0
242 5880801 zh-CN OC 大洋洲 AS 美属萨摩亚 0
243 6251999 zh-CN NA 北美洲 CA 加拿大 0
244 6252001 zh-CN NA 北美洲 US 美国 0
245 6254930 zh-CN AS 亚洲 PS 巴勒斯坦 0
246 6255147 zh-CN AS 亚洲 0
247 6255148 zh-CN EU 欧洲 0
248 6290252 zh-CN EU 欧洲 RS 塞尔维亚 0
249 6697173 zh-CN AN 南极洲 AQ 南极洲 0
250 7609695 zh-CN NA 北美洲 SX 圣马丁岛 0
251 7626836 zh-CN NA 北美洲 CW 库拉索 0
252 7626844 zh-CN NA 北美洲 BQ 博奈尔岛、圣尤斯达蒂斯和萨巴 0
253 7909807 zh-CN AF 非洲 SS 南苏丹 0

@ -169,7 +169,15 @@ public enum PushRegistrationError: Error {
.eraseToAnyPublisher()
}
// Give the original publisher another 10 seconds to complete before we timeout (we
// don't want this to run forever as it could block other jobs)
return originalPublisher
.timeout(
.seconds(10),
scheduler: DispatchQueue.global(qos: .default),
customError: { PushRegistrationError.timeout }
)
.eraseToAnyPublisher()
}
// If we've timed out on a device known to be susceptible to failures, quit trying

@ -29,7 +29,7 @@ public enum SyncPushTokensJob: JobExecutor {
return deferred(job, dependencies) // Don't need to do anything if it's not the main app
}
guard Identity.userCompletedRequiredOnboarding() else {
SNLog("[SyncPushTokensJob] Deferred due to incomplete registration")
Log.info("[SyncPushTokensJob] Deferred due to incomplete registration")
return deferred(job, dependencies)
}
@ -50,7 +50,7 @@ public enum SyncPushTokensJob: JobExecutor {
.upserted(db)
}
SNLog("[SyncPushTokensJob] Deferred due to in progress job")
Log.info("[SyncPushTokensJob] Deferred due to in progress job")
return deferred(updatedJob ?? job, dependencies)
}
@ -75,13 +75,13 @@ public enum SyncPushTokensJob: JobExecutor {
// Unregister from our server
if let existingToken: String = lastRecordedPushToken {
SNLog("[SyncPushTokensJob] Unregister using last recorded push token: \(redact(existingToken))")
Log.info("[SyncPushTokensJob] Unregister using last recorded push token: \(redact(existingToken))")
return PushNotificationAPI.unsubscribe(token: Data(hex: existingToken))
.map { _ in () }
.eraseToAnyPublisher()
}
SNLog("[SyncPushTokensJob] No previous token stored just triggering device unregister")
Log.info("[SyncPushTokensJob] No previous token stored just triggering device unregister")
return Just(())
.setFailureType(to: Error.self)
.eraseToAnyPublisher()
@ -90,8 +90,8 @@ public enum SyncPushTokensJob: JobExecutor {
.sinkUntilComplete(
receiveCompletion: { result in
switch result {
case .finished: SNLog("[SyncPushTokensJob] Unregister Completed")
case .failure: SNLog("[SyncPushTokensJob] Unregister Failed")
case .finished: Log.info("[SyncPushTokensJob] Unregister Completed")
case .failure: Log.error("[SyncPushTokensJob] Unregister Failed")
}
// We want to complete this job regardless of success or failure
@ -105,7 +105,7 @@ public enum SyncPushTokensJob: JobExecutor {
///
/// **Note:** Apple's documentation states that we should re-register for notifications on every launch:
/// https://developer.apple.com/library/archive/documentation/NetworkingInternet/Conceptual/RemoteNotificationsPG/HandlingRemoteNotifications.html#//apple_ref/doc/uid/TP40008194-CH6-SW1
SNLog("[SyncPushTokensJob] Re-registering for remote notifications")
Log.info("[SyncPushTokensJob] Re-registering for remote notifications")
PushRegistrationManager.shared.requestPushTokens()
.flatMap { (pushToken: String, voipToken: String) -> AnyPublisher<(String, String)?, Error> in
Deferred {
@ -115,7 +115,7 @@ public enum SyncPushTokensJob: JobExecutor {
LibSession.removePathsChangedCallback(callbackId: pathsChangedId)
guard !paths.isEmpty else {
SNLog("[SyncPushTokensJob] OS subscription completed, skipping server subscription due to lack of paths")
Log.info("[SyncPushTokensJob] OS subscription completed, skipping server subscription due to lack of paths")
return resolver(Result.success(nil))
}
@ -154,7 +154,7 @@ public enum SyncPushTokensJob: JobExecutor {
dependencies.storage[.lastRecordedPushToken] != pushToken ||
uploadOnlyIfStale == false
else {
SNLog("[SyncPushTokensJob] OS subscription completed, skipping server subscription due to frequency")
Log.info("[SyncPushTokensJob] OS subscription completed, skipping server subscription due to frequency")
return Just(())
.setFailureType(to: Error.self)
.eraseToAnyPublisher()
@ -171,11 +171,11 @@ public enum SyncPushTokensJob: JobExecutor {
receiveCompletion: { result in
switch result {
case .failure(let error):
SNLog("[SyncPushTokensJob] Failed to register due to error: \(error)")
Log.error("[SyncPushTokensJob] Failed to register due to error: \(error)")
case .finished:
Logger.warn("Recording push tokens locally. pushToken: \(redact(pushToken)), voipToken: \(redact(voipToken))")
SNLog("[SyncPushTokensJob] Completed")
Log.debug("Recording push tokens locally. pushToken: \(redact(pushToken)), voipToken: \(redact(voipToken))")
Log.info("[SyncPushTokensJob] Completed")
dependencies.standardUserDefaults[.lastPushNotificationSync] = dependencies.dateNow
dependencies.storage.write(using: dependencies) { db in

@ -1,6 +1,7 @@
// Copyright © 2022 Rangeproof Pty Ltd. All rights reserved.
import UIKit
import Combine
import NVActivityIndicatorView
import SessionMessagingKit
import SessionUIKit
@ -13,8 +14,8 @@ final class PathVC: BaseVC {
private static let rowHeight: CGFloat = (isIPhone5OrSmaller ? 52 : 75)
private var pathUpdateId: UUID?
private var cacheUpdateId: UUID?
private var lastPath: [LibSession.Snode] = []
private var disposables: Set<AnyCancellable> = Set()
// MARK: - Components
@ -56,7 +57,6 @@ final class PathVC: BaseVC {
deinit {
LibSession.removeNetworkChangedCallback(callbackId: pathUpdateId)
IP2Country.removeCacheLoadedCallback(id: cacheUpdateId)
}
override func viewDidLoad() {
@ -127,14 +127,15 @@ final class PathVC: BaseVC {
}
// Register for path country updates
cacheUpdateId = IP2Country.onCacheLoaded { [weak self] in
DispatchQueue.main.async {
IP2Country.cacheLoaded
.receive(on: DispatchQueue.main)
.sink(receiveValue: { [weak self] _ in
switch (self?.lastPath, self?.lastPath.isEmpty == true) {
case (.none, _), (_, true): self?.update(paths: [], force: true)
case (.some(let lastPath), _): self?.update(paths: [lastPath], force: true)
}
}
}
})
.store(in: &disposables)
}
// MARK: - Updating
@ -229,17 +230,12 @@ final class PathVC: BaseVC {
}
private func getPathRow(snode: LibSession.Snode, location: LineView.Location, dotAnimationStartDelay: Double, dotAnimationRepeatInterval: Double, isGuardSnode: Bool) -> UIStackView {
let country: String = (IP2Country.isInitialized.wrappedValue ?
IP2Country.countryNamesCache.wrappedValue[snode.ip].defaulting(to: "Resolving...") :
"Resolving..."
)
return getPathRow(
title: (isGuardSnode ?
"vc_path_guard_node_row_title".localized() :
"vc_path_service_node_row_title".localized()
),
subtitle: country,
subtitle: IP2Country.country(for: snode.ip),
location: location,
dotAnimationStartDelay: dotAnimationStartDelay,
dotAnimationRepeatInterval: dotAnimationRepeatInterval

@ -44,7 +44,7 @@ public final class BackgroundPoller {
}
.defaulting(to: ([], []))
Log.info("[BackgroundPoller] Fetching 1 User, \(groupIds.count) \("group", number: groupIds.count), \(servers.count) \("communit", number: servers.count, singular: "y", plural: "ies").")
Log.info("[BackgroundPoller] Fetching Users: 1, Groups: \(groupIds.count), Communities: \(servers.count).")
Publishers
.MergeMany(
[pollForMessages(using: dependencies)]
@ -89,7 +89,7 @@ public final class BackgroundPoller {
)
.handleEvents(
receiveOutput: { _, _, validMessageCount, _ in
Log.info("[BackgroundPoller] Received \(validMessageCount) valid \("message", number: validMessageCount).")
Log.info("[BackgroundPoller] Received \(validMessageCount) valid message(s).")
}
)
.map { _ in () }
@ -114,7 +114,7 @@ public final class BackgroundPoller {
)
.handleEvents(
receiveOutput: { _, _, validMessageCount, _ in
Log.info("[BackgroundPoller] Received \(validMessageCount) valid \("message", number: validMessageCount) for group: \(groupPublicKey).")
Log.info("[BackgroundPoller] Received \(validMessageCount) valid message(s) for group: \(groupPublicKey).")
}
)
.map { _ in () }

@ -3,52 +3,122 @@
// stringlint:disable
import Foundation
import Combine
import GRDB
import SessionSnodeKit
import SessionUtilitiesKit
public enum IP2Country {
public static var isInitialized: Atomic<Bool> = Atomic(false)
public static var countryNamesCache: Atomic<[String: String]> = Atomic([:])
private static var cacheLoadedCallbacks: Atomic<[UUID: () -> ()]> = Atomic([:])
private static var countryNamesCache: Atomic<[String: String]> = Atomic([:])
private static var pathsChangedCallbackId: Atomic<UUID?> = Atomic(nil)
private static let _cacheLoaded: CurrentValueSubject<Bool, Never> = CurrentValueSubject(false)
public static var cacheLoaded: AnyPublisher<Bool, Never> {
_cacheLoaded.filter { $0 }.eraseToAnyPublisher()
}
private static var currentLocale: String {
let result: String? = Locale.current.identifier
.components(separatedBy: "_")
.first
.map { identifier in
switch identifier {
case "zh-Hans", "zh": return "zh-CN" // Not ideal, but the best we can do
default: return identifier
}
}
return (result ?? "en") // Fallback to English
}
// MARK: - Tables
/// This table has two columns: the "network" column and the "registered_country_geoname_id" column. The network column contains
/// the **lower** bound of an IP range and the "registered_country_geoname_id" column contains the ID of the country corresponding
/// to that range. We look up an IP by finding the first index in the network column where the value is greater than the IP we're looking
/// up (converted to an integer). The IP we're looking up must then be in the range **before** that range.
private static var ipv4Table: [String: [Int]] = {
let url = Bundle.main.url(forResource: "GeoLite2-Country-Blocks-IPv4", withExtension: nil)!
let data = try! Data(contentsOf: url)
return try! NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data) as! [String: [Int]]
}()
private static var countryNamesTable: [String: [String]] = {
let url = Bundle.main.url(forResource: "GeoLite2-Country-Locations-English", withExtension: nil)!
let data = try! Data(contentsOf: url)
return try! NSKeyedUnarchiver.unarchiveTopLevelObjectWithData(data) as! [String: [String]]
}()
// MARK: - Implementation
static func onCacheLoaded(callback: @escaping () -> ()) -> UUID {
let id: UUID = UUID()
cacheLoadedCallbacks.mutate { $0[id] = callback }
return id
/// This struct contains the data from two tables
///
/// The `countryBlocks` has two columns: the "network" column and the "registered_country_geoname_id" column
///
/// The network column contains the **lower** bound of an IP range and the "registered_country_geoname_id" column contains the
/// ID of the country corresponding to that range. We look up an IP by finding the first index in the network column where the value is
/// greater than the IP we're looking up (converted to an integer). The IP we're looking up must then be in the range **before** that range.
///
/// The `countryLocations` has three columns: the "locale_code" column, the "geoname_id" column and the "country_name" column
///
/// These are populated in such a way that you would retrieve in index range in `countryLocationsLocaleCode` for the current locale
/// (or `en` as default), then find the `geonameId` index from `countryLocationsGeonameId` using the same range, and that index
/// should be retrieved from `countryLocationsCountryName` in order to get the country name
struct IP2CountryCache {
var countryBlocksIPInt: [Int] = []
var countryBlocksGeonameId: [String] = []
var countryLocationsLocaleCode: [String] = []
var countryLocationsGeonameId: [String] = []
var countryLocationsCountryName: [String] = []
}
static func removeCacheLoadedCallback(id: UUID?) {
guard let id: UUID = id else { return }
private static var cache: IP2CountryCache = {
guard
let url: URL = Bundle.main.url(forResource: "GeoLite2-Country-Blocks-IPv4", withExtension: nil),
let data: Data = try? Data(contentsOf: url)
else { return IP2CountryCache() }
cacheLoadedCallbacks.mutate { $0.removeValue(forKey: id) }
}
/// Extract the number of IPs
var countryBlockIPCount: Int32 = 0
_ = withUnsafeMutableBytes(of: &countryBlockIPCount) { countBuffer in
data.copyBytes(to: countBuffer, from: ..<MemoryLayout<Int32>.size)
}
/// Move past the IP count
var remainingData: Data = data.advanced(by: MemoryLayout<Int32>.size)
/// Extract the IPs
var countryBlockIpInts: [Int] = [Int](repeating: 0, count: Int(countryBlockIPCount))
remainingData.withUnsafeBytes { buffer in
_ = countryBlockIpInts.withUnsafeMutableBytes { ipBuffer in
memcpy(ipBuffer.baseAddress, buffer.baseAddress, Int(countryBlockIPCount) * MemoryLayout<Int>.size)
}
}
/// Extract arrays from the parts
func consumeStringArray(from targetData: inout Data) -> [String] {
var targetCount: Int32 = 0
_ = withUnsafeMutableBytes(of: &targetCount) { countBuffer in
targetData.copyBytes(to: countBuffer, from: ..<MemoryLayout<Int32>.size)
}
/// Move past the count
targetData = targetData.advanced(by: MemoryLayout<Int32>.size)
guard
targetData.count >= targetCount,
let contentString: String = String(data: Data(targetData[..<targetCount]), encoding: .utf8)
else { return [] }
/// Move past the data and return the result
targetData = targetData.advanced(by: Int(targetCount))
return contentString.components(separatedBy: "\0\0")
}
/// Move past the IP data
remainingData = remainingData.advanced(by: (Int(countryBlockIPCount) * MemoryLayout<Int>.size))
let countryBlocksGeonameIds: [String] = consumeStringArray(from: &remainingData)
let countryLocaleCodes: [String] = consumeStringArray(from: &remainingData)
let countryGeonameIds: [String] = consumeStringArray(from: &remainingData)
let countryNames: [String] = consumeStringArray(from: &remainingData)
return IP2CountryCache(
countryBlocksIPInt: countryBlockIpInts,
countryBlocksGeonameId: countryBlocksGeonameIds,
countryLocationsLocaleCode: countryLocaleCodes,
countryLocationsGeonameId: countryGeonameIds,
countryLocationsCountryName: countryNames
)
}()
// MARK: - Implementation
static func populateCacheIfNeededAsync() {
DispatchQueue.global(qos: .utility).async {
// Ensure the caches get loaded in the background
_ = ipv4Table
_ = countryNamesCache
/// Ensure the lookup tables get loaded in the background
_ = cache
pathsChangedCallbackId.mutate { pathsChangedCallbackId in
guard pathsChangedCallbackId == nil else { return }
@ -71,23 +141,38 @@ public enum IP2Country {
}
}
isInitialized.mutate { $0 = true }
SNLog("Updated onion request path countries.")
self._cacheLoaded.send(true)
Log.info("Updated onion request path countries.")
}
private static func cacheCountry(for ip: String, inCache cache: inout [String: String]) {
guard cache[ip] == nil else { return }
private static func cacheCountry(for ip: String, inCache nameCache: inout [String: String]) {
let currentLocale: String = self.currentLocale // Store local copy for efficiency
let ipAsInt: Int = IPv4.toInt(ip)
guard nameCache["\(ip)-\(currentLocale)"] == nil else { return }
guard
ipAsInt > 0,
let ipv4TableIndex = ipv4Table["network"]?.firstIndex(where: { $0 > ipAsInt }).map({ $0 - 1 }),
let countryID: Int = ipv4Table["registered_country_geoname_id"]?[ipv4TableIndex],
let countryNamesTableIndex = countryNamesTable["geoname_id"]?.firstIndex(of: String(countryID)),
let result: String = countryNamesTable["country_name"]?[countryNamesTableIndex]
let ipAsInt: Int = IPv4.toInt(ip),
let countryBlockGeonameIdIndex: Int = cache.countryBlocksIPInt.firstIndex(where: { $0 > ipAsInt }).map({ $0 - 1 }),
let localeStartIndex: Int = cache.countryLocationsLocaleCode.firstIndex(where: { $0 == currentLocale }),
let countryNameIndex: Int = Array(cache.countryLocationsGeonameId[localeStartIndex...]).firstIndex(where: { geonameId in
geonameId == cache.countryBlocksGeonameId[countryBlockGeonameIdIndex]
}),
(localeStartIndex + countryNameIndex) < cache.countryLocationsCountryName.count
else { return }
cache[ip] = result
let result: String = cache.countryLocationsCountryName[localeStartIndex + countryNameIndex]
nameCache["\(ip)-\(currentLocale)"] = result
}
// MARK: - Functions
public static func country(for ip: String) -> String {
let fallback: String = "Resolving..."
guard _cacheLoaded.value else { return fallback }
//return (countryNamesCache.wrappedValue["\(ip)-\(currentLocale)"] ?? fallback)
let val = (countryNamesCache.wrappedValue["\(ip)-\(currentLocale)"] ?? fallback)
return "\(val) (TEST: \(ip))"
}
}

@ -49,11 +49,11 @@ public enum RetrieveDefaultOpenGroupRoomsJob: JobExecutor {
receiveCompletion: { result in
switch result {
case .finished:
SNLog("[RetrieveDefaultOpenGroupRoomsJob] Successfully retrieved default Community rooms")
Log.info("[RetrieveDefaultOpenGroupRoomsJob] Successfully retrieved default Community rooms")
success(job, false, dependencies)
case .failure(let error):
SNLog("[RetrieveDefaultOpenGroupRoomsJob] Failed to get default Community rooms")
Log.error("[RetrieveDefaultOpenGroupRoomsJob] Failed to get default Community rooms due to error: \(error)")
failure(job, error, false, dependencies)
}
}

@ -157,10 +157,10 @@ public class Poller {
Log.info("Received no new messages in \(pollerName) after \(duration, unit: .s).")
case (_, 0, false):
Log.info("Received \(response.rawMessageCount) new message\(plural: response.rawMessageCount) in \(pollerName) after \(duration, unit: .s), all duplicates - marked the hash we polled with as invalid")
Log.info("Received \(response.rawMessageCount) new message(s) in \(pollerName) after \(duration, unit: .s), all duplicates - marked the hash we polled with as invalid")
default:
Log.info("Received \(response.validMessageCount) new message\(plural: response.validMessageCount) in \(pollerName) after \(duration, unit: .s) (duplicates: \(response.rawMessageCount - response.validMessageCount))")
Log.info("Received \(response.validMessageCount) new message(s) in \(pollerName) after \(duration, unit: .s) (duplicates: \(response.rawMessageCount - response.validMessageCount))")
}
}

@ -86,14 +86,6 @@ public extension String {
}
public extension String.StringInterpolation {
mutating func appendInterpolation(plural value: Int) {
appendInterpolation(value == 1 ? "" : "s") // stringlint:disable
}
mutating func appendInterpolation(_ value: String, number: Int, singular: String = "", plural: String = "s") {
appendInterpolation("\(value)\(number == 1 ? singular : plural)") // stringlint:disable
}
mutating func appendInterpolation(_ value: TimeUnit, unit: TimeUnit.Unit, resolution: Int = 2) {
appendLiteral("\(TimeUnit(value, unit: unit, resolution: resolution))") // stringlint:disable
}

@ -5,13 +5,14 @@
import Foundation
public enum IPv4 {
public static func toInt(_ ip: String) -> Int {
let octets: [Int] = ip.split(separator: ".").map { Int($0)! }
public static func toInt(_ ip: String) -> Int? {
let octets: [Int] = ip.split(separator: ".").compactMap { Int($0) }
guard octets.count > 1 else { return nil }
var result: Int = 0
for i in stride(from: 3, through: 0, by: -1) {
result += octets[ 3 - i ] << (i * 8)
}
return result
return (result > 0 ? result : nil)
}
}

Loading…
Cancel
Save