History of Importing geonames data into Firebird
<p>First cut at schema for geonames table</p>
<p> GEONAMEID BIGINT NOT NULL,<br />
NAME VARCHAR(200) NOT NULL,<br />
ASCIINAME VARCHAR(200),<br />
ALTERNATENAMES BLOB SUB_TYPE 1,<br />
LATITUDE DOUBLE PRECISION,<br />
LONGITUDE DOUBLE PRECISION,<br />
FEATURE_CLASS CHAR(1),<br />
FEATURE_CODE VARCHAR(10),<br />
COUNTRY_CODE CHAR(2),<br />
CC2 VARCHAR(60),<br />
ADMIN1_CODE VARCHAR(20),<br />
ADMIN2_CODE VARCHAR(80),<br />
ADMIN3_CODE VARCHAR(20),<br />
ADMIN4_CODE VARCHAR(20),<br />
POPULATION BIGINT,<br />
ELEVATION INTEGER,<br />
DEM INTEGER,<br />
TIMEZONE VARCHAR(40),<br />
MOD_DATE DATE,<br />
CONSTRAINT PK_GEONAMES PRIMARY KEY (GEONAMEID)</p>
<p>Import via XMLWizard works fine, but need to improve speed when applying updates.</p>
<p> GEONAMEID BIGINT NOT NULL,<br />
NAME VARCHAR(200) NOT NULL,<br />
ASCIINAME VARCHAR(200),<br />
ALTERNATENAMES BLOB SUB_TYPE 1,<br />
LATITUDE DOUBLE PRECISION,<br />
LONGITUDE DOUBLE PRECISION,<br />
FEATURE_CLASS CHAR(1),<br />
FEATURE_CODE VARCHAR(10),<br />
COUNTRY_CODE CHAR(2),<br />
CC2 VARCHAR(60),<br />
ADMIN1_CODE VARCHAR(20),<br />
ADMIN2_CODE VARCHAR(80),<br />
ADMIN3_CODE VARCHAR(20),<br />
ADMIN4_CODE VARCHAR(20),<br />
POPULATION BIGINT,<br />
ELEVATION INTEGER,<br />
DEM INTEGER,<br />
TIMEZONE VARCHAR(40),<br />
MOD_DATE DATE,<br />
CONSTRAINT PK_GEONAMES PRIMARY KEY (GEONAMEID)</p>
<p>Import via XMLWizard works fine, but need to improve speed when applying updates.</p>